Skip to content

Commit

Permalink
chore: add styles into sideEffects field in package.json (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
xc2 authored Apr 16, 2024
1 parent c2768a2 commit 0332dd2
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion rspack/basic-ts-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@rspack/core": "latest",
"ts-node": "10.9.2"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/basic-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@rspack/cli": "latest",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion rspack/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@rspack/cli": "latest",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/emotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@rspack/cli": "latest",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion rspack/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"eslint": "8",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"express": "4.18.2"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/extract-license/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"lodash": "4.17.21"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@rspack/cli": "latest",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@rspack/core": "latest",
"cross-env": "7.0.3"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/node-globals-shim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@rspack/cli": "latest",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/node-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@rspack/plugin-node-polyfill": "latest",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/perfsee/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@perfsee/webpack": "1.6.0",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@rspack/cli": "latest",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/postcss-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@rspack/core": "latest"
},
"browserslist": "last 4 version",
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/stats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@rspack/cli": "latest",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/styled-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@rspack/core": "latest",
"react-refresh": "^0.14.0"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/tailwind-jit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"postcss-loader": "7.2.3",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"postcss-loader": "7.2.3",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down
2 changes: 1 addition & 1 deletion rspack/worklet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@rspack/cli": "latest",
"@rspack/core": "latest"
},
"sideEffects": false,
"sideEffects": ["**/*.css","**/*.less","**/*.scss"],
"keywords": [],
"author": "",
"license": "MIT"
Expand Down

0 comments on commit 0332dd2

Please sign in to comment.