@server/next 0.25.2 → 0.25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsx-dev-runtime.js +1 -0
- package/package.json +3 -2
- package/src/helpers/jsx.js +1 -0
package/jsx-dev-runtime.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@server/next",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.4",
|
|
4
4
|
"description": "A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.",
|
|
5
5
|
"homepage": "https://server-js.com/",
|
|
6
6
|
"repository": "https://github.com/franciscop/server-next.git",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
],
|
|
38
38
|
"exports": {
|
|
39
39
|
".": "./src/index.js",
|
|
40
|
-
"./jsx-runtime": "./src/helpers/jsx.js"
|
|
40
|
+
"./jsx-runtime": "./src/helpers/jsx.js",
|
|
41
|
+
"./jsx-dev-runtime": "./src/helpers/jsx.js"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"argon2": "^0.40.3",
|
package/src/helpers/jsx.js
CHANGED
|
@@ -71,5 +71,6 @@ export const jsx = (tag, { children, ...props }) => {
|
|
|
71
71
|
const doctype = tag === "html" ? "<!DOCTYPE html>" : "";
|
|
72
72
|
return () => `${doctype}<${tag}${attrStr}>${children}</${tag}>`;
|
|
73
73
|
};
|
|
74
|
+
export const jsxs = jsx;
|
|
74
75
|
export const jsxDEV = jsx;
|
|
75
76
|
export const Fragment = "";
|