Skip to content

Commit b17602d

Browse files
committed
πŸ”₯ Remove full build with bundled chart.js
1 parent 0b50728 commit b17602d

File tree

5 files changed

+8
-34249
lines changed

5 files changed

+8
-34249
lines changed

β€Žbuild/webpack.release.full.jsβ€Ž

Lines changed: 0 additions & 92 deletions
This file was deleted.

β€Žbuild/webpack.release.full.min.jsβ€Ž

Lines changed: 0 additions & 17 deletions
This file was deleted.

β€Žbuild/webpack.release.jsβ€Ž

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ module.exports = {
2626
umdNamedDefine: true
2727
},
2828
externals: {
29-
'chart.js': 'chart.js'
29+
'chart.js': {
30+
root: 'Chart',
31+
commonjs: 'chart.js',
32+
commonjs2: 'chart.js',
33+
amd: 'chart.js'
34+
}
3035
},
3136
resolve: {
3237
extensions: ['.js', '.vue', '.json'],
@@ -71,7 +76,8 @@ module.exports = {
7176
]
7277
},
7378
plugins: [
74-
new webpack.BannerPlugin(banner)
79+
new webpack.BannerPlugin(banner),
80+
new webpack.optimize.ModuleConcatenationPlugin()
7581
]
7682
}
7783

0 commit comments

Comments
Β (0)