@nebula.js/cli-build 7.3.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 -4
- package/package.json +3 -3
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) {
|
|
@@ -164,10 +170,7 @@ const config = ({
|
|
|
164
170
|
babelPresetTypescript,
|
|
165
171
|
{
|
|
166
172
|
allowNamespaces: true,
|
|
167
|
-
allowDeclareFields: true,
|
|
168
173
|
onlyRemoveTypeImports: true,
|
|
169
|
-
// Fixes for _default issues
|
|
170
|
-
isolatedModules: true,
|
|
171
174
|
},
|
|
172
175
|
]);
|
|
173
176
|
}
|
|
@@ -218,6 +221,7 @@ const config = ({
|
|
|
218
221
|
babelrc: false,
|
|
219
222
|
inputSourceMap: sourcemap,
|
|
220
223
|
extensions,
|
|
224
|
+
overrides: babelOverrides,
|
|
221
225
|
presets: babelPresets,
|
|
222
226
|
}),
|
|
223
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",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@rollup/plugin-typescript": "12.3.0",
|
|
51
51
|
"tslib": "*",
|
|
52
|
-
"typescript": "
|
|
52
|
+
"typescript": "^5.9.3"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "dbdddc7213277c03c2bf876c8bc4f1f21c8162d6"
|
|
55
55
|
}
|