Skip to content

Commit

Permalink
Merge pull request #3320 from preactjs/correct-export-maps
Browse files Browse the repository at this point in the history
add jsx(-dev)-runtime to the export maps
  • Loading branch information
marvinhagemeister committed Nov 15, 2021
2 parents bd52611 + 3b71880 commit b061f5e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 21 deletions.
35 changes: 18 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,23 @@
"require": "./jsx-runtime/dist/jsxRuntime.js",
"import": "./jsx-runtime/dist/jsxRuntime.mjs"
},
"./compat/server": {
"./compat/server": {
"require": "./compat/server.js",
"import": "./compat/server.mjs"
},
"./compat/jsx-runtime": {
"require": "./compat/jsx-runtime.js",
"import": "./compat/jsx-runtime.mjs"
},
"./compat/jsx-dev-runtime": {
"require": "./compat/jsx-dev-runtime.js",
"import": "./compat/jsx-dev-runtime.mjs"
},
"./compat/scheduler": {
"require": "./compat/scheduler.js",
"import": "./compat/scheduler.mjs"
},
"./package.json": "./package.json",
"./": "./"
"./package.json": "./package.json"
},
"license": "MIT",
"funding": {
Expand Down Expand Up @@ -236,7 +243,7 @@
"babel-plugin-transform-rename-properties": "0.1.0",
"benchmark": "^2.1.4",
"chai": "^4.1.2",
"check-export-map": "^1.0.1",
"check-export-map": "^1.2.0",
"coveralls": "^3.0.0",
"cross-env": "^7.0.2",
"csstype": "^3.0.5",
Expand Down

0 comments on commit b061f5e

Please sign in to comment.