diff --git a/packages/af-webpack/src/getConfig.js b/packages/af-webpack/src/getConfig.js index de188bba17f2..c986d0c5b3ee 100644 --- a/packages/af-webpack/src/getConfig.js +++ b/packages/af-webpack/src/getConfig.js @@ -430,7 +430,6 @@ export default function getConfig(opts = {}) { }, { test: /\.(ts|tsx)$/, - include: opts.cwd, exclude: /node_modules/, use: [ ...babelUse,