mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[improvement] add sideEffects to enable tree shaking (#3530)
This commit is contained in:
parent
493639a4a6
commit
6ec870abce
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user