mirror of
https://github.com/KevinMidboe/vue-js-modal.git
synced 2025-10-29 18:00:20 +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: [
|
plugins: [
|
||||||
|
new webpack.DefinePlugin({
|
||||||
|
'process.env': {
|
||||||
|
'NODE_ENV': JSON.stringify('production'),
|
||||||
|
},
|
||||||
|
}),
|
||||||
new UglifyJSPlugin({
|
new UglifyJSPlugin({
|
||||||
mangle: false,
|
mangle: false,
|
||||||
beautify: true
|
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