jtsx-loader 0.1.12 → 0.1.14
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/factory/jsxFactory.js +5 -1
- package/nodemon.json +2 -2
- package/package.json +2 -2
package/factory/jsxFactory.js
CHANGED
|
@@ -128,7 +128,11 @@ const _jsx = (tagName, attrs, ...children) => {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
const _jsxFragment = ({ children, ...attrs }) => {
|
|
131
|
-
|
|
131
|
+
if (typeof children === 'object') {
|
|
132
|
+
return children.join(' ');
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
return children;
|
|
132
136
|
}
|
|
133
137
|
|
|
134
138
|
export { _jsx, _jsxFragment, _jsxUtils }
|
package/nodemon.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jtsx-loader",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"main": "./loader/register.mjs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"imports": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"url": "git+https://github.com/dergachevm/jtsx-loader.git"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"esbuild": "^0.27.
|
|
34
|
+
"esbuild": "^0.27.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"express": "^5.2.1",
|