diff --git a/webpack.config.js b/webpack.config.js index d207b6c4d..5dd2f67c6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -23,7 +23,10 @@ module.exports = { rules: [ { test: /\.(js|ts)$/, - include: [/node_modules/, /frontend/], + include: [ + path.resolve(__dirname, 'node_modules'), + path.resolve(__dirname, 'app/frontend/controllers'), + ], use: ['babel-loader'], }, {