Skip to content

Commit a0162ac

Browse files
authored
Remove modern JS from dist to work with Next.js (#33)
1 parent 66b7064 commit a0162ac

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/afraid-schools-burn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-use-clipboard": patch
3+
---
4+
5+
Remove modern JS from dist to work with Next.js

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"license": "MIT",
77
"source": "./src/index.tsx",
88
"main": "./dist/react-use-clipboard.js",
9-
"exports": "./dist/react-use-clipboard.modern.js",
109
"module": "./dist/react-use-clipboard.module.js",
1110
"unpkg": "./dist/react-use-clipboard.umd.js",
1211
"types": "./dist/index.d.ts",

0 commit comments

Comments
 (0)