Skip to content

Commit

Permalink
Fix nodenext module support from TypeScript 4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
wight554 committed Apr 25, 2022
1 parent 6929a95 commit 4fdfb38
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 @@ -8,31 +8,36 @@
"types": "dist/htm.d.ts",
"exports": {
".": {
"types": "./src/index.d.ts",
"browser": "./dist/htm.module.js",
"umd": "./dist/htm.umd.js",
"import": "./dist/htm.mjs",
"require": "./dist/htm.js"
},
"./": "./",
"./preact": {
"types": "./preact/index.d.ts",
"browser": "./preact/index.module.js",
"umd": "./preact/index.umd.js",
"import": "./preact/index.mjs",
"require": "./preact/index.js"
},
"./preact/standalone": {
"types": "./preact/index.d.ts",
"browser": "./preact/standalone.module.js",
"umd": "./preact/standalone.umd.js",
"import": "./preact/standalone.mjs",
"require": "./preact/standalone.js"
},
"./react": {
"types": "./react/index.d.ts",
"browser": "./react/index.module.js",
"umd": "./react/index.umd.js",
"import": "./react/index.mjs",
"require": "./react/index.js"
},
"./mini": {
"types": "./mini/index.d.ts",
"browser": "./mini/index.module.js",
"umd": "./mini/index.umd.js",
"import": "./mini/index.mjs",
Expand Down

0 comments on commit 4fdfb38

Please sign in to comment.