rolldown 1.0.0-beta.34 → 1.0.0-beta.35

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 (33) hide show
  1. package/dist/cli.cjs +217 -211
  2. package/dist/cli.mjs +204 -204
  3. package/dist/config.cjs +3 -3
  4. package/dist/config.d.cts +1 -1
  5. package/dist/config.d.mts +1 -1
  6. package/dist/config.mjs +3 -3
  7. package/dist/experimental-index.cjs +23 -8
  8. package/dist/experimental-index.d.cts +13 -4
  9. package/dist/experimental-index.d.mts +13 -4
  10. package/dist/experimental-index.mjs +21 -7
  11. package/dist/filter-index.cjs +2 -1
  12. package/dist/filter-index.d.cts +1 -1
  13. package/dist/filter-index.d.mts +1 -1
  14. package/dist/index.cjs +2 -2
  15. package/dist/index.d.cts +1 -1
  16. package/dist/index.d.mts +1 -1
  17. package/dist/index.mjs +2 -2
  18. package/dist/parallel-plugin-worker.cjs +4 -3
  19. package/dist/parallel-plugin-worker.mjs +2 -2
  20. package/dist/parallel-plugin.d.cts +1 -1
  21. package/dist/parallel-plugin.d.mts +1 -1
  22. package/dist/parse-ast-index.cjs +1 -1
  23. package/dist/parse-ast-index.mjs +1 -1
  24. package/dist/shared/{define-config-DVSr6Unb.d.mts → define-config-3arq8OPE.d.mts} +29 -2
  25. package/dist/shared/{define-config-D5AluabE.d.cts → define-config-DhrkZ_o7.d.cts} +29 -2
  26. package/dist/shared/{load-config-CXpGBNqp.mjs → load-config-C93_L4MP.mjs} +1 -1
  27. package/dist/shared/{load-config-CefxSUnT.cjs → load-config-S_ofSLrj.cjs} +11 -6
  28. package/dist/shared/{parse-ast-index-DjojK-Vf.mjs → parse-ast-index-BadydpMA.mjs} +25 -25
  29. package/dist/shared/{parse-ast-index-BCv3Y1TT.cjs → parse-ast-index-cePJvlvW.cjs} +36 -24
  30. package/dist/shared/{prompt-QNI93ne7.cjs → prompt-Q05EYrFb.cjs} +8 -4
  31. package/dist/shared/{src-djpzntWm.cjs → src-BBMxhaqf.cjs} +93 -42
  32. package/dist/shared/{src-Chn1S4O2.mjs → src-D954P1TH.mjs} +75 -31
  33. package/package.json +18 -19
@@ -82,7 +82,7 @@ function requireNative() {
82
82
  try {
83
83
  const binding = require("@rolldown/binding-android-arm64");
84
84
  const bindingPackageVersion = require("@rolldown/binding-android-arm64/package.json").version;
85
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
85
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
86
86
  return binding;
87
87
  } catch (e) {
88
88
  loadErrors.push(e);
@@ -96,7 +96,7 @@ function requireNative() {
96
96
  try {
97
97
  const binding = require("@rolldown/binding-android-arm-eabi");
98
98
  const bindingPackageVersion = require("@rolldown/binding-android-arm-eabi/package.json").version;
99
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
99
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
100
100
  return binding;
101
101
  } catch (e) {
102
102
  loadErrors.push(e);
@@ -111,7 +111,7 @@ function requireNative() {
111
111
  try {
112
112
  const binding = require("@rolldown/binding-win32-x64-msvc");
113
113
  const bindingPackageVersion = require("@rolldown/binding-win32-x64-msvc/package.json").version;
114
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
114
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
115
115
  return binding;
116
116
  } catch (e) {
117
117
  loadErrors.push(e);
@@ -125,7 +125,7 @@ function requireNative() {
125
125
  try {
126
126
  const binding = require("@rolldown/binding-win32-ia32-msvc");
127
127
  const bindingPackageVersion = require("@rolldown/binding-win32-ia32-msvc/package.json").version;
128
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
128
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
129
129
  return binding;
130
130
  } catch (e) {
131
131
  loadErrors.push(e);
@@ -139,7 +139,7 @@ function requireNative() {
139
139
  try {
140
140
  const binding = require("@rolldown/binding-win32-arm64-msvc");
141
141
  const bindingPackageVersion = require("@rolldown/binding-win32-arm64-msvc/package.json").version;
142
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
142
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
143
143
  return binding;
144
144
  } catch (e) {
145
145
  loadErrors.push(e);
@@ -154,7 +154,7 @@ function requireNative() {
154
154
  try {
155
155
  const binding = require("@rolldown/binding-darwin-universal");
156
156
  const bindingPackageVersion = require("@rolldown/binding-darwin-universal/package.json").version;
157
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
157
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
158
158
  return binding;
159
159
  } catch (e) {
160
160
  loadErrors.push(e);
@@ -168,7 +168,7 @@ function requireNative() {
168
168
  try {
169
169
  const binding = require("@rolldown/binding-darwin-x64");
170
170
  const bindingPackageVersion = require("@rolldown/binding-darwin-x64/package.json").version;
171
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
171
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
172
172
  return binding;
173
173
  } catch (e) {
174
174
  loadErrors.push(e);
@@ -182,7 +182,7 @@ function requireNative() {
182
182
  try {
183
183
  const binding = require("@rolldown/binding-darwin-arm64");
184
184
  const bindingPackageVersion = require("@rolldown/binding-darwin-arm64/package.json").version;
185
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
185
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
186
186
  return binding;
187
187
  } catch (e) {
188
188
  loadErrors.push(e);
@@ -197,7 +197,7 @@ function requireNative() {
197
197
  try {
198
198
  const binding = require("@rolldown/binding-freebsd-x64");
199
199
  const bindingPackageVersion = require("@rolldown/binding-freebsd-x64/package.json").version;
200
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
200
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
201
201
  return binding;
202
202
  } catch (e) {
203
203
  loadErrors.push(e);
@@ -211,7 +211,7 @@ function requireNative() {
211
211
  try {
212
212
  const binding = require("@rolldown/binding-freebsd-arm64");
213
213
  const bindingPackageVersion = require("@rolldown/binding-freebsd-arm64/package.json").version;
214
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
214
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
215
215
  return binding;
216
216
  } catch (e) {
217
217
  loadErrors.push(e);
@@ -226,7 +226,7 @@ function requireNative() {
226
226
  try {
227
227
  const binding = require("@rolldown/binding-linux-x64-musl");
228
228
  const bindingPackageVersion = require("@rolldown/binding-linux-x64-musl/package.json").version;
229
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
229
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
230
230
  return binding;
231
231
  } catch (e) {
232
232
  loadErrors.push(e);
@@ -240,7 +240,7 @@ function requireNative() {
240
240
  try {
241
241
  const binding = require("@rolldown/binding-linux-x64-gnu");
242
242
  const bindingPackageVersion = require("@rolldown/binding-linux-x64-gnu/package.json").version;
243
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
243
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
244
244
  return binding;
245
245
  } catch (e) {
246
246
  loadErrors.push(e);
@@ -255,7 +255,7 @@ function requireNative() {
255
255
  try {
256
256
  const binding = require("@rolldown/binding-linux-arm64-musl");
257
257
  const bindingPackageVersion = require("@rolldown/binding-linux-arm64-musl/package.json").version;
258
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
258
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
259
259
  return binding;
260
260
  } catch (e) {
261
261
  loadErrors.push(e);
@@ -269,7 +269,7 @@ function requireNative() {
269
269
  try {
270
270
  const binding = require("@rolldown/binding-linux-arm64-gnu");
271
271
  const bindingPackageVersion = require("@rolldown/binding-linux-arm64-gnu/package.json").version;
272
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
272
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
273
273
  return binding;
274
274
  } catch (e) {
275
275
  loadErrors.push(e);
@@ -284,7 +284,7 @@ function requireNative() {
284
284
  try {
285
285
  const binding = require("@rolldown/binding-linux-arm-musleabihf");
286
286
  const bindingPackageVersion = require("@rolldown/binding-linux-arm-musleabihf/package.json").version;
287
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
287
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
288
288
  return binding;
289
289
  } catch (e) {
290
290
  loadErrors.push(e);
@@ -298,7 +298,7 @@ function requireNative() {
298
298
  try {
299
299
  const binding = require("@rolldown/binding-linux-arm-gnueabihf");
300
300
  const bindingPackageVersion = require("@rolldown/binding-linux-arm-gnueabihf/package.json").version;
301
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
301
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
302
302
  return binding;
303
303
  } catch (e) {
304
304
  loadErrors.push(e);
@@ -313,7 +313,7 @@ function requireNative() {
313
313
  try {
314
314
  const binding = require("@rolldown/binding-linux-riscv64-musl");
315
315
  const bindingPackageVersion = require("@rolldown/binding-linux-riscv64-musl/package.json").version;
316
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
316
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
317
317
  return binding;
318
318
  } catch (e) {
319
319
  loadErrors.push(e);
@@ -327,7 +327,7 @@ function requireNative() {
327
327
  try {
328
328
  const binding = require("@rolldown/binding-linux-riscv64-gnu");
329
329
  const bindingPackageVersion = require("@rolldown/binding-linux-riscv64-gnu/package.json").version;
330
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
330
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
331
331
  return binding;
332
332
  } catch (e) {
333
333
  loadErrors.push(e);
@@ -342,7 +342,7 @@ function requireNative() {
342
342
  try {
343
343
  const binding = require("@rolldown/binding-linux-ppc64-gnu");
344
344
  const bindingPackageVersion = require("@rolldown/binding-linux-ppc64-gnu/package.json").version;
345
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
345
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
346
346
  return binding;
347
347
  } catch (e) {
348
348
  loadErrors.push(e);
@@ -356,7 +356,7 @@ function requireNative() {
356
356
  try {
357
357
  const binding = require("@rolldown/binding-linux-s390x-gnu");
358
358
  const bindingPackageVersion = require("@rolldown/binding-linux-s390x-gnu/package.json").version;
359
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
359
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
360
360
  return binding;
361
361
  } catch (e) {
362
362
  loadErrors.push(e);
@@ -371,7 +371,7 @@ function requireNative() {
371
371
  try {
372
372
  const binding = require("@rolldown/binding-openharmony-arm64");
373
373
  const bindingPackageVersion = require("@rolldown/binding-openharmony-arm64/package.json").version;
374
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
374
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
375
375
  return binding;
376
376
  } catch (e) {
377
377
  loadErrors.push(e);
@@ -385,7 +385,7 @@ function requireNative() {
385
385
  try {
386
386
  const binding = require("@rolldown/binding-openharmony-x64");
387
387
  const bindingPackageVersion = require("@rolldown/binding-openharmony-x64/package.json").version;
388
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
388
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
389
389
  return binding;
390
390
  } catch (e) {
391
391
  loadErrors.push(e);
@@ -399,7 +399,7 @@ function requireNative() {
399
399
  try {
400
400
  const binding = require("@rolldown/binding-openharmony-arm");
401
401
  const bindingPackageVersion = require("@rolldown/binding-openharmony-arm/package.json").version;
402
- if (bindingPackageVersion !== "1.0.0-beta.34" && 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.0-beta.34 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
402
+ if (bindingPackageVersion !== "1.0.0-beta.35" && 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.0-beta.35 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
403
403
  return binding;
404
404
  } catch (e) {
405
405
  loadErrors.push(e);
@@ -429,7 +429,7 @@ if (!nativeBinding) {
429
429
  if (loadErrors.length > 0) throw new Error("Cannot find native binding. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try `npm i` again after removing both package-lock.json and node_modules directory.", { cause: loadErrors });
430
430
  throw new Error(`Failed to load native binding`);
431
431
  }
432
- const { minify, Severity, ParseResult, ExportExportNameKind, ExportImportNameKind, ExportLocalNameKind, ImportNameKind, parseAsync, parseSync, rawTransferSupported, ResolverFactory, EnforceExtension, ModuleType, sync, HelperMode, isolatedDeclaration, moduleRunnerTransform, transform, BindingBundleEndEventData, BindingBundleErrorEventData, BindingBundler, BindingBundlerImpl, BindingCallableBuiltinPlugin, BindingChunkingContext, BindingDevEngine, BindingHmrOutput, BindingModuleInfo, BindingNormalizedOptions, BindingOutputAsset, BindingOutputChunk, BindingOutputs, BindingPluginContext, BindingRenderedChunk, BindingRenderedChunkMeta, BindingRenderedModule, BindingTransformPluginContext, BindingWatcher, BindingWatcherChangeData, BindingWatcherEvent, ParallelJsPluginRegistry, BindingAttachDebugInfo, BindingBuiltinPluginName, BindingChunkModuleOrderBy, BindingJsx, BindingLogLevel, BindingPluginOrder, FilterTokenKind, registerPlugins, shutdownAsyncRuntime, startAsyncRuntime, JsWatcher } = nativeBinding;
432
+ const { minify, Severity, ParseResult, ExportExportNameKind, ExportImportNameKind, ExportLocalNameKind, ImportNameKind, parseAsync, parseSync, rawTransferSupported, ResolverFactory, EnforceExtension, ModuleType, sync, HelperMode, isolatedDeclaration, moduleRunnerTransform, transform, BindingBundleEndEventData, BindingBundleErrorEventData, BindingBundler, BindingBundlerImpl, BindingCallableBuiltinPlugin, BindingChunkingContext, BindingDevEngine, BindingHmrOutput, BindingModuleInfo, BindingNormalizedOptions, BindingOutputAsset, BindingOutputChunk, BindingOutputs, BindingPluginContext, BindingRenderedChunk, BindingRenderedChunkMeta, BindingRenderedModule, BindingTransformPluginContext, BindingWatcher, BindingWatcherChangeData, BindingWatcherEvent, ParallelJsPluginRegistry, TraceSubscriberGuard, BindingAttachDebugInfo, BindingBuiltinPluginName, BindingChunkModuleOrderBy, BindingJsx, BindingLogLevel, BindingPluginOrder, BindingPropertyReadSideEffects, BindingPropertyWriteSideEffects, FilterTokenKind, initTraceSubscriber, registerPlugins, shutdownAsyncRuntime, startAsyncRuntime, JsWatcher } = nativeBinding;
433
433
 
434
434
  //#endregion
435
435
  //#region src/utils/code-frame.ts
@@ -743,6 +743,18 @@ Object.defineProperty(exports, 'BindingPluginOrder', {
743
743
  return BindingPluginOrder;
744
744
  }
745
745
  });
746
+ Object.defineProperty(exports, 'BindingPropertyReadSideEffects', {
747
+ enumerable: true,
748
+ get: function () {
749
+ return BindingPropertyReadSideEffects;
750
+ }
751
+ });
752
+ Object.defineProperty(exports, 'BindingPropertyWriteSideEffects', {
753
+ enumerable: true,
754
+ get: function () {
755
+ return BindingPropertyWriteSideEffects;
756
+ }
757
+ });
746
758
  Object.defineProperty(exports, 'BindingWatcher', {
747
759
  enumerable: true,
748
760
  get: function () {
@@ -1,8 +1,12 @@
1
1
  const require_chunk = require('./chunk-DDkG_k5U.cjs');
2
- const node_process = require_chunk.__toESM(require("node:process"));
3
- const node_util = require_chunk.__toESM(require("node:util"));
4
- const node_tty = require_chunk.__toESM(require("node:tty"));
5
- const node_readline = require_chunk.__toESM(require("node:readline"));
2
+ let node_process = require("node:process");
3
+ node_process = require_chunk.__toESM(node_process);
4
+ let node_util = require("node:util");
5
+ node_util = require_chunk.__toESM(node_util);
6
+ let node_tty = require("node:tty");
7
+ node_tty = require_chunk.__toESM(node_tty);
8
+ let node_readline = require("node:readline");
9
+ node_readline = require_chunk.__toESM(node_readline);
6
10
 
7
11
  //#region ../../node_modules/.pnpm/consola@3.4.2/node_modules/consola/dist/chunks/prompt.mjs
8
12
  function getDefaultExportFromCjs(x$1) {
@@ -1,26 +1,41 @@
1
1
  const require_chunk = require('./chunk-DDkG_k5U.cjs');
2
- const require_parse_ast_index = require('./parse-ast-index-BCv3Y1TT.cjs');
2
+ const require_parse_ast_index = require('./parse-ast-index-cePJvlvW.cjs');
3
3
  const require_misc = require('./misc-DksvspN4.cjs');
4
- const node_path = require_chunk.__toESM(require("node:path"));
5
- const node_url = require_chunk.__toESM(require("node:url"));
6
- const ansis = require_chunk.__toESM(require("ansis"));
7
- const __rolldown_pluginutils = require_chunk.__toESM(require("@rolldown/pluginutils"));
8
- const node_fs_promises = require_chunk.__toESM(require("node:fs/promises"));
9
- const node_os = require_chunk.__toESM(require("node:os"));
10
- const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
4
+ let node_worker_threads = require("node:worker_threads");
5
+ node_worker_threads = require_chunk.__toESM(node_worker_threads);
6
+ let node_path = require("node:path");
7
+ node_path = require_chunk.__toESM(node_path);
8
+ let node_url = require("node:url");
9
+ node_url = require_chunk.__toESM(node_url);
10
+ let ansis = require("ansis");
11
+ ansis = require_chunk.__toESM(ansis);
12
+ let __rolldown_pluginutils = require("@rolldown/pluginutils");
13
+ __rolldown_pluginutils = require_chunk.__toESM(__rolldown_pluginutils);
14
+ let node_fs_promises = require("node:fs/promises");
15
+ node_fs_promises = require_chunk.__toESM(node_fs_promises);
16
+ let node_os = require("node:os");
17
+ node_os = require_chunk.__toESM(node_os);
11
18
 
12
19
  //#region package.json
13
- var version = "1.0.0-beta.34";
20
+ var version = "1.0.0-beta.35";
14
21
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
15
22
 
16
23
  //#endregion
17
24
  //#region src/builtin-plugin/utils.ts
25
+ const BuiltinClassSymbol = Symbol.for("__RolldownBuiltinPlugin__");
18
26
  var BuiltinPlugin = class {
19
27
  constructor(name, _options) {
20
28
  this.name = name;
21
29
  this._options = _options;
30
+ this[BuiltinClassSymbol] = true;
22
31
  }
23
32
  };
33
+ function isBuiltinPlugin(obj) {
34
+ return obj && obj[BuiltinClassSymbol] === true;
35
+ }
36
+ function createBuiltinPlugin(name, options) {
37
+ return new BuiltinPlugin(name, options);
38
+ }
24
39
  function makeBuiltinPluginCallable(plugin) {
25
40
  let callablePlugin = new require_parse_ast_index.BindingCallableBuiltinPlugin(bindingifyBuiltInPlugin(plugin));
26
41
  const wrappedPlugin = plugin;
@@ -182,59 +197,59 @@ function isReadonlyArray(input) {
182
197
  //#endregion
183
198
  //#region src/builtin-plugin/constructors.ts
184
199
  function modulePreloadPolyfillPlugin(config) {
185
- return new BuiltinPlugin("builtin:module-preload-polyfill", config);
200
+ return createBuiltinPlugin("builtin:module-preload-polyfill", config);
186
201
  }
187
202
  function dynamicImportVarsPlugin(config) {
188
203
  if (config) {
189
204
  config.include = normalizedStringOrRegex(config.include);
190
205
  config.exclude = normalizedStringOrRegex(config.exclude);
191
206
  }
192
- return new BuiltinPlugin("builtin:dynamic-import-vars", config);
207
+ return createBuiltinPlugin("builtin:dynamic-import-vars", config);
193
208
  }
194
209
  function importGlobPlugin(config) {
195
- return new BuiltinPlugin("builtin:import-glob", config);
210
+ return createBuiltinPlugin("builtin:import-glob", config);
196
211
  }
197
212
  function reporterPlugin(config) {
198
- return new BuiltinPlugin("builtin:reporter", config);
213
+ return createBuiltinPlugin("builtin:reporter", config);
199
214
  }
200
215
  function manifestPlugin(config) {
201
- return new BuiltinPlugin("builtin:manifest", config);
216
+ return createBuiltinPlugin("builtin:manifest", config);
202
217
  }
203
218
  function wasmHelperPlugin(config) {
204
- return new BuiltinPlugin("builtin:wasm-helper", config);
219
+ return createBuiltinPlugin("builtin:wasm-helper", config);
205
220
  }
206
221
  function wasmFallbackPlugin() {
207
- const builtinPlugin = new BuiltinPlugin("builtin:wasm-fallback");
222
+ const builtinPlugin = createBuiltinPlugin("builtin:wasm-fallback");
208
223
  return makeBuiltinPluginCallable(builtinPlugin);
209
224
  }
210
225
  function loadFallbackPlugin() {
211
- return new BuiltinPlugin("builtin:load-fallback");
226
+ return createBuiltinPlugin("builtin:load-fallback");
212
227
  }
213
228
  function jsonPlugin(config) {
214
- const builtinPlugin = new BuiltinPlugin("builtin:json", config);
229
+ const builtinPlugin = createBuiltinPlugin("builtin:json", config);
215
230
  return makeBuiltinPluginCallable(builtinPlugin);
216
231
  }
217
232
  function buildImportAnalysisPlugin(config) {
218
- return new BuiltinPlugin("builtin:build-import-analysis", config);
233
+ return createBuiltinPlugin("builtin:build-import-analysis", config);
219
234
  }
220
235
  function viteResolvePlugin(config) {
221
- const builtinPlugin = new BuiltinPlugin("builtin:vite-resolve", config);
236
+ const builtinPlugin = createBuiltinPlugin("builtin:vite-resolve", config);
222
237
  return makeBuiltinPluginCallable(builtinPlugin);
223
238
  }
224
239
  function isolatedDeclarationPlugin(config) {
225
- return new BuiltinPlugin("builtin:isolated-declaration", config);
240
+ return createBuiltinPlugin("builtin:isolated-declaration", config);
226
241
  }
227
242
  function assetPlugin(config) {
228
- return new BuiltinPlugin("builtin:asset", config);
243
+ return createBuiltinPlugin("builtin:asset", config);
229
244
  }
230
245
  function webWorkerPostPlugin() {
231
- return new BuiltinPlugin("builtin:web-worker-post");
246
+ return createBuiltinPlugin("builtin:web-worker-post");
232
247
  }
233
248
  function oxcRuntimePlugin(config) {
234
- return new BuiltinPlugin("builtin:oxc-runtime", config);
249
+ return createBuiltinPlugin("builtin:oxc-runtime", config);
235
250
  }
236
251
  function esmExternalRequirePlugin(config) {
237
- return new BuiltinPlugin("builtin:esm-external-require", config);
252
+ return createBuiltinPlugin("builtin:esm-external-require", config);
238
253
  }
239
254
 
240
255
  //#endregion
@@ -328,7 +343,7 @@ function checkOutputPluginOption(plugins, onLog) {
328
343
  function normalizePlugins(plugins, anonymousPrefix) {
329
344
  for (const [index, plugin] of plugins.entries()) {
330
345
  if ("_parallel" in plugin) continue;
331
- if (plugin instanceof BuiltinPlugin) continue;
346
+ if (isBuiltinPlugin(plugin)) continue;
332
347
  if (!plugin.name) plugin.name = `${anonymousPrefix}${index + 1}`;
333
348
  }
334
349
  return plugins;
@@ -397,7 +412,7 @@ function getObjectPlugins(plugins) {
397
412
  return plugins.filter((plugin) => {
398
413
  if (!plugin) return void 0;
399
414
  if ("_parallel" in plugin) return void 0;
400
- if (plugin instanceof BuiltinPlugin) return void 0;
415
+ if (isBuiltinPlugin(plugin)) return void 0;
401
416
  return plugin;
402
417
  });
403
418
  }
@@ -1957,10 +1972,19 @@ const TreeshakingOptionsSchema = union([boolean(), looseObject({
1957
1972
  annotations: optional(boolean()),
1958
1973
  manualPureFunctions: optional(array(string())),
1959
1974
  unknownGlobalSideEffects: optional(boolean()),
1960
- commonjs: optional(boolean())
1975
+ commonjs: optional(boolean()),
1976
+ propertyReadSideEffects: optional(union([literal(false), literal("always")])),
1977
+ propertyWriteSideEffects: optional(union([literal(false), literal("always")]))
1961
1978
  })]);
1962
1979
  const OptimizationOptionsSchema = strictObject({
1963
- inlineConst: pipe(optional(boolean()), description("Enable crossmodule constant inlining")),
1980
+ inlineConst: pipe(optional(union([
1981
+ boolean(),
1982
+ literal("smart"),
1983
+ strictObject({
1984
+ mode: optional(union([literal("all"), literal("smart")])),
1985
+ pass: optional(number())
1986
+ })
1987
+ ])), description("Enable crossmodule constant inlining")),
1964
1988
  pifeForModuleWrappers: pipe(optional(boolean()), description("Use PIFE pattern for module wrappers"))
1965
1989
  });
1966
1990
  const OnLogSchema = pipe(function_(), args(tuple([
@@ -1970,6 +1994,7 @@ const OnLogSchema = pipe(function_(), args(tuple([
1970
1994
  ])));
1971
1995
  const OnwarnSchema = pipe(function_(), args(tuple([RollupLogSchema, pipe(function_(), args(tuple([union([RollupLogWithStringSchema, pipe(function_(), returns(RollupLogWithStringSchema))])])))])));
1972
1996
  const HmrSchema = union([boolean(), strictObject({
1997
+ new: optional(boolean()),
1973
1998
  port: optional(number()),
1974
1999
  host: optional(string()),
1975
2000
  implement: optional(string())
@@ -2206,15 +2231,19 @@ function validateCliOptions(options) {
2206
2231
  return `Invalid value for option ${option}: ${issue.message}`;
2207
2232
  })];
2208
2233
  }
2209
- const inputHelperMsgRecord = { output: { ignored: true } };
2234
+ const inputHelperMsgRecord = {
2235
+ output: { ignored: true },
2236
+ "resolve.tsconfigFilename": { issueMsg: "It is deprecated. Please use the top-level `tsconfig` option instead." }
2237
+ };
2210
2238
  const outputHelperMsgRecord = {};
2211
2239
  function validateOption(key, options) {
2240
+ if (typeof options !== "object") throw new Error(`Invalid ${key} options. Expected an Object but received ${JSON.stringify(options)}.`);
2212
2241
  if (globalThis.process?.env?.ROLLUP_TEST) return;
2213
2242
  let parsed = safeParse(key === "input" ? InputOptionsSchema : OutputOptionsSchema, options);
2214
2243
  if (!parsed.success) {
2215
2244
  const errors = parsed.issues.map((issue) => {
2216
- const issuePaths = issue.path.map((path$2) => path$2.key);
2217
2245
  let issueMsg = issue.message;
2246
+ const issuePaths = issue.path.map((path$2) => path$2.key);
2218
2247
  if (issue.type === "union") {
2219
2248
  const subIssue = issue.issues?.find((i) => !(i.type !== issue.received && i.input === issue.input));
2220
2249
  if (subIssue) {
@@ -2225,9 +2254,9 @@ function validateOption(key, options) {
2225
2254
  const stringPath = issuePaths.join(".");
2226
2255
  const helper = key === "input" ? inputHelperMsgRecord[stringPath] : outputHelperMsgRecord[stringPath];
2227
2256
  if (helper && helper.ignored) return "";
2228
- return `- For the "${stringPath}". ${issueMsg}. ${helper ? helper.msg : ""}`;
2257
+ return `- For the "${stringPath}". ${helper?.issueMsg || issueMsg + "."} ${helper?.help ? `\n Help: ${helper.help}` : ""}`;
2229
2258
  }).filter(Boolean);
2230
- if (errors.length) console.warn(`Warning validate ${key} options.\n` + errors.join("\n"));
2259
+ if (errors.length) console.warn(`\x1b[33mWarning: Invalid ${key} options (${errors.length} issue${errors.length === 1 ? "" : "s"} found)\n${errors.join("\n")}\x1b[0m`);
2231
2260
  }
2232
2261
  }
2233
2262
  function getInputCliKeys() {
@@ -2300,6 +2329,10 @@ function getErrorMessage(e$1) {
2300
2329
  s += message;
2301
2330
  if (e$1.frame) s = joinNewLine(s, e$1.frame);
2302
2331
  if (e$1.stack) s = joinNewLine(s, e$1.stack.replace(message, ""));
2332
+ if (e$1.cause) {
2333
+ s = joinNewLine(s, "Caused by:");
2334
+ s = joinNewLine(s, getErrorMessage(e$1.cause).split("\n").map((line) => " " + line).join("\n"));
2335
+ }
2303
2336
  return s;
2304
2337
  }
2305
2338
  function joinNewLine(s1, s2) {
@@ -3814,7 +3847,7 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
3814
3847
  const pluginContextData = new PluginContextData(onLog, outputOptions, normalizedOutputPlugins);
3815
3848
  const plugins = rawPlugins.map((plugin) => {
3816
3849
  if ("_parallel" in plugin) return void 0;
3817
- if (plugin instanceof BuiltinPlugin) return bindingifyBuiltInPlugin(plugin);
3850
+ if (isBuiltinPlugin(plugin)) return bindingifyBuiltInPlugin(plugin);
3818
3851
  return bindingifyPlugin(plugin, inputOptions, outputOptions, pluginContextData, normalizedOutputPlugins, onLog, logLevel, watchMode);
3819
3852
  });
3820
3853
  const { jsx, transform } = bindingifyJsx(onLog, inputOptions.jsx, inputOptions.transform);
@@ -3827,7 +3860,7 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
3827
3860
  platform: inputOptions.platform,
3828
3861
  shimMissingExports: inputOptions.shimMissingExports,
3829
3862
  logLevel: bindingifyLogLevel(logLevel),
3830
- onLog,
3863
+ onLog: async (level, log) => onLog(level, log),
3831
3864
  treeshake: bindingifyTreeshakeOptions(inputOptions.treeshake),
3832
3865
  moduleTypes: inputOptions.moduleTypes,
3833
3866
  define: inputOptions.define ? Object.entries(inputOptions.define) : void 0,
@@ -3857,7 +3890,7 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
3857
3890
  preserveEntrySignatures: bindingifyPreserveEntrySignatures(inputOptions.preserveEntrySignatures),
3858
3891
  optimization: inputOptions.optimization,
3859
3892
  context: inputOptions.context,
3860
- tsconfig: inputOptions.tsconfig
3893
+ tsconfig: inputOptions.resolve?.tsconfigFilename ?? inputOptions.tsconfig
3861
3894
  };
3862
3895
  }
3863
3896
  function bindingifyHmr(hmr) {
@@ -4032,6 +4065,24 @@ function bindingifyTreeshakeOptions(config) {
4032
4065
  unknownGlobalSideEffects: config.unknownGlobalSideEffects,
4033
4066
  commonjs: config.commonjs
4034
4067
  };
4068
+ switch (config.propertyReadSideEffects) {
4069
+ case "always":
4070
+ normalizedConfig.propertyReadSideEffects = require_parse_ast_index.BindingPropertyReadSideEffects.Always;
4071
+ break;
4072
+ case false:
4073
+ normalizedConfig.propertyReadSideEffects = require_parse_ast_index.BindingPropertyReadSideEffects.False;
4074
+ break;
4075
+ default:
4076
+ }
4077
+ switch (config.propertyWriteSideEffects) {
4078
+ case "always":
4079
+ normalizedConfig.propertyWriteSideEffects = require_parse_ast_index.BindingPropertyWriteSideEffects.Always;
4080
+ break;
4081
+ case false:
4082
+ normalizedConfig.propertyWriteSideEffects = require_parse_ast_index.BindingPropertyWriteSideEffects.False;
4083
+ break;
4084
+ default:
4085
+ }
4035
4086
  if (config.moduleSideEffects === void 0) normalizedConfig.moduleSideEffects = true;
4036
4087
  else if (config.moduleSideEffects === "no-external") normalizedConfig.moduleSideEffects = [{
4037
4088
  external: true,
@@ -4416,12 +4467,6 @@ function defineConfig(config) {
4416
4467
  const VERSION = version;
4417
4468
 
4418
4469
  //#endregion
4419
- Object.defineProperty(exports, 'BuiltinPlugin', {
4420
- enumerable: true,
4421
- get: function () {
4422
- return BuiltinPlugin;
4423
- }
4424
- });
4425
4470
  Object.defineProperty(exports, 'PluginContextData', {
4426
4471
  enumerable: true,
4427
4472
  get: function () {
@@ -4464,6 +4509,12 @@ Object.defineProperty(exports, 'buildImportAnalysisPlugin', {
4464
4509
  return buildImportAnalysisPlugin;
4465
4510
  }
4466
4511
  });
4512
+ Object.defineProperty(exports, 'createBuiltinPlugin', {
4513
+ enumerable: true,
4514
+ get: function () {
4515
+ return createBuiltinPlugin;
4516
+ }
4517
+ });
4467
4518
  Object.defineProperty(exports, 'createBundlerImpl', {
4468
4519
  enumerable: true,
4469
4520
  get: function () {