Skip to content

Commit 0b22de5

Browse files
author
zhaozhiwen
committed
feat(package.json): 增加sideEffects字段
1 parent 26452ce commit 0b22de5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "react-ui-library-tutorial",
2+
"name": "happy-ui",
33
"version": "1.0.0",
4-
"description": "",
4+
"description": "A React UI Library.",
55
"typings": "types/index.d.ts",
66
"main": "lib/index.js",
77
"module": "esm/index.js",
@@ -31,6 +31,12 @@
3131
"react": ">=16.0.0",
3232
"react-dom": ">=16.0.0"
3333
},
34+
"sideEffects": [
35+
"dist/*",
36+
"esm/**/style/*",
37+
"lib/**/style/*",
38+
"*.less"
39+
],
3440
"devDependencies": {
3541
"@babel/core": "^7.7.7",
3642
"@babel/plugin-proposal-class-properties": "^7.7.4",

0 commit comments

Comments
 (0)