diff --git a/webpack/base.config.js b/webpack/base.config.js index a520738dacc6ff3ea6b5c956cd6b151d76a78bfa..3ca7a35404e479d0032de1a445638aad11cbcfc8 100644 --- a/webpack/base.config.js +++ b/webpack/base.config.js @@ -114,8 +114,18 @@ module.exports = { }, ], }, - {test: /\.js$|\.jsx$/, exclude: [/node_modules/, /\*\/app\/assets\/static\/\*\.js/], use: 'babel-loader'}, - {test: /\.svg$/, use: 'svg-inline-loader'}, + { + test: /\.js$|\.jsx$/, + exclude: [ + /node_modules/, + /\*\/app\/assets\/static\/\*\.js/ + ], + use: 'babel-loader' + }, + { + test: /\.svg$/, + use: 'svg-inline-loader' + }, { test: require.resolve("blueimp-file-upload"), use: "imports?define=>false"