Change bundle limits and build script

This commit is contained in:
Rubikscraft
2022-12-27 16:56:59 +01:00
parent 5a6a366f9d
commit 40bd2349a3
5 changed files with 160 additions and 16 deletions

View File

@@ -1,5 +1,9 @@
import webpack from 'webpack';
// import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
export default {
plugins: [new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en/)],
plugins: [
new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en/),
// new BundleAnalyzerPlugin(),
],
};