From 6aec4807890f97fc8df0b9a867ac314dc8a7187c Mon Sep 17 00:00:00 2001 From: David Weber Date: Sat, 20 Jul 2024 23:44:32 +0200 Subject: [PATCH] fix: styles by correctly configuring sideEffects --- .changeset/forty-cycles-clap.md | 5 +++++ plugins/endoflife/package.json | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/forty-cycles-clap.md diff --git a/.changeset/forty-cycles-clap.md b/.changeset/forty-cycles-clap.md new file mode 100644 index 0000000..eb45337 --- /dev/null +++ b/.changeset/forty-cycles-clap.md @@ -0,0 +1,5 @@ +--- +'@dweber019/backstage-plugin-endoflife': patch +--- + +Fix styles by ignoring css files in sideEffects settings. diff --git a/plugins/endoflife/package.json b/plugins/endoflife/package.json index df55c13..4584090 100644 --- a/plugins/endoflife/package.json +++ b/plugins/endoflife/package.json @@ -23,7 +23,9 @@ "@dweber019/backstage-plugin-endoflife-backend" ] }, - "sideEffects": false, + "sideEffects": [ + "**/*.css" + ], "scripts": { "start": "backstage-cli package start", "build": "backstage-cli package build",