mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +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-cli": "^3.3.2",
|
||||||
"webpack-dev-server": "3.3.1"
|
"webpack-dev-server": "3.3.1"
|
||||||
},
|
},
|
||||||
|
"sideEffects": [
|
||||||
|
"es/**/style/*",
|
||||||
|
"lib/**/style/*",
|
||||||
|
"*.css",
|
||||||
|
"*.less"
|
||||||
|
],
|
||||||
"vetur": {
|
"vetur": {
|
||||||
"tags": "vetur/tags.json",
|
"tags": "vetur/tags.json",
|
||||||
"attributes": "vetur/attributes.json"
|
"attributes": "vetur/attributes.json"
|
||||||
|
Reference in New Issue
Block a user