Skip to content

Commit

Permalink
Merge pull request #221 from wight554/fix-typings
Browse files Browse the repository at this point in the history
Fix nodenext module support from TypeScript 4.7
  • Loading branch information
developit authored Apr 26, 2022
2 parents 6929a95 + 33acbf9 commit e2e7665
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": "./dist/htm.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 e2e7665

Please sign in to comment.