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