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.
@@ -128,7 +128,11 @@ const _jsx = (tagName, attrs, ...children) => {
128
128
  }
129
129
 
130
130
  const _jsxFragment = ({ children, ...attrs }) => {
131
- return children.join(' ');
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
@@ -3,6 +3,6 @@
3
3
  ".git",
4
4
  "node_modules/**/node_modules"
5
5
  ],
6
- "watch": ["./src/**/*.*", "./example/**/*.*", "./*.*"],
7
- "quiet": true
6
+ "watch": ["./src/**/*.*", "./example/**/*.*", "./factory/*.*", "./*.*"],
7
+ "quiet": false
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jtsx-loader",
3
- "version": "0.1.12",
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.1"
34
+ "esbuild": "^0.27.2"
35
35
  },
36
36
  "devDependencies": {
37
37
  "express": "^5.2.1",