mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 09:50:22 +00:00
Updated webpack conf which decreased the size of dist by mre than 30%
This commit is contained in:
@@ -25,8 +25,13 @@ module.exports = {
|
||||
}
|
||||
]
|
||||
},
|
||||
devtool: '#source-map',
|
||||
// devtool: '#source-map',
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
'NODE_ENV': JSON.stringify('production'),
|
||||
},
|
||||
}),
|
||||
new UglifyJSPlugin({
|
||||
mangle: false,
|
||||
beautify: true
|
||||
|
||||
36
dist/index.js
vendored
36
dist/index.js
vendored
File diff suppressed because one or more lines are too long
36
dist/ssr.index.js
vendored
36
dist/ssr.index.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user