Files
KaTeX/webpack.analyze.js
ylemkimon f97c5454f8 chore: migrate to Yarn 2 (#2316)
* chore: migrate to Yarn 2

* Update config.yml
2020-08-03 18:24:56 +09:00

14 lines
395 B
JavaScript

// @flow
const {targets, createConfig} = require('./webpack.common');
// $FlowIgnore
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
// dev minify
const katexConfig = createConfig(targets.shift(), false, false);
katexConfig.plugins.push(new BundleAnalyzerPlugin());
module.exports = [
katexConfig,
];