From c5f05b16bc492cd63f2144d52bfe9e84a8580539 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 23 Oct 2023 16:38:16 +0200 Subject: [PATCH] @uppy/core: fix `sideEffects` declaration CSS files do contain some side effects, as some Uppy plugins rely on some CSS class being styled by core. --- packages/@uppy/core/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/@uppy/core/package.json b/packages/@uppy/core/package.json index f7d4f0884b..3efee91d0f 100644 --- a/packages/@uppy/core/package.json +++ b/packages/@uppy/core/package.json @@ -7,7 +7,9 @@ "style": "dist/style.min.css", "types": "types/index.d.ts", "type": "module", - "sideEffects": false, + "sideEffects": [ + "*.css" + ], "keywords": [ "file uploader", "uppy",