use gzip
This commit is contained in:
parent
a65aef1a56
commit
0a0971da1d
4 changed files with 38 additions and 10 deletions
|
@ -2,8 +2,9 @@
|
|||
* 公共配置
|
||||
*/
|
||||
var path = require('path');
|
||||
var webpack = require('webpack');
|
||||
function resolve (dir) {
|
||||
return path.join(__dirname, '..', dir)
|
||||
return path.join(__dirname, '..', dir);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
@ -63,5 +64,8 @@ module.exports = {
|
|||
'vue': 'vue/dist/vue.esm.js',
|
||||
'@': resolve('src')
|
||||
}
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new webpack.optimize.ModuleConcatenationPlugin()
|
||||
]
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue