[improvement] add sideEffects to enable tree shaking (#3530)

This commit is contained in:
neverland 2019-06-17 14:30:36 +08:00 committed by GitHub
parent 493639a4a6
commit 6ec870abce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,6 +122,12 @@
"webpack-cli": "^3.3.2",
"webpack-dev-server": "3.3.1"
},
"sideEffects": [
"es/**/style/*",
"lib/**/style/*",
"*.css",
"*.less"
],
"vetur": {
"tags": "vetur/tags.json",
"attributes": "vetur/attributes.json"