Skip to content

Commit 2db288f

Browse files
author
zhiwen.zhao
committed
fix(package.json): 删除sideEffects字段,在使用babel-plugin-import的情况下意义不大
sideEffects配合webpack只可以做到js部分的tree shaking,样式还是需要自己引入,反而会影响文档应用的样式,在使用babel-plugin-import的情况下,删除是可以接受的 fix #5
1 parent 62ae8e6 commit 2db288f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
"typings": "lib/index.d.ts",
77
"main": "lib/index.js",
88
"module": "esm/index.js",
9-
"sideEffects": [
10-
"dist/*",
11-
"esm/**/style/*",
12-
"lib/**/style/*",
13-
"*.less"
14-
],
159
"authors": {
1610
"name": "worldzhao",
1711
"email": "[email protected]"

0 commit comments

Comments
 (0)