We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70fe500 commit 26b5a19Copy full SHA for 26b5a19
package.json
@@ -12,7 +12,8 @@
12
"prestart": "npm run tw",
13
"start": "webpack serve --mode development",
14
"build": "webpack --mode production",
15
- "postbuild": "npm run tailwind && cp -R ./public/* ./build"
+ "postbuild": "npm run tw && cp -R ./public/* ./build",
16
+ "analyzer": "webpack-bundle-analyzer ./build/stats.json"
17
},
18
"dependencies": {
19
"@babel/core": "^7.23.9",
webpack.config.js
@@ -36,5 +36,11 @@ module.exports = {
36
compress: true,
37
port: 8080
38
39
- plugins: [new BundleAnalyzerPlugin({ openAnalyzer: false })]
+ plugins: [
40
+ new BundleAnalyzerPlugin({
41
+ analyzerMode: 'disabled',
42
+ generateStatsFile: true,
43
+ openAnalyzer: false
44
+ })
45
+ ]
46
};
0 commit comments