diff --git a/debian/patches/0740-use-packaged-modules.patch b/debian/patches/0740-use-packaged-modules.patch index e1a2b0fb5d..69f50cdbe6 100644 --- a/debian/patches/0740-use-packaged-modules.patch +++ b/debian/patches/0740-use-packaged-modules.patch @@ -23,6 +23,15 @@ }, module: { +@@ -171,7 +170,7 @@ + }, + { + test: /\.js$/, +- exclude: path => /node_modules|vendor[\\/]assets/.test(path) && !/\.vue\.js/.test(path), ++ exclude: [ path => /node_modules|vendor[\\/]assets/.test(path) && !/\.vue\.js/.test(path), /\bcore-js\b/,/\bwebpack\/buildin\b/ ], + loader: 'babel-loader', + options: { + cacheDirectory: path.join(CACHE_PATH, 'babel-loader'), @@ -433,19 +432,6 @@ // enable HMR only in webpack-dev-server DEV_SERVER_LIVERELOAD && new webpack.HotModuleReplacementPlugin(),