diff --git a/package.json b/package.json index 671b0bf..1248be7 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "sideEffects": false, "scripts": { - "build": "microbundle && cp ./dist/index.d.ts ./dist/index.d.mts", + "build": "microbundle --globals react=React && cp ./dist/index.d.ts ./dist/index.d.mts", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": {