We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a473e2 commit d2a5505Copy full SHA for d2a5505
package.json
@@ -5,7 +5,7 @@
5
"main": "dist/index.js",
6
"types": "dist/index.d.ts",
7
"scripts": {
8
- "build-lib": "tsup",
+ "build-lib": "tsup && sed -i '1s/^/\"use client\";/' dist/index.js",
9
"lint": "eslint --fix --cache src/",
10
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
11
"typecheck": "tsc -p tsconfig.json"
0 commit comments