mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 20:48:41 +00:00
Implementing analyze script (#1197)
This commit is contained in:
committed by
Kevin Barabash
parent
20b5a58451
commit
017eb7b91d
13
webpack.analyze.js
Normal file
13
webpack.analyze.js
Normal file
@@ -0,0 +1,13 @@
|
||||
// @flow
|
||||
const { targets, createConfig } = require('./webpack.common');
|
||||
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
|
||||
|
||||
// dev minify
|
||||
const katexConfig = createConfig(targets.shift(), false, false);
|
||||
|
||||
katexConfig.plugins.push(new BundleAnalyzerPlugin());
|
||||
|
||||
module.exports = [
|
||||
katexConfig,
|
||||
];
|
||||
|
Reference in New Issue
Block a user