Skip to content

Commit

Permalink
🔥 Remove full build with bundled chart.js
Browse files Browse the repository at this point in the history
  • Loading branch information
apertureless committed Nov 6, 2017
1 parent 0b50728 commit b17602d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 34,249 deletions.
92 changes: 0 additions & 92 deletions build/webpack.release.full.js

This file was deleted.

17 changes: 0 additions & 17 deletions build/webpack.release.full.min.js

This file was deleted.

10 changes: 8 additions & 2 deletions build/webpack.release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -71,7 +76,8 @@ module.exports = {
]
},
plugins: [
new webpack.BannerPlugin(banner)
new webpack.BannerPlugin(banner),
new webpack.optimize.ModuleConcatenationPlugin()
]
}

Expand Down
Loading

0 comments on commit b17602d

Please sign in to comment.