blob: 02610e662111a750434e4baa3a29b673f0f579e1 [file] [log] [blame]
const path = require('path');
const BundleAnalyzerPlugin =
require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const config = require('./config');
module.exports = {
entry: path.resolve(__dirname, 'tmp/tests/area-basic.minimal.js'),
plugins: [new BundleAnalyzerPlugin()],
resolve: {
alias: {
echarts: config.echartsDir,
zrender: config.zrenderDir
}
},
output: {
path: path.resolve(__dirname, 'tmp/bundles/'),
filename: 'area-basic.minimal.js'
}
};