mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
chore: remove bundle analyzer
This commit is contained in:
parent
8a5807418d
commit
80204b5617
1 changed files with 0 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const staticSiteGenerator = require('static-site-generator-webpack-plugin');
|
const staticSiteGenerator = require('static-site-generator-webpack-plugin');
|
||||||
const webpackNiceLog = require('webpack-nicelog');
|
const webpackNiceLog = require('webpack-nicelog');
|
||||||
const bundleAnalyzer = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
|
||||||
const createBaseConfig = require('./base');
|
const createBaseConfig = require('./base');
|
||||||
|
|
||||||
module.exports = function createProdConfig(props) {
|
module.exports = function createProdConfig(props) {
|
||||||
|
@ -31,8 +30,5 @@ module.exports = function createProdConfig(props) {
|
||||||
// show compilation progress bar and build time
|
// show compilation progress bar and build time
|
||||||
config.plugin('niceLog').use(webpackNiceLog, [{name: 'Production'}]);
|
config.plugin('niceLog').use(webpackNiceLog, [{name: 'Production'}]);
|
||||||
|
|
||||||
// Webpack Bundle Analyzer to check which causes huge bundle size
|
|
||||||
config.plugin('bundleAnalyzer').use(bundleAnalyzer);
|
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue