Skip to content

Commit

Permalink
Remove modern JS from dist to work with Next.js (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
danoc authored Dec 29, 2020
1 parent 66b7064 commit a0162ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/afraid-schools-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react-use-clipboard": patch
---

Remove modern JS from dist to work with Next.js
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"license": "MIT",
"source": "./src/index.tsx",
"main": "./dist/react-use-clipboard.js",
"exports": "./dist/react-use-clipboard.modern.js",
"module": "./dist/react-use-clipboard.module.js",
"unpkg": "./dist/react-use-clipboard.umd.js",
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit a0162ac

Please sign in to comment.