diff --git a/webpack.config.js b/webpack.config.js index a68abb1ed..d207b6c4d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -22,8 +22,8 @@ module.exports = { module: { rules: [ { - test: /\.(js)$/, - exclude: /node_modules/, + test: /\.(js|ts)$/, + include: [/node_modules/, /frontend/], use: ['babel-loader'], }, {