Browse Source

Specify which bits exactly we want to transpile

pull/392/head
baarkerlounger 3 years ago
parent
commit
583efa4364
  1. 3
      webpack.config.js

3
webpack.config.js

@ -24,7 +24,8 @@ module.exports = {
{ {
test: /\.(js|ts)$/, test: /\.(js|ts)$/,
include: [ 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'), path.resolve(__dirname, 'app/frontend/controllers'),
], ],
use: ['babel-loader'], use: ['babel-loader'],

Loading…
Cancel
Save