@nebula.js/cli-build 7.4.0 → 7.5.0
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/lib/config.js +8 -1
- package/package.json +2 -2
package/lib/config.js
CHANGED
|
@@ -156,7 +156,13 @@ const config = ({
|
|
|
156
156
|
},
|
|
157
157
|
},
|
|
158
158
|
],
|
|
159
|
-
|
|
159
|
+
];
|
|
160
|
+
|
|
161
|
+
const babelOverrides = [
|
|
162
|
+
{
|
|
163
|
+
test: /\.[jt]sx$/,
|
|
164
|
+
presets: [[babelPresetReact, { runtime: 'automatic' }]],
|
|
165
|
+
},
|
|
160
166
|
];
|
|
161
167
|
|
|
162
168
|
if (typescript) {
|
|
@@ -215,6 +221,7 @@ const config = ({
|
|
|
215
221
|
babelrc: false,
|
|
216
222
|
inputSourceMap: sourcemap,
|
|
217
223
|
extensions,
|
|
224
|
+
overrides: babelOverrides,
|
|
218
225
|
presets: babelPresets,
|
|
219
226
|
}),
|
|
220
227
|
...[
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nebula.js/cli-build",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"tslib": "*",
|
|
52
52
|
"typescript": "^5.9.3"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "dbdddc7213277c03c2bf876c8bc4f1f21c8162d6"
|
|
55
55
|
}
|