diff --git a/webpack.config.ts b/webpack.config.ts index 60963c54d..5a6bb8831 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -333,7 +333,7 @@ export default (_env: never, args: Configuration): Configuration[] => { splitChunks: { cacheGroups: { vendor: { - test: /\/node_modules\//, + test: /[\\/]node_modules[\\/]/, name: "assets/javascripts/vendor", chunks: "all" }