gentelella/vendors/echarts/webpack.config.js
christianesperar 6a6db2ea23 Put dependecy libraries to bower for easy updating
Update also fix some following problem:
- Switcher now working
- Datatable header fix example is now working
- Add missing starrr ratings
- Some mobile responsiveness on table.html page
2016-04-24 22:26:16 +08:00

15 lines
413 B
JavaScript

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'
}
};