Skip to content

Commit

Permalink
feat(package.json): 增加sideEffects字段
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaozhiwen committed Dec 26, 2019
1 parent 26452ce commit 0b22de5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-ui-library-tutorial",
"name": "happy-ui",
"version": "1.0.0",
"description": "",
"description": "A React UI Library.",
"typings": "types/index.d.ts",
"main": "lib/index.js",
"module": "esm/index.js",
Expand Down Expand Up @@ -31,6 +31,12 @@
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"sideEffects": [
"dist/*",
"esm/**/style/*",
"lib/**/style/*",
"*.less"
],
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
Expand Down

0 comments on commit 0b22de5

Please sign in to comment.