Skip to content

Commit

Permalink
add root exports (#2310)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Feb 5, 2020
1 parent 7ae3be6 commit 6bbc17b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"unpkg": "dist/preact.umd.js",
"source": "src/index.js",
"exports": {
".": {
"require": "./dist/preact.js",
"import": "./dist/preact.module.js",
"browser": "./dist/preact.umd.js"
},
"./compat": {
"require": "./compat/dist/compat.js",
"import": "./compat/dist/compat.module.js",
Expand Down

0 comments on commit 6bbc17b

Please sign in to comment.