Skip to content

Commit

Permalink
fix(package.json): 删除sideEffects字段,在使用babel-plugin-import的情况下意义不大
Browse files Browse the repository at this point in the history
sideEffects配合webpack只可以做到js部分的tree
shaking,样式还是需要自己引入,反而会影响文档应用的样式,在使用babel-plugin-import的情况下,删除是可以接受的

fix #5
  • Loading branch information
zhiwen.zhao committed Jun 8, 2020
1 parent 62ae8e6 commit 2db288f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
"typings": "lib/index.d.ts",
"main": "lib/index.js",
"module": "esm/index.js",
"sideEffects": [
"dist/*",
"esm/**/style/*",
"lib/**/style/*",
"*.less"
],
"authors": {
"name": "worldzhao",
"email": "1007326924@qq.com"
Expand Down

1 comment on commit 2db288f

@vercel
Copy link

@vercel vercel bot commented on 2db288f Jun 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.