mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
[improvement] add sideEffects to enable tree shaking (#3530)
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user