From 583efa4364bcc5bb9cf9aa9ceedf40e95f2e69f9 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Fri, 18 Mar 2022 15:24:03 +0000 Subject: [PATCH] Specify which bits exactly we want to transpile --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'],