diff --git a/findLoader.js b/findLoader.js index 89bf9a6..b512e74 100644 --- a/findLoader.js +++ b/findLoader.js @@ -11,7 +11,7 @@ module.exports = (webpackConfig, reactAppSrcDir) => { return false; } - if (!loader.test.toString().includes('(js|mjs|jsx)')) { + if (!loader.test.toString().includes('(js|mjs|jsx|ts|tsx)')) { return false; }