@rollipop/rolldown 1.0.20 → 1.0.22

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 (39) hide show
  1. package/dist/cli.mjs +11 -8
  2. package/dist/config.d.mts +15 -2
  3. package/dist/config.mjs +2 -2
  4. package/dist/experimental-index.d.mts +8 -8
  5. package/dist/experimental-index.mjs +16 -13
  6. package/dist/filter-index.d.mts +1 -1
  7. package/dist/filter-index.mjs +2 -2
  8. package/dist/get-log-filter.d.mts +1 -1
  9. package/dist/get-log-filter.mjs +2 -2
  10. package/dist/index.d.mts +3 -3
  11. package/dist/index.mjs +11 -5
  12. package/dist/parallel-plugin-worker.mjs +5 -4
  13. package/dist/parallel-plugin.d.mts +1 -1
  14. package/dist/parse-ast-index.d.mts +1 -1
  15. package/dist/parse-ast-index.mjs +2 -2
  16. package/dist/plugins-index.d.mts +3 -3
  17. package/dist/plugins-index.mjs +2 -2
  18. package/dist/shared/{binding-DamCAbY6.mjs → binding-9kL0gFYL.mjs} +28 -27
  19. package/dist/shared/{binding-DE7ERejD.d.mts → binding-CckXxUel.d.mts} +53 -4
  20. package/dist/shared/{bindingify-input-options-SGSGV3Kn.mjs → bindingify-input-options-3NuL6LmT.mjs} +35 -21
  21. package/dist/shared/{constructors-CTfc5fh7.mjs → constructors-BR7PP67a.mjs} +1 -1
  22. package/dist/shared/{constructors-CqnDcrIL.d.mts → constructors-CZDP-zxV.d.mts} +2 -2
  23. package/dist/shared/{define-config-xmEHQczI.d.mts → define-config-BdEm3DW7.d.mts} +108 -12
  24. package/dist/shared/dist-DKbukT1H.mjs +154 -0
  25. package/dist/shared/{error-BmTEI0xY.mjs → error-D2KvICgd.mjs} +1 -1
  26. package/dist/shared/{get-log-filter-BpNVNJ5-.d.mts → get-log-filter-B4LpBryx.d.mts} +2 -2
  27. package/dist/shared/{load-config-DY5kAiwf.mjs → load-config-C-H6Sxai.mjs} +19 -2
  28. package/dist/shared/{logs-aMKUxRpj.mjs → logs-ZGEh6uhb.mjs} +6 -1
  29. package/dist/shared/{normalize-string-or-regex-Ddbkskw6.mjs → normalize-string-or-regex-BzQ-7a-8.mjs} +2 -2
  30. package/dist/shared/{parse-CNsctGYH.mjs → parse-CanHtd_6.mjs} +2 -2
  31. package/dist/shared/{prompt-B1Yc1NPt.mjs → prompt--dNycKSZ.mjs} +59 -17
  32. package/dist/shared/{resolve-tsconfig-B6udNjE_.mjs → resolve-tsconfig-Bx74P5AA.mjs} +2 -2
  33. package/dist/shared/{rolldown-C6DTtWMe.mjs → rolldown-BCi17Yn9.mjs} +2 -2
  34. package/dist/shared/{rolldown-build-BCVOvLca.mjs → rolldown-build-BjB3v1c2.mjs} +43 -17
  35. package/dist/shared/{transform-DiNoOk6R.d.mts → transform-C20O3Ind.d.mts} +1 -1
  36. package/dist/shared/{watch-BqeQlZnt.mjs → watch-BilISOyp.mjs} +6 -6
  37. package/dist/utils-index.d.mts +5 -5
  38. package/dist/utils-index.mjs +10 -8
  39. package/package.json +14 -13
@@ -103,7 +103,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
103
103
  try {
104
104
  const binding = __require("@rollipop/rolldown-binding-android-arm64");
105
105
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-android-arm64/package.json").version;
106
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
106
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
107
107
  return binding;
108
108
  } catch (e) {
109
109
  loadErrors.push(e);
@@ -117,7 +117,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
117
117
  try {
118
118
  const binding = __require("@rollipop/rolldown-binding-android-arm-eabi");
119
119
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-android-arm-eabi/package.json").version;
120
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
120
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
121
121
  return binding;
122
122
  } catch (e) {
123
123
  loadErrors.push(e);
@@ -132,7 +132,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
132
132
  try {
133
133
  const binding = __require("@rollipop/rolldown-binding-win32-x64-gnu");
134
134
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-x64-gnu/package.json").version;
135
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
135
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
136
136
  return binding;
137
137
  } catch (e) {
138
138
  loadErrors.push(e);
@@ -146,7 +146,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
146
146
  try {
147
147
  const binding = __require("@rollipop/rolldown-binding-win32-x64-msvc");
148
148
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-x64-msvc/package.json").version;
149
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
149
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
150
150
  return binding;
151
151
  } catch (e) {
152
152
  loadErrors.push(e);
@@ -161,7 +161,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
161
161
  try {
162
162
  const binding = __require("@rollipop/rolldown-binding-win32-ia32-msvc");
163
163
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-ia32-msvc/package.json").version;
164
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
164
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
165
165
  return binding;
166
166
  } catch (e) {
167
167
  loadErrors.push(e);
@@ -175,7 +175,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
175
175
  try {
176
176
  const binding = __require("@rollipop/rolldown-binding-win32-arm64-msvc");
177
177
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-win32-arm64-msvc/package.json").version;
178
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
178
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
179
179
  return binding;
180
180
  } catch (e) {
181
181
  loadErrors.push(e);
@@ -190,7 +190,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
190
190
  try {
191
191
  const binding = __require("@rollipop/rolldown-binding-darwin-universal");
192
192
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-darwin-universal/package.json").version;
193
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
193
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
194
194
  return binding;
195
195
  } catch (e) {
196
196
  loadErrors.push(e);
@@ -204,7 +204,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
204
204
  try {
205
205
  const binding = __require("@rollipop/rolldown-binding-darwin-x64");
206
206
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-darwin-x64/package.json").version;
207
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
207
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
208
208
  return binding;
209
209
  } catch (e) {
210
210
  loadErrors.push(e);
@@ -218,7 +218,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
218
218
  try {
219
219
  const binding = __require("@rollipop/rolldown-binding-darwin-arm64");
220
220
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-darwin-arm64/package.json").version;
221
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
221
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
222
222
  return binding;
223
223
  } catch (e) {
224
224
  loadErrors.push(e);
@@ -233,7 +233,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
233
233
  try {
234
234
  const binding = __require("@rollipop/rolldown-binding-freebsd-x64");
235
235
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-freebsd-x64/package.json").version;
236
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
236
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
237
237
  return binding;
238
238
  } catch (e) {
239
239
  loadErrors.push(e);
@@ -247,7 +247,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
247
247
  try {
248
248
  const binding = __require("@rollipop/rolldown-binding-freebsd-arm64");
249
249
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-freebsd-arm64/package.json").version;
250
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
250
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
251
251
  return binding;
252
252
  } catch (e) {
253
253
  loadErrors.push(e);
@@ -262,7 +262,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
262
262
  try {
263
263
  const binding = __require("@rollipop/rolldown-binding-linux-x64-musl");
264
264
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-x64-musl/package.json").version;
265
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
265
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
266
266
  return binding;
267
267
  } catch (e) {
268
268
  loadErrors.push(e);
@@ -276,7 +276,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
276
276
  try {
277
277
  const binding = __require("@rollipop/rolldown-binding-linux-x64-gnu");
278
278
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-x64-gnu/package.json").version;
279
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
279
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
280
280
  return binding;
281
281
  } catch (e) {
282
282
  loadErrors.push(e);
@@ -291,7 +291,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
291
291
  try {
292
292
  const binding = __require("@rollipop/rolldown-binding-linux-arm64-musl");
293
293
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm64-musl/package.json").version;
294
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
294
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
295
295
  return binding;
296
296
  } catch (e) {
297
297
  loadErrors.push(e);
@@ -305,7 +305,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
305
305
  try {
306
306
  const binding = __require("@rollipop/rolldown-binding-linux-arm64-gnu");
307
307
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm64-gnu/package.json").version;
308
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
308
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
309
309
  return binding;
310
310
  } catch (e) {
311
311
  loadErrors.push(e);
@@ -320,7 +320,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
320
320
  try {
321
321
  const binding = __require("@rollipop/rolldown-binding-linux-arm-musleabihf");
322
322
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm-musleabihf/package.json").version;
323
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
323
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
324
324
  return binding;
325
325
  } catch (e) {
326
326
  loadErrors.push(e);
@@ -334,7 +334,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
334
334
  try {
335
335
  const binding = __require("@rollipop/rolldown-binding-linux-arm-gnueabihf");
336
336
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-arm-gnueabihf/package.json").version;
337
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
337
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
338
338
  return binding;
339
339
  } catch (e) {
340
340
  loadErrors.push(e);
@@ -349,7 +349,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
349
349
  try {
350
350
  const binding = __require("@rollipop/rolldown-binding-linux-loong64-musl");
351
351
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-loong64-musl/package.json").version;
352
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
352
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
353
353
  return binding;
354
354
  } catch (e) {
355
355
  loadErrors.push(e);
@@ -363,7 +363,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
363
363
  try {
364
364
  const binding = __require("@rollipop/rolldown-binding-linux-loong64-gnu");
365
365
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-loong64-gnu/package.json").version;
366
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
366
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
367
367
  return binding;
368
368
  } catch (e) {
369
369
  loadErrors.push(e);
@@ -378,7 +378,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
378
378
  try {
379
379
  const binding = __require("@rollipop/rolldown-binding-linux-riscv64-musl");
380
380
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-riscv64-musl/package.json").version;
381
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
381
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
382
382
  return binding;
383
383
  } catch (e) {
384
384
  loadErrors.push(e);
@@ -392,7 +392,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
392
392
  try {
393
393
  const binding = __require("@rollipop/rolldown-binding-linux-riscv64-gnu");
394
394
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-riscv64-gnu/package.json").version;
395
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
395
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
396
396
  return binding;
397
397
  } catch (e) {
398
398
  loadErrors.push(e);
@@ -407,7 +407,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
407
407
  try {
408
408
  const binding = __require("@rollipop/rolldown-binding-linux-ppc64-gnu");
409
409
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-ppc64-gnu/package.json").version;
410
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
410
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
411
411
  return binding;
412
412
  } catch (e) {
413
413
  loadErrors.push(e);
@@ -421,7 +421,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
421
421
  try {
422
422
  const binding = __require("@rollipop/rolldown-binding-linux-s390x-gnu");
423
423
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-linux-s390x-gnu/package.json").version;
424
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
424
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
425
425
  return binding;
426
426
  } catch (e) {
427
427
  loadErrors.push(e);
@@ -436,7 +436,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
436
436
  try {
437
437
  const binding = __require("@rollipop/rolldown-binding-openharmony-arm64");
438
438
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-openharmony-arm64/package.json").version;
439
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
439
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
440
440
  return binding;
441
441
  } catch (e) {
442
442
  loadErrors.push(e);
@@ -450,7 +450,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
450
450
  try {
451
451
  const binding = __require("@rollipop/rolldown-binding-openharmony-x64");
452
452
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-openharmony-x64/package.json").version;
453
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
453
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
454
454
  return binding;
455
455
  } catch (e) {
456
456
  loadErrors.push(e);
@@ -464,7 +464,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
464
464
  try {
465
465
  const binding = __require("@rollipop/rolldown-binding-openharmony-arm");
466
466
  const bindingPackageVersion = __require("@rollipop/rolldown-binding-openharmony-arm/package.json").version;
467
- if (bindingPackageVersion !== "1.0.20" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.20 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
467
+ if (bindingPackageVersion !== "1.0.22" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.0.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
468
468
  return binding;
469
469
  } catch (e) {
470
470
  loadErrors.push(e);
@@ -564,7 +564,6 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
564
564
  module.exports.BindingWatcherChangeData = nativeBinding.BindingWatcherChangeData;
565
565
  module.exports.BindingWatcherEvent = nativeBinding.BindingWatcherEvent;
566
566
  module.exports.ParallelJsPluginRegistry = nativeBinding.ParallelJsPluginRegistry;
567
- module.exports.ScheduledBuild = nativeBinding.ScheduledBuild;
568
567
  module.exports.TraceSubscriberGuard = nativeBinding.TraceSubscriberGuard;
569
568
  module.exports.TsconfigCache = nativeBinding.TsconfigCache;
570
569
  module.exports.BindingAttachDebugInfo = nativeBinding.BindingAttachDebugInfo;
@@ -579,6 +578,8 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
579
578
  module.exports.BindingRollipopReactNativeModuleType = nativeBinding.BindingRollipopReactNativeModuleType;
580
579
  module.exports.BindingRollipopReactNativeReactRuntime = nativeBinding.BindingRollipopReactNativeReactRuntime;
581
580
  module.exports.BindingRollipopReactNativeRuntimeTarget = nativeBinding.BindingRollipopReactNativeRuntimeTarget;
581
+ module.exports.clearCache = nativeBinding.clearCache;
582
+ module.exports.clearCacheById = nativeBinding.clearCacheById;
582
583
  module.exports.collapseSourcemaps = nativeBinding.collapseSourcemaps;
583
584
  module.exports.enhancedTransform = nativeBinding.enhancedTransform;
584
585
  module.exports.enhancedTransformSync = nativeBinding.enhancedTransformSync;
@@ -119,6 +119,17 @@ interface MangleOptions {
119
119
  * @default false
120
120
  */
121
121
  keepNames?: boolean | MangleOptionsKeepNames;
122
+ /**
123
+ * Names that bindings must not be renamed to, and that bindings already
124
+ * carrying them keep. Equivalent to terser's `mangle.reserved`.
125
+ *
126
+ * Pass `['exports', 'module']` when minifying prebuilt CommonJS / UMD files
127
+ * that Node consumers `import` directly, so Node's cjs-module-lexer can still
128
+ * detect the mangled module's named exports.
129
+ *
130
+ * @default []
131
+ */
132
+ reserved?: Array<string>;
122
133
  /** Debug mangled names. */
123
134
  debug?: boolean;
124
135
  }
@@ -1369,6 +1380,7 @@ declare class BindingNormalizedOptions {
1369
1380
  get name(): string | null;
1370
1381
  get entryFilenames(): string | undefined;
1371
1382
  get chunkFilenames(): string | undefined;
1383
+ get sourcemapFilenames(): string | undefined;
1372
1384
  get assetFilenames(): string | undefined;
1373
1385
  get dir(): string | null;
1374
1386
  get file(): string | null;
@@ -1536,7 +1548,7 @@ interface BindingEnhancedTransformOptions {
1536
1548
  * Configure how TSX and JSX are transformed.
1537
1549
  * @see {@link https://oxc.rs/docs/guide/usage/transformer/jsx}
1538
1550
  */
1539
- jsx?: 'preserve' | JsxOptions;
1551
+ jsx?: 'preserve' | BindingJsxOptions;
1540
1552
  /**
1541
1553
  * Sets the target environment for the generated JavaScript.
1542
1554
  *
@@ -1579,8 +1591,6 @@ interface BindingEnhancedTransformOptions {
1579
1591
  tsconfig?: boolean | BindingTsconfigRawOptions;
1580
1592
  /** An input source map to collapse with the output source map. */
1581
1593
  inputMap?: SourceMap;
1582
- /** Experimental React Compiler transform. */
1583
- reactCompiler?: OxcReactCompilerOptions;
1584
1594
  }
1585
1595
  /** Result of the enhanced transform API. */
1586
1596
  interface BindingEnhancedTransformResult {
@@ -1690,6 +1700,31 @@ interface BindingIndentOptions {
1690
1700
  interface BindingIsolatedDeclarationPluginConfig {
1691
1701
  stripInternal?: boolean;
1692
1702
  }
1703
+ /**
1704
+ * Configure how TSX and JSX are transformed.
1705
+ *
1706
+ * Mirrors Oxc's JSX options with Rollipop-only React Compiler and refresh filters.
1707
+ */
1708
+ interface BindingJsxOptions {
1709
+ /** Decides which runtime to use. */
1710
+ runtime?: 'classic' | 'automatic';
1711
+ /** Emit development-specific information, such as `__source` and `__self`. */
1712
+ development?: boolean;
1713
+ /** Toggles whether or not to throw an error if an XML namespaced tag name is used. */
1714
+ throwIfNamespace?: boolean;
1715
+ /** Mark JSX elements and top-level React method calls as pure for tree shaking. */
1716
+ pure?: boolean;
1717
+ /** Replaces the import source when importing functions. */
1718
+ importSource?: string;
1719
+ /** Replace the function used when compiling JSX expressions. */
1720
+ pragma?: string;
1721
+ /** Replace the component used when compiling JSX fragments. */
1722
+ pragmaFrag?: string;
1723
+ /** Enable React Fast Refresh. */
1724
+ refresh?: boolean | BindingReactRefreshOptions;
1725
+ /** Enable React Compiler. */
1726
+ compiler?: OxcReactCompilerOptions;
1727
+ }
1693
1728
  interface BindingLogLocation {
1694
1729
  /** 1-based */
1695
1730
  line: number;
@@ -1726,6 +1761,18 @@ interface BindingPluginContextResolveOptions {
1726
1761
  custom?: number;
1727
1762
  vitePluginCustom?: BindingVitePluginCustom;
1728
1763
  }
1764
+ /** React Fast Refresh options. */
1765
+ interface BindingReactRefreshOptions {
1766
+ /** File patterns to transform. Empty means all files that enter the transform pipeline. */
1767
+ include?: Array<BindingStringOrRegex>;
1768
+ /** File patterns to skip. */
1769
+ exclude?: Array<BindingStringOrRegex>;
1770
+ /** Specify the identifier of the refresh registration variable. */
1771
+ refreshReg?: string;
1772
+ /** Specify the identifier of the refresh signature variable. */
1773
+ refreshSig?: string;
1774
+ emitFullSignatures?: boolean;
1775
+ }
1729
1776
  declare enum BindingRebuildStrategy {
1730
1777
  Always = 0,
1731
1778
  Auto = 1,
@@ -1925,6 +1972,8 @@ interface BindingViteTransformPluginConfig {
1925
1972
  transformOptions?: TransformOptions;
1926
1973
  yarnPnp?: boolean;
1927
1974
  }
1975
+ declare function clearCache(): Promise<void>;
1976
+ declare function clearCacheById(id: string): Promise<void>;
1928
1977
  interface ExternalMemoryStatus {
1929
1978
  freed: boolean;
1930
1979
  reason?: string;
@@ -2045,4 +2094,4 @@ interface ViteImportGlobMeta {
2045
2094
  isSubImportsPattern?: boolean;
2046
2095
  }
2047
2096
  //#endregion
2048
- export { BindingViteTransformPluginConfig as A, ParseResult as B, BindingViteImportGlobPluginConfig as C, BindingViteReactRefreshWrapperPluginConfig as D, BindingViteModulePreloadPolyfillPluginConfig as E, JsxOptions as F, SourceMap as G, PreRenderedChunk as H, MinifyOptions as I, isolatedDeclaration as J, TransformOptions as K, MinifyResult as L, ExternalMemoryStatus as M, IsolatedDeclarationsOptions as N, BindingViteReporterPluginConfig as O, IsolatedDeclarationsResult as P, NapiResolveOptions as R, BindingViteDynamicImportVarsPluginConfig as S, BindingViteManifestPluginConfig as T, ResolveResult as U, ParserOptions as V, ResolverFactory as W, moduleRunnerTransform as X, isolatedDeclarationSync as Y, BindingTransformHookExtraArgs as _, BindingEnhancedTransformOptions as a, BindingTsconfigResult as b, BindingHookResolveIdExtraArgs as c, BindingPluginContextResolveOptions as d, BindingRebuildStrategy as f, BindingRollipopReactRefreshWrapperPluginConfig as g, BindingRollipopReactNativeTransformResult as h, BindingClientHmrUpdate as i, BindingWatcherBundler as j, BindingViteResolvePluginConfig as k, BindingIsolatedDeclarationPluginConfig as l, BindingReplacePluginConfig as m, BindingBundleAnalyzerPluginConfig as n, BindingEnhancedTransformResult as o, BindingRenderedChunk as p, TsconfigCache as q, BindingBundleState as r, BindingEsmExternalRequirePluginConfig as s, BindingBuiltinPluginName as t, BindingMagicString as u, BindingTsconfigCompilerOptions as v, BindingViteJsonPluginConfig as w, BindingViteBuildImportAnalysisPluginConfig as x, BindingTsconfigRawOptions as y, OxcReactCompilerOptions as z };
2097
+ export { moduleRunnerTransform as $, BindingViteTransformPluginConfig as A, ParseResult as B, BindingViteImportGlobPluginConfig as C, BindingViteReactRefreshWrapperPluginConfig as D, BindingViteModulePreloadPolyfillPluginConfig as E, JsxOptions as F, ResolverFactory as G, PreRenderedChunk as H, MinifyOptions as I, TsconfigCache as J, SourceMap as K, MinifyResult as L, ExternalMemoryStatus as M, IsolatedDeclarationsOptions as N, BindingViteReporterPluginConfig as O, IsolatedDeclarationsResult as P, isolatedDeclarationSync as Q, NapiResolveOptions as R, BindingViteDynamicImportVarsPluginConfig as S, BindingViteManifestPluginConfig as T, ReactRefreshOptions as U, ParserOptions as V, ResolveResult as W, clearCacheById as X, clearCache as Y, isolatedDeclaration as Z, BindingTransformHookExtraArgs as _, BindingEnhancedTransformOptions as a, BindingTsconfigResult as b, BindingHookResolveIdExtraArgs as c, BindingPluginContextResolveOptions as d, BindingRebuildStrategy as f, BindingRollipopReactRefreshWrapperPluginConfig as g, BindingRollipopReactNativeTransformResult as h, BindingClientHmrUpdate as i, BindingWatcherBundler as j, BindingViteResolvePluginConfig as k, BindingIsolatedDeclarationPluginConfig as l, BindingReplacePluginConfig as m, BindingBundleAnalyzerPluginConfig as n, BindingEnhancedTransformResult as o, BindingRenderedChunk as p, TransformOptions as q, BindingBundleState as r, BindingEsmExternalRequirePluginConfig as s, BindingBuiltinPluginName as t, BindingMagicString as u, BindingTsconfigCompilerOptions as v, BindingViteJsonPluginConfig as w, BindingViteBuildImportAnalysisPluginConfig as x, BindingTsconfigRawOptions as y, OxcReactCompilerOptions as z };
@@ -1,14 +1,14 @@
1
- import { n as __toESM, t as require_binding } from "./binding-DamCAbY6.mjs";
2
- import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-aMKUxRpj.mjs";
3
- import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-Ddbkskw6.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-9kL0gFYL.mjs";
2
+ import { a as logInvalidLogPosition, c as logPluginError, n as error, r as logCycleLoading, t as augmentCodeLocation } from "./logs-ZGEh6uhb.mjs";
3
+ import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BzQ-7a-8.mjs";
4
4
  import { a as unreachable, o as unsupported, r as noop, t as arraify } from "./misc-CoQm4NHO.mjs";
5
- import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-BmTEI0xY.mjs";
5
+ import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-D2KvICgd.mjs";
6
6
  import { parseAst } from "../parse-ast-index.mjs";
7
7
  import path from "node:path";
8
8
  import * as filter from "@rolldown/pluginutils";
9
9
  import fsp from "node:fs/promises";
10
10
  //#region package.json
11
- var version = "1.0.20";
11
+ var version = "1.0.22";
12
12
  var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
13
13
  //#endregion
14
14
  //#region src/constants/version.ts
@@ -20,12 +20,6 @@ var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compat
20
20
  */
21
21
  const VERSION = version;
22
22
  //#endregion
23
- //#region src/constants/index.ts
24
- /**
25
- * Runtime helper module ID
26
- */
27
- const RUNTIME_MODULE_ID = "\0rolldown/runtime.js";
28
- //#endregion
29
23
  //#region src/log/logging.ts
30
24
  const LOG_LEVEL_SILENT = "silent";
31
25
  const LOG_LEVEL_ERROR = "error";
@@ -220,7 +214,7 @@ function bindingAssetSource(source) {
220
214
  return { inner: source };
221
215
  }
222
216
  //#endregion
223
- //#region \0@oxc-project+runtime@0.137.0/helpers/esm/decorate.js
217
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/decorate.js
224
218
  function __decorate(decorators, target, key, desc) {
225
219
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
226
220
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -633,6 +627,9 @@ var NormalizedOutputOptionsImpl = class extends PlainObjectLike {
633
627
  get sourcemap() {
634
628
  return this.inner.sourcemap;
635
629
  }
630
+ get sourcemapFileNames() {
631
+ return this.inner.sourcemapFilenames || this.outputOptions.sourcemapFileNames;
632
+ }
636
633
  get sourcemapBaseUrl() {
637
634
  return this.inner.sourcemapBaseUrl ?? void 0;
638
635
  }
@@ -754,6 +751,7 @@ __decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "assetFileNames",
754
751
  __decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "format", null);
755
752
  __decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "exports", null);
756
753
  __decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "sourcemap", null);
754
+ __decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "sourcemapFileNames", null);
757
755
  __decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "sourcemapBaseUrl", null);
758
756
  __decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "shimMissingExports", null);
759
757
  __decorate([lazyProp], NormalizedOutputOptionsImpl.prototype, "name", null);
@@ -1999,14 +1997,12 @@ function normalizeTransformOptions(inputOptions) {
1999
1997
  const dropLabels = transform?.dropLabels;
2000
1998
  let oxcTransformOptions;
2001
1999
  if (transform) {
2002
- const { define: _define, inject: _inject, dropLabels: _dropLabels, reactCompiler, ...rest } = transform;
2003
- if (Object.keys(rest).length > 0 || reactCompiler != null) {
2004
- if (rest.jsx === false) rest.jsx = "disable";
2005
- oxcTransformOptions = {
2006
- options: rest,
2007
- ...reactCompiler != null ? { reactCompiler } : {}
2008
- };
2009
- }
2000
+ const { define: _define, inject: _inject, dropLabels: _dropLabels, jsx, ...rest } = transform;
2001
+ const normalizedJsx = normalizeJsxOptions(jsx);
2002
+ if (Object.keys(rest).length > 0 || normalizedJsx != null) oxcTransformOptions = {
2003
+ options: rest,
2004
+ ...normalizedJsx != null ? { jsx: normalizedJsx } : {}
2005
+ };
2010
2006
  }
2011
2007
  return {
2012
2008
  define,
@@ -2015,6 +2011,24 @@ function normalizeTransformOptions(inputOptions) {
2015
2011
  oxcTransformOptions
2016
2012
  };
2017
2013
  }
2014
+ function normalizeJsxOptions(jsx) {
2015
+ if (jsx === false) return "disable";
2016
+ if (jsx == null || typeof jsx !== "object") return jsx;
2017
+ const { refresh, ...bindingJsxOptions } = jsx;
2018
+ if (refresh == null || typeof refresh !== "object") return {
2019
+ ...bindingJsxOptions,
2020
+ ...refresh !== void 0 ? { refresh } : {}
2021
+ };
2022
+ const { include, exclude, ...refreshOptions } = refresh;
2023
+ return {
2024
+ ...bindingJsxOptions,
2025
+ refresh: {
2026
+ ...refreshOptions,
2027
+ include: normalizedStringOrRegex(include),
2028
+ exclude: normalizedStringOrRegex(exclude)
2029
+ }
2030
+ };
2031
+ }
2018
2032
  //#endregion
2019
2033
  //#region src/utils/bindingify-input-options.ts
2020
2034
  function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, pluginContextData, normalizedOutputPlugins, onLog, logLevel, watchMode) {
@@ -2257,4 +2271,4 @@ function bindingifyPreserveEntrySignatures(preserveEntrySignatures) {
2257
2271
  };
2258
2272
  }
2259
2273
  //#endregion
2260
- export { version as C, description as S, LOG_LEVEL_INFO as _, transformModuleInfo as a, RUNTIME_MODULE_ID as b, __decorate as c, PlainObjectLike as d, MinimalPluginContextImpl as f, LOG_LEVEL_ERROR as g, LOG_LEVEL_DEBUG as h, PluginContextData as i, transformAssetSource as l, normalizeLog as m, bindingifyPlugin as n, transformToRollupOutput as o, normalizeHook as p, RolldownMagicString as r, transformRenderedChunk as s, bindingifyInputOptions as t, lazyProp as u, LOG_LEVEL_WARN as v, VERSION as x, logLevelPriority as y };
2274
+ export { version as S, LOG_LEVEL_INFO as _, transformModuleInfo as a, VERSION as b, __decorate as c, PlainObjectLike as d, MinimalPluginContextImpl as f, LOG_LEVEL_ERROR as g, LOG_LEVEL_DEBUG as h, PluginContextData as i, transformAssetSource as l, normalizeLog as m, bindingifyPlugin as n, transformToRollupOutput as o, normalizeHook as p, RolldownMagicString as r, transformRenderedChunk as s, bindingifyInputOptions as t, lazyProp as u, LOG_LEVEL_WARN as v, description as x, logLevelPriority as y };
@@ -1,4 +1,4 @@
1
- import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-Ddbkskw6.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-BzQ-7a-8.mjs";
2
2
  //#region src/builtin-plugin/constructors.ts
3
3
  function viteModulePreloadPolyfillPlugin(config) {
4
4
  return new BuiltinPlugin("builtin:vite-module-preload-polyfill", config);
@@ -1,5 +1,5 @@
1
- import { C as BindingViteImportGlobPluginConfig, D as BindingViteReactRefreshWrapperPluginConfig, E as BindingViteModulePreloadPolyfillPluginConfig, O as BindingViteReporterPluginConfig, S as BindingViteDynamicImportVarsPluginConfig, k as BindingViteResolvePluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteJsonPluginConfig, x as BindingViteBuildImportAnalysisPluginConfig } from "./binding-DE7ERejD.mjs";
2
- import { P as BuiltinPlugin, Ut as StringOrRegExp } from "./define-config-xmEHQczI.mjs";
1
+ import { C as BindingViteImportGlobPluginConfig, D as BindingViteReactRefreshWrapperPluginConfig, E as BindingViteModulePreloadPolyfillPluginConfig, O as BindingViteReporterPluginConfig, S as BindingViteDynamicImportVarsPluginConfig, k as BindingViteResolvePluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteJsonPluginConfig, x as BindingViteBuildImportAnalysisPluginConfig } from "./binding-CckXxUel.mjs";
2
+ import { F as BuiltinPlugin, Wt as StringOrRegExp } from "./define-config-BdEm3DW7.mjs";
3
3
 
4
4
  //#region src/builtin-plugin/constructors.d.ts
5
5
  declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;