Skip to content

Commit f9d89fb

Browse files
committed
fix: Next.js compatibility
1 parent 201ae81 commit f9d89fb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@mikandev/jda-icons-react",
33
"description": "React exports for the Japan Digital Agency's icons",
44
"private": false,
5-
"version": "1.0.6",
5+
"version": "1.0.7",
66
"module": "src/index.ts",
77
"main": "dist/index.js",
88
"types": "dist/index.d.ts",

tsup.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ export default {
44
dts: true,
55
outDir: 'dist',
66
tsconfig: './tsconfig.json',
7+
banner: {
8+
js: '"use client";',
9+
},
710
esbuildOptions(options) {
811
options.loader = {
912
...options.loader,

0 commit comments

Comments
 (0)