Skip to content

Commit

Permalink
Add sideEffects declarations for src/**/*.scss files
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Oct 27, 2020
1 parent 1ceb802 commit b80f0c3
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/block-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"react-native": "src/index",
"sideEffects": [
"build-style/**",
"src/**/*.scss",
"{src,build,build-module}/{index.js,store/index.js,hooks/**}"
],
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": [
"build-style/**"
"build-style/**",
"src/**/*.scss"
],
"dependencies": {
"@babel/runtime": "^7.11.2",
Expand Down
3 changes: 2 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": [
"build-style/**"
"build-style/**",
"src/**/*.scss"
],
"dependencies": {
"@babel/runtime": "^7.11.2",
Expand Down
1 change: 1 addition & 0 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"react-native": "src/index",
"sideEffects": [
"build-style/**",
"src/**/*.scss",
"{src,build,build-module}/{index.js,store/index.js,hooks/**}"
],
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"react-native": "src/index",
"sideEffects": [
"build-style/**",
"src/**/*.scss",
"{src,build,build-module}/{index.js,store/index.js}"
],
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/nux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"react-native": "src/index",
"sideEffects": [
"build-style/**",
"src/**/*.scss",
"{src,build,build-module}/{index.js,store/index.js}"
],
"dependencies": {
Expand Down
4 changes: 3 additions & 1 deletion packages/primitives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"main": "build/index.js",
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": false,
"sideEffects": [
"src/**/*.scss"
],
"types": "build-types",
"dependencies": {
"@babel/runtime": "^7.11.2",
Expand Down
1 change: 1 addition & 0 deletions packages/rich-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"module": "build-module/index.js",
"react-native": "src/index",
"sideEffects": [
"src/**/*.scss",
"{src,build,build-module}/{index.js,store/index.js}"
],
"dependencies": {
Expand Down

0 comments on commit b80f0c3

Please sign in to comment.