diff --git a/scripts/webpack/webpack.hot.js b/scripts/webpack/webpack.hot.js index 4288699bce1..9d798bb42c6 100644 --- a/scripts/webpack/webpack.hot.js +++ b/scripts/webpack/webpack.hot.js @@ -44,7 +44,7 @@ module.exports = merge(common, { module: { rules: [ { - test: /(?!.*\.test)\.(ts|tsx)$/, + test: /\.tsx?$/, exclude: /node_modules/, use: [ {