Skip to content

An opinionated toast component for React.

remove duplicated use client directive (#138)

Jiachi Liu05c5557893dd
diff --git a/package.json b/package.json
index b3beb96..289d672 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
- "types": "dist/index.d.ts",
+ "types": "./dist/index.d.ts",
"files": [
"dist"
],
diff --git a/tsup.config.ts b/tsup.config.ts
index 098d7d6..670de9c 100644
--- a/tsup.config.ts
+++ b/tsup.config.ts
@@ -8,9 +8,4 @@ export default defineConfig({
dts: true,
format: ['esm', 'cjs'],
injectStyle: true,
- esbuildOptions(options) {
- options.banner = {
- js: '"use client"',
- };
- },
});