webpack.analyze.js 380 B

12345678910111213
  1. // @flow
  2. const {targets, createConfig} = require('./webpack.common');
  3. const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
  4. // dev minify
  5. const katexConfig = createConfig(targets.shift(), false, false);
  6. katexConfig.plugins.push(new BundleAnalyzerPlugin());
  7. module.exports = [
  8. katexConfig,
  9. ];