mirror of https://github.com/ColorlibHQ/gentelella
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
413 B
15 lines
413 B
var PROD = process.argv.indexOf('-p') >= 0;
|
|
|
|
module.exports = {
|
|
entry: {
|
|
'echarts': __dirname + '/index.js',
|
|
'echarts.simple': __dirname + '/index.simple.js',
|
|
'echarts.common': __dirname + '/index.common.js'
|
|
},
|
|
output: {
|
|
libraryTarget: 'umd',
|
|
library: 'echarts',
|
|
path: __dirname + '/dist',
|
|
filename: PROD ? '[name].min.js' : '[name].js'
|
|
}
|
|
}; |