Skip to content

Commit

Permalink
feat: add jsx-dev-runtime (#1393)
Browse files Browse the repository at this point in the history
* feat: add jsx-dev-runtime

* 🚃

* 🚁
  • Loading branch information
manucorporat authored Dec 5, 2022
1 parent b0f2c85 commit 2f11ee1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/solid/h/jsx-dev-runtime/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "solid-js/h/jsx-dev-runtime",
"main": "../jsx-runtime/dist/jsx.cjs",
"module": "../jsx-runtime/dist/jsx.js",
"types": "../jsx-runtime/types/index.d.ts",
"type": "module",
"sideEffects": false
}
12 changes: 12 additions & 0 deletions packages/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"h/jsx-runtime/dist",
"h/jsx-runtime/types",
"h/jsx-runtime/package.json",
"h/jsx-dev-runtime/package.json",
"html/dist",
"html/types",
"html/package.json",
Expand Down Expand Up @@ -97,6 +98,10 @@
"types": "./types/jsx.d.ts",
"default": "./dist/solid.js"
},
"./jsx-dev-runtime": {
"types": "./types/jsx.d.ts",
"default": "./dist/solid.js"
},
"./store": {
"worker": {
"import": {
Expand Down Expand Up @@ -226,6 +231,13 @@
},
"require": "./h/jsx-runtime/dist/jsx.cjs"
},
"./h/jsx-dev-runtime": {
"import": {
"types": "./h/jsx-runtime/types/index.d.ts",
"default": "./h/jsx-runtime/dist/jsx.js"
},
"require": "./h/jsx-runtime/dist/jsx.cjs"
},
"./h/dist/*": "./h/dist/*",
"./html": {
"import": {
Expand Down
1 change: 1 addition & 0 deletions packages/solid/store/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"paths": {
"solid-js": ["../.."],
"solid-js/jsx-runtime": ["../../src/jsx"],
"solid-js/jsx-dev-runtime": ["../../src/jsx"],
}
},
"include": ["./src"]
Expand Down
1 change: 1 addition & 0 deletions packages/solid/web/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"paths": {
"solid-js": ["../.."],
"solid-js/jsx-runtime": ["../../src/jsx"],
"solid-js/jsx-dev-runtime": ["../../src/jsx"],
}
},
"include": ["./src"]
Expand Down

0 comments on commit 2f11ee1

Please sign in to comment.