diff --git a/.changeset/lazy-singers-walk.md b/.changeset/lazy-singers-walk.md new file mode 100644 index 000000000..04b170925 --- /dev/null +++ b/.changeset/lazy-singers-walk.md @@ -0,0 +1,7 @@ +--- +"@orbit-ui/transition-components": patch +"@workleap/orbiter-ui": patch +"@orbit-ui/transition-css": patch +--- + +Added sideEffects field to projects diff --git a/.storybook/main.ts b/.storybook/main.ts index c62d2f895..9a49bf793 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -99,6 +99,18 @@ const storybookConfig: StorybookConfig = { minimize: false }; + /** + * This block of code addresses build process issues. + * + * Fixes chromatic failing. + */ + config.performance = { + ...config.performance, + hints: false, + maxEntrypointSize: 512000, + maxAssetSize: 512000 + }; + return config; } }; diff --git a/packages/bundle/package.json b/packages/bundle/package.json index 43eb3dd40..02d8a196b 100644 --- a/packages/bundle/package.json +++ b/packages/bundle/package.json @@ -8,6 +8,9 @@ "directory": "packages/bundle" }, "type": "module", + "sideEffects": [ + "*.css" + ], "author": "Groupe ShareGate inc.", "license": "Apache-2.0", "main": "dist/index.js", diff --git a/packages/components/package.json b/packages/components/package.json index 596e17f21..537a6fe28 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -8,6 +8,9 @@ "directory": "packages/components" }, "type": "module", + "sideEffects": [ + "*.css" + ], "author": "Groupe Sharegate inc.", "license": "Apache-2.0", "main": "dist/index.js", diff --git a/packages/css/package.json b/packages/css/package.json index 07c2a7c2e..b7bedc602 100644 --- a/packages/css/package.json +++ b/packages/css/package.json @@ -8,6 +8,9 @@ "directory": "packages/css" }, "type": "module", + "sideEffects": [ + "*.css" + ], "author": "Groupe ShareGate inc.", "license": "Apache-2.0", "main": "src/index.css",