From 19d2899e7375f20df31e232ced78a0d191e7ce90 Mon Sep 17 00:00:00 2001 From: Uyarn Date: Tue, 8 Mar 2022 00:14:08 +0800 Subject: [PATCH] fix: side effect should contain css --- sandpack-react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandpack-react/package.json b/sandpack-react/package.json index 104dcd53d..cdbdfbf18 100644 --- a/sandpack-react/package.json +++ b/sandpack-react/package.json @@ -12,7 +12,7 @@ "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", - "sideEffects": false, + "sideEffects": ["dist/index.css"], "scripts": { "clean": "rimraf dist", "prebuild": "yarn run clean",