@nebula.js/cli-build 7.5.0 → 7.5.2

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.
Files changed (2) hide show
  1. package/lib/config.js +3 -3
  2. package/package.json +2 -2
package/lib/config.js CHANGED
@@ -161,7 +161,7 @@ const config = ({
161
161
  const babelOverrides = [
162
162
  {
163
163
  test: /\.[jt]sx$/,
164
- presets: [[babelPresetReact, { runtime: 'automatic' }]],
164
+ presets: [[babelPresetReact, { runtime: 'automatic', development: mode === 'development' }]],
165
165
  },
166
166
  ];
167
167
 
@@ -224,7 +224,7 @@ const config = ({
224
224
  overrides: babelOverrides,
225
225
  presets: babelPresets,
226
226
  }),
227
- ...[
227
+ [
228
228
  mode === 'production'
229
229
  ? terser({
230
230
  output: {
@@ -233,7 +233,7 @@ const config = ({
233
233
  })
234
234
  : false,
235
235
  ],
236
- ...[
236
+ [
237
237
  mode === 'development'
238
238
  ? visualizer({
239
239
  filename: 'bundle-analysis.html',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nebula.js/cli-build",
3
- "version": "7.5.0",
3
+ "version": "7.5.2",
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": "dbdddc7213277c03c2bf876c8bc4f1f21c8162d6"
54
+ "gitHead": "d663044a11ad8d75c7391fe99a0ac56f30e46a9d"
55
55
  }