Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support node13 #2451

Merged
merged 6 commits into from Apr 17, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions package.json
Expand Up @@ -9,6 +9,7 @@
"umd:main": "dist/preact.umd.js",
"unpkg": "dist/preact.umd.js",
"source": "src/index.js",
"type": "module",
"exports": {
".": {
"browser": "./dist/preact.module.js",
Expand All @@ -28,6 +29,12 @@
"require": "./debug/dist/debug.js",
"import": "./debug/dist/debug.module.js"
},
"./devtools": {
"browser": "./devtools/dist/devtools.module.js",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch about the missing devtools package 👍 💯

"umd": "./devtools/dist/devtools.umd.js",
"require": "./devtools/dist/devtools.js",
"import": "./devtools/dist/devtools.module.js"
},
"./hooks": {
"browser": "./hooks/dist/hooks.module.js",
"umd": "./hooks/dist/hooks.umd.js",
Expand Down