mirror of
https://github.com/KevinMidboe/vue-chartjs.git
synced 2025-12-08 20:48:45 +00:00
🔥 Remove full build with bundled chart.js
This commit is contained in:
@@ -26,7 +26,12 @@ module.exports = {
|
||||
umdNamedDefine: true
|
||||
},
|
||||
externals: {
|
||||
'chart.js': 'chart.js'
|
||||
'chart.js': {
|
||||
root: 'Chart',
|
||||
commonjs: 'chart.js',
|
||||
commonjs2: 'chart.js',
|
||||
amd: 'chart.js'
|
||||
}
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['.js', '.vue', '.json'],
|
||||
@@ -71,7 +76,8 @@ module.exports = {
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.BannerPlugin(banner)
|
||||
new webpack.BannerPlugin(banner),
|
||||
new webpack.optimize.ModuleConcatenationPlugin()
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user