diff --git a/packages/block-editor/package.json b/packages/block-editor/package.json index 3b0c4f823cc67..95460269e9003 100644 --- a/packages/block-editor/package.json +++ b/packages/block-editor/package.json @@ -24,6 +24,7 @@ "react-native": "src/index", "sideEffects": [ "build-style/**", + "src/**/*.scss", "{src,build,build-module}/{index.js,store/index.js,hooks/**}" ], "dependencies": { diff --git a/packages/block-library/package.json b/packages/block-library/package.json index b5ef330628074..4fa1c4904debc 100644 --- a/packages/block-library/package.json +++ b/packages/block-library/package.json @@ -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", diff --git a/packages/components/package.json b/packages/components/package.json index ad6f16f9d8d26..ea8270de174f7 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -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", diff --git a/packages/editor/package.json b/packages/editor/package.json index 5557db0471d4a..74c04ad83aaa6 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -23,6 +23,7 @@ "react-native": "src/index", "sideEffects": [ "build-style/**", + "src/**/*.scss", "{src,build,build-module}/{index.js,store/index.js,hooks/**}" ], "dependencies": { diff --git a/packages/interface/package.json b/packages/interface/package.json index 37ab0eb16a3f8..a3636aef2b3c2 100644 --- a/packages/interface/package.json +++ b/packages/interface/package.json @@ -24,6 +24,7 @@ "react-native": "src/index", "sideEffects": [ "build-style/**", + "src/**/*.scss", "{src,build,build-module}/{index.js,store/index.js}" ], "dependencies": { diff --git a/packages/nux/package.json b/packages/nux/package.json index ecb8ab638c42f..11131a75aef3f 100644 --- a/packages/nux/package.json +++ b/packages/nux/package.json @@ -23,6 +23,7 @@ "react-native": "src/index", "sideEffects": [ "build-style/**", + "src/**/*.scss", "{src,build,build-module}/{index.js,store/index.js}" ], "dependencies": { diff --git a/packages/primitives/package.json b/packages/primitives/package.json index 3ea6ec5087b8e..7a378704d4d17 100644 --- a/packages/primitives/package.json +++ b/packages/primitives/package.json @@ -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", diff --git a/packages/rich-text/package.json b/packages/rich-text/package.json index 456e36b286247..4ace95f8c2554 100644 --- a/packages/rich-text/package.json +++ b/packages/rich-text/package.json @@ -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": {