mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(webpack) put commons to cloudcmd.js
This commit is contained in:
parent
6a5b254a75
commit
2ecdc752e4
1 changed files with 4 additions and 0 deletions
|
|
@ -39,6 +39,10 @@ module.exports = {
|
|||
new UglifyJsPlugin({
|
||||
sourceMap: true
|
||||
}),
|
||||
new webpack.optimize.CommonsChunkPlugin({
|
||||
name: 'cloudcmd',
|
||||
filename: 'cloudcmd.js',
|
||||
}),
|
||||
],
|
||||
module: {
|
||||
loaders: [{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue