@voidzero-dev/vite-plus-core 0.2.6 → 0.2.7

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.
@@ -103,7 +103,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
103
103
  try {
104
104
  const binding = __require("vite-plus/binding");
105
105
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
106
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
106
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
119
119
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
120
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
120
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
134
134
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
135
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
135
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
148
148
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
149
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
149
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
163
163
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
164
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
164
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
177
177
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
178
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
178
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
192
192
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
193
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
193
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
206
206
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
207
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
207
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
220
220
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
221
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
221
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
235
235
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
236
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
236
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
249
249
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
250
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
250
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
264
264
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
265
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
265
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
278
278
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
279
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
279
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
293
293
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
294
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
294
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
307
307
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
308
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
308
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
322
322
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
323
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
323
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
336
336
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
337
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
337
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
351
351
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
352
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
352
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
365
365
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
366
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
366
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
380
380
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
381
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
381
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
394
394
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
395
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
395
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
409
409
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
410
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
410
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
423
423
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
424
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
424
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
438
438
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
439
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
439
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
452
452
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
453
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
453
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 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("vite-plus/binding");
466
466
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
467
- if (bindingPackageVersion !== "0.2.6" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.6 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
467
+ if (bindingPackageVersion !== "0.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
468
468
  return binding;
469
469
  } catch (e) {
470
470
  loadErrors.push(e);
@@ -8,7 +8,7 @@ import path from "node:path";
8
8
  import * as filter from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
9
9
  import fsp from "node:fs/promises";
10
10
  //#region package.json
11
- var version = "0.2.6";
11
+ var version = "0.2.7";
12
12
  var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
13
13
  //#endregion
14
14
  //#region src/constants/version.ts
@@ -1,6 +1,6 @@
1
- import { A as __toESM, C as resolveComma, D as __commonJSMin, E as toArray, O as __exportAll$1, S as promiseWithResolvers, T as slash, _ as debounce, b as noop, c as blue, d as green, g as yellow, h as underline, l as bold, n as z, r as createDebug, t as R, u as dim, v as importWithError, w as resolveRegex, x as pkgExists, y as matchPattern } from "./main-BdzlWPt6.js";
2
- import { a as createSuppressWarnings, c as globalLogger, i as createLogger, l as prettyFormat, n as version, o as generateColor, r as LogLevels, s as getNameLabel } from "./debug-BntVTkRq-BGIoAiTa.js";
3
- import { A as fsStat, D as fsCopy, E as formatBytes, M as stripExtname, O as fsExists, S as filename_js_to_dts, a as resolveTarget, d as satisfies, g as RE_JS, j as lowestCommonAncestor, k as fsRemove, m as RE_DTS, o as validateSea, p as RE_CSS, r as buildExe, s as coerce, u as parseRange, v as RE_NODE_MODULES$1 } from "./target-CNxIDvSz-eoHNdJNs.js";
1
+ import { A as __toESM, C as resolveComma, D as __commonJSMin, E as toArray, O as __exportAll$1, S as pkgExists, T as slash, _ as createConcurrencyExecutor, b as matchPattern, c as blue, d as green, g as yellow, h as underline, l as bold, n as z, r as createDebug, t as R, u as dim, v as debounce, w as resolveRegex, x as noop, y as importWithError } from "./main-DI8qthUB.js";
2
+ import { a as createSuppressWarnings, c as globalLogger, i as createLogger, l as prettyFormat, n as version, o as generateColor, r as LogLevels, s as getNameLabel } from "./debug-CKcBYQLP-GQrJ--dM.js";
3
+ import { A as fsStat, D as fsCopy, E as formatBytes, M as stripExtname, O as fsExists, S as filename_js_to_dts, a as resolveTarget, d as satisfies, g as RE_JS, j as lowestCommonAncestor, k as fsRemove, m as RE_DTS, o as validateSea, p as RE_CSS, r as buildExe, s as coerce, u as parseRange, v as RE_NODE_MODULES$1 } from "./target-Bab3CUeB-Di6tCARH.js";
4
4
  import { n as ee } from "./dist-DCMiHFrJ.js";
5
5
  import module$1, { builtinModules, createRequire, isBuiltin } from "node:module";
6
6
  import process$1 from "node:process";
@@ -23,7 +23,7 @@ import { AsyncLocalStorage } from "node:async_hooks";
23
23
  import { Buffer } from "node:buffer";
24
24
  import { brotliCompress, gzip } from "node:zlib";
25
25
  import { importGlobPlugin } from "@voidzero-dev/vite-plus-core/rolldown/experimental";
26
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/deps-BM9kaLOG.mjs
26
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/deps-B_uZzM4C.mjs
27
27
  const shimFile = path.resolve(import.meta.dirname, "..", "esm-shims.js");
28
28
  const shimsInject = {
29
29
  __dirname: [shimFile, "__dirname"],
@@ -175,9 +175,9 @@ function DepsPlugin({ pkg, deps: { neverBundle, alwaysBundle: jsAlwaysBundle, on
175
175
  if (onlyBundle) errors.push(...Array.from(deps).filter((dep) => !matchPattern(dep, onlyBundle)).map((dep) => `${yellow(dep)} is located in ${blue`node_modules`} but is not included in ${blue`deps.onlyBundle`} option.\nTo fix this, either add it to ${blue`deps.onlyBundle`}, declare it as a production or peer dependency in your package.json, or externalize it manually.\nImported by\n${[...importers.get(dep) || []].map((s) => `- ${underline(s)}`).join("\n")}`));
176
176
  if (errors.length) this.error(errors.join("\n\n"));
177
177
  if (onlyBundle) {
178
- const unusedPatterns = onlyBundle.filter((pattern) => !Array.from(deps).some((dep) => matchPattern(dep, [pattern])));
178
+ const unusedPatterns = onlyBundle.filter((pattern) => Array.from(deps).every((dep) => !matchPattern(dep, [pattern])));
179
179
  if (unusedPatterns.length) logger.info(nameLabel, `The following entries in ${blue`deps.onlyBundle`} are not used in the bundle:\n${unusedPatterns.map((pattern) => `- ${yellow(pattern)}`).join("\n")}\nConsider removing them to keep your configuration clean.`);
180
- } else if (onlyBundle == null && deps.size) logger.info(nameLabel, `Hint: consider adding ${blue`deps.onlyBundle`} option to avoid unintended bundling of dependencies, or set ${blue`deps.onlyBundle: false`} to disable this hint.\nSee more at ${underline`https://tsdown.dev/options/dependencies#deps-onlybundle`}\nDetected dependencies in bundle:\n${Array.from(deps).map((dep) => `- ${blue(dep)}`).join("\n")}`);
180
+ } else if (onlyBundle == null && deps.size) logger.info(nameLabel, `Hint: consider adding ${blue`deps.onlyBundle`} option to avoid unintended bundling of dependencies, or set ${blue`deps.onlyBundle: false`} to disable this hint.\nSee more at ${underline`https://tsdown.dev/options/dependencies#deps-onlybundle`}\nDetected dependencies in bundle:\n${Array.from(deps, (dep) => `- ${blue(dep)}`).join("\n")}`);
181
181
  }
182
182
  }
183
183
  };
@@ -3507,7 +3507,7 @@ async function resolveArrayEntry(entries, cwd, root) {
3507
3507
  }
3508
3508
  function writeJsonFile(filePath, content) {
3509
3509
  let originalText;
3510
- let originalJson = void 0;
3510
+ let originalJson;
3511
3511
  let originalIndent = 2;
3512
3512
  let originalEOL = "\n";
3513
3513
  let originalHasTrailingNewline = false;
@@ -3600,7 +3600,7 @@ async function generateExports(pkg, chunks, options, inlinedDeps) {
3600
3600
  }
3601
3601
  }
3602
3602
  }
3603
- const sortedExportsMap = Array.from(exportsMap.entries()).toSorted(([a], [b]) => {
3603
+ const sortedExportsMap = [...exportsMap].toSorted(([a], [b]) => {
3604
3604
  if (a === "index") return -1;
3605
3605
  return a.localeCompare(b);
3606
3606
  });
@@ -3799,10 +3799,9 @@ async function readPackageJson(dir) {
3799
3799
  };
3800
3800
  }
3801
3801
  function getPackageType(pkg) {
3802
- if (pkg?.type) {
3803
- if (!["module", "commonjs"].includes(pkg.type)) throw new Error(`Invalid package.json type: ${pkg.type}`);
3804
- return pkg.type;
3805
- }
3802
+ if (!pkg?.type) return;
3803
+ if (!["module", "commonjs"].includes(pkg.type)) throw new Error(`Invalid package.json type: ${pkg.type}`);
3804
+ return pkg.type;
3806
3805
  }
3807
3806
  function normalizeFormat(format) {
3808
3807
  switch (format) {
@@ -3850,9 +3849,9 @@ async function loadViteConfig(prefix, cwd, configLoader) {
3850
3849
  const configPrefix = "tsdown.config";
3851
3850
  async function loadConfigFile(inlineConfig, workspace, rootConfig) {
3852
3851
  let cwd = inlineConfig.cwd || process$1.cwd();
3853
- let overrideConfig = false;
3854
3852
  let { config: filePath } = inlineConfig;
3855
3853
  if (filePath === false) return { configs: [{}] };
3854
+ let overrideConfig = false;
3856
3855
  if (typeof filePath === "string") {
3857
3856
  const stats = await fsStat(filePath);
3858
3857
  if (stats) {
@@ -3970,7 +3969,7 @@ const debug$8 = createDebug("tsdown:config:options");
3970
3969
  * **Internal API, not for public use**
3971
3970
  * @private
3972
3971
  */
3973
- async function resolveUserConfig(userConfig, inlineConfig, configDeps) {
3972
+ async function resolveUserConfig(userConfig, inlineConfig, configDeps, runBuild = createConcurrencyExecutor()) {
3974
3973
  {
3975
3974
  const flat = await flattenPlugins(userConfig.plugins);
3976
3975
  for (const plugin of flat) {
@@ -4112,6 +4111,7 @@ async function resolveUserConfig(userConfig, inlineConfig, configDeps) {
4112
4111
  rawEntry,
4113
4112
  report,
4114
4113
  root: resolvedRoot,
4114
+ runBuild,
4115
4115
  shims,
4116
4116
  sourcemap,
4117
4117
  target,
@@ -4132,7 +4132,8 @@ async function resolveUserConfig(userConfig, inlineConfig, configDeps) {
4132
4132
  copy: once ? config.copy : void 0,
4133
4133
  onSuccess: once ? config.onSuccess : void 0,
4134
4134
  format: normalizeFormat(fmt),
4135
- ...overrides
4135
+ ...overrides,
4136
+ runBuild
4136
4137
  };
4137
4138
  });
4138
4139
  for (const resolved of resolvedConfigs) {
@@ -4182,7 +4183,7 @@ function filterConfig(filter, configCwd, name) {
4182
4183
  return toArray(filter).some((value) => name && name === value || cwd === value);
4183
4184
  }
4184
4185
  //#endregion
4185
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/watch-CiWfWcBn.mjs
4186
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/watch-DOMHXvCH.mjs
4186
4187
  async function copy(options) {
4187
4188
  if (!options.copy) return;
4188
4189
  const resolved = await resolveCopyEntries(options);
@@ -4562,8 +4563,8 @@ var Hookable = class {
4562
4563
  }
4563
4564
  };
4564
4565
  //#endregion
4565
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/build-oq13wECG.mjs
4566
- var build_oq13wECG_exports = /* @__PURE__ */ __exportAll$1({
4566
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/build-D_enfyvD.mjs
4567
+ var build_D_enfyvD_exports = /* @__PURE__ */ __exportAll$1({
4567
4568
  n: () => buildWithConfigs,
4568
4569
  r: () => build_exports,
4569
4570
  t: () => build$1
@@ -4631,15 +4632,17 @@ async function resolveConfig(inlineConfig) {
4631
4632
  if (inlineConfig.cwd) inlineConfig.cwd = path.resolve(inlineConfig.cwd);
4632
4633
  const { configs: rootConfigs, deps: rootDeps } = await loadConfigFile(inlineConfig);
4633
4634
  const globalDeps = new Set(rootDeps);
4635
+ const runBuild = createConcurrencyExecutor(inlineConfig.concurrency);
4634
4636
  const configs = (await Promise.all(rootConfigs.map(async (rootConfig) => {
4635
4637
  const { configs: workspaceConfigs, deps: workspaceDeps } = await resolveWorkspace(rootConfig, inlineConfig, rootDeps);
4636
4638
  debug$4("workspace configs %O", workspaceConfigs);
4637
- const configs = (await Promise.all(workspaceConfigs.filter((config) => !config.workspace || config.entry).map((config) => resolveUserConfig(config, inlineConfig, workspaceDeps)))).flat().filter((config) => !!config);
4639
+ const configs = (await Promise.all(workspaceConfigs.filter((config) => !config.workspace || config.entry).map((config) => resolveUserConfig(config, inlineConfig, workspaceDeps, runBuild)))).flat().filter((config) => !!config);
4638
4640
  workspaceDeps.forEach((dep) => globalDeps.add(dep));
4639
4641
  return configs;
4640
4642
  }))).flat();
4641
4643
  debug$4("resolved configs %O", configs);
4642
4644
  if (configs.length === 0) throw new Error("No valid configuration found.");
4645
+ if (inlineConfig.concurrency != null && configs.some((config) => config.watch)) globalLogger.warn("`--concurrency` is not supported in watch mode and will be ignored.");
4643
4646
  return {
4644
4647
  configs,
4645
4648
  deps: globalDeps
@@ -4824,7 +4827,7 @@ function initBundleByPkg(configs) {
4824
4827
  const pkgJson = config.pkg?.packageJsonPath;
4825
4828
  if (!pkgJson) continue;
4826
4829
  if (!map[pkgJson]) {
4827
- const { promise, resolve } = promiseWithResolvers();
4830
+ const { promise, resolve } = Promise.withResolvers();
4828
4831
  map[pkgJson] = {
4829
4832
  promise,
4830
4833
  resolve,
@@ -4875,7 +4878,7 @@ async function bundleDone(bundleByPkg, bundle) {
4875
4878
  async function packTarball(packageJsonPath) {
4876
4879
  const pkgDir = path.dirname(packageJsonPath);
4877
4880
  const destination = await mkdtemp(path.join(tmpdir(), "tsdown-pack-"));
4878
- const { detect } = await import("./detect-DGhJGEqb-S-tkSzpt.js");
4881
+ const { detect } = await import("./detect-DGhJGEqb-Cz6qOZuP.js");
4879
4882
  try {
4880
4883
  const detected = await detect({ cwd: pkgDir });
4881
4884
  debug$1("Detected package manager: %o", detected);
@@ -4908,7 +4911,7 @@ function mergeInlinedDeps(bundles) {
4908
4911
  for (const v of versions) merged.get(pkgName).add(v);
4909
4912
  }
4910
4913
  if (!merged.size) return;
4911
- const sorted = [...merged.entries()].toSorted(([a], [b]) => a.localeCompare(b));
4914
+ const sorted = [...merged].toSorted(([a], [b]) => a.localeCompare(b));
4912
4915
  const result = {};
4913
4916
  for (const [pkgName, versions] of sorted) result[pkgName] = versions.size === 1 ? [...versions][0] : [...versions].toSorted();
4914
4917
  return result;
@@ -5020,7 +5023,7 @@ async function resolveInputOptions(config, format, configDeps, bundle, cjsDts, i
5020
5023
  if (nodeProtocol) plugins.push(NodeProtocolPlugin(nodeProtocol));
5021
5024
  if (config.pkg || config.deps.skipNodeModulesBundle || config.deps.neverBundle === true || config.deps.dts.neverBundle === true) plugins.push(DepsPlugin(config, bundle));
5022
5025
  if (dts) {
5023
- const { dts: dtsPlugin } = await import("./dist-CxIM8o7n.js");
5026
+ const { dts: dtsPlugin } = await import("./dist-CWolxbYK.js");
5024
5027
  const { cjsReexport: _, ...dtsPluginOptions } = dts;
5025
5028
  const options = {
5026
5029
  tsconfig,
@@ -5320,7 +5323,7 @@ async function buildSingle(config, configDeps, isDualFormat, clean, restart, don
5320
5323
  watcher = watch(configs);
5321
5324
  handleWatcher(watcher);
5322
5325
  } else {
5323
- const outputs = await build(configs);
5326
+ const outputs = await config.runBuild(() => build(configs));
5324
5327
  for (const { output } of outputs) chunks.push(...addOutDirToChunks(output, outDir));
5325
5328
  }
5326
5329
  if (!watch$1) {
@@ -5404,4 +5407,4 @@ async function buildSingle(config, configDeps, isDualFormat, clean, restart, don
5404
5407
  }
5405
5408
  }
5406
5409
  //#endregion
5407
- export { resolveUserConfig as a, mergeConfig as i, buildWithConfigs as n, build_oq13wECG_exports as r, build$1 as t };
5410
+ export { resolveUserConfig as a, mergeConfig as i, buildWithConfigs as n, build_D_enfyvD_exports as r, build$1 as t };
@@ -1,7 +1,7 @@
1
- import { C as resolveComma, E as toArray, a as namespaces, b as noop, c as blue, d as green, g as yellow, i as enable, m as rgb, o as bgRed, r as createDebug, s as bgYellow, l as bold, p as red } from "./main-BdzlWPt6.js";
1
+ import { C as resolveComma, E as toArray, a as namespaces, c as blue, d as green, g as yellow, i as enable, m as rgb, o as bgRed, r as createDebug, s as bgYellow, x as noop, l as bold, p as red } from "./main-DI8qthUB.js";
2
2
  import process from "node:process";
3
3
  import readline from "node:readline";
4
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/logger-9ze2jxCr.mjs
4
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/logger-Das7E2bJ.mjs
5
5
  const LogLevels = {
6
6
  silent: 0,
7
7
  error: 1,
@@ -142,8 +142,8 @@ function hue2rgb(p, q, t) {
142
142
  return p;
143
143
  }
144
144
  //#endregion
145
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/debug-BntVTkRq.mjs
146
- var version = "0.22.13";
145
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/debug-CKcBYQLP.mjs
146
+ var version = "0.22.14";
147
147
  const debugLog = createDebug("tsdown:debug");
148
148
  function enableDebug(debug) {
149
149
  if (!debug) return;
@@ -1,7 +1,7 @@
1
1
  import process from "node:process";
2
2
  import path from "node:path";
3
3
  import fs from "node:fs/promises";
4
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/detect-DGhJGEqb.mjs
4
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/detect-DGhJGEqb.mjs
5
5
  const AGENTS = [
6
6
  "npm",
7
7
  "yarn",
@@ -1,8 +1,8 @@
1
- import { r as createDebug } from "./main-BdzlWPt6.js";
2
- import { C as filename_to_dts, S as filename_js_to_dts, T as resolveTemplateFn, _ as RE_JSON, b as RE_TS, g as RE_JS, h as RE_DTS_MAP, m as RE_DTS, p as RE_CSS, v as RE_NODE_MODULES, w as replaceTemplateName, x as filename_dts_to, y as RE_ROLLDOWN_RUNTIME } from "./target-CNxIDvSz-eoHNdJNs.js";
1
+ import { r as createDebug } from "./main-DI8qthUB.js";
2
+ import { C as filename_to_dts, S as filename_js_to_dts, T as resolveTemplateFn, _ as RE_JSON, b as RE_TS, g as RE_JS, h as RE_DTS_MAP, m as RE_DTS, p as RE_CSS, v as RE_NODE_MODULES, w as replaceTemplateName, x as filename_dts_to, y as RE_ROLLDOWN_RUNTIME } from "./target-Bab3CUeB-Di6tCARH.js";
3
3
  import { n as ee, t as at } from "./dist-DCMiHFrJ.js";
4
- import { n as globalContext, r as invalidateContextFile, t as createContext } from "./tsc-context-CA76SkkZ.js";
5
- import { t as requireTS } from "./load-tsc-BKULZsrs-BFmeD6Bu.js";
4
+ import { n as globalContext, r as invalidateContextFile, t as createContext } from "./tsc-context-BhMGQ9Qr.js";
5
+ import { t as requireTS } from "./load-tsc-BKULZsrs-Bha6Vsu1.js";
6
6
  import { createRequire } from "node:module";
7
7
  import process from "node:process";
8
8
  import { styleText } from "node:util";
@@ -1204,7 +1204,7 @@ function ensureValue(value) {
1204
1204
  return value && ALLOW_EXTENSIONS.has(extname(value)) ? value.replaceAll("\\", "/") : null;
1205
1205
  }
1206
1206
  //#endregion
1207
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.12_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_d94a4da753642eee691447f5bf042e95/node_modules/rolldown-plugin-dts/dist/index.mjs
1207
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.13_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_bb5be7aebc807a8d600edaae098a2d6b/node_modules/rolldown-plugin-dts/dist/index.mjs
1208
1208
  function createDtsInputPlugin({ sideEffects }) {
1209
1209
  return {
1210
1210
  name: "rolldown-plugin-dts:dts-input",
@@ -1332,7 +1332,7 @@ function createGeneratePlugin({ generator, entry, tsconfig, tsconfigRaw, build,
1332
1332
  if (generator === "tsgo") tsgoContext = await runTsgo(logger, rootDir, tsconfig, sourcemap, tsgo.path);
1333
1333
  else if (generator === "tsc") if (parallel) tscWorker = createTscWorker();
1334
1334
  else {
1335
- tscModule = await import("./tsc-zcbB6ZVY.js");
1335
+ tscModule = await import("./tsc-BQoNcjeB.js");
1336
1336
  if (newContext) tscContext = createContext();
1337
1337
  }
1338
1338
  if (!Array.isArray(options.input)) for (const [name, id] of Object.entries(options.input)) {
@@ -2417,15 +2417,18 @@ var VolarContext = class {
2417
2417
  }
2418
2418
  getExtraFileExtensions() {
2419
2419
  if (!this.plugins.length) return;
2420
- return this.plugins.flatMap((plugin) => plugin.tsFileExtensionInfos);
2420
+ return this.plugins.flatMap((plugin) => plugin.tsFileExtensionInfos || []);
2421
2421
  }
2422
2422
  getCreateProgram(ts) {
2423
2423
  if (!this.plugins.length) return ts.createProgram;
2424
- const { proxyCreateProgram } = this.plugins[0].volarTypeScript;
2424
+ const volarTypeScript = this.plugins.find((plugin) => plugin.volarTypeScript)?.volarTypeScript;
2425
+ if (!volarTypeScript) return ts.createProgram;
2426
+ const { proxyCreateProgram } = volarTypeScript;
2425
2427
  return proxyCreateProgram(ts, ts.createProgram, (ts, options) => {
2426
2428
  const setups = [];
2427
2429
  const plugins = [];
2428
2430
  for (const plugin of this.plugins) {
2431
+ if (!plugin.create) continue;
2429
2432
  const result = plugin.create(ts, options);
2430
2433
  if (Array.isArray(result)) plugins.push(...result);
2431
2434
  else {
@@ -2583,7 +2586,7 @@ function createDtsResolvePlugin({ cwd, tsconfig, tsconfigRaw, resolver, sideEffe
2583
2586
  async function resolveDtsPath(id, importer, rolldownResolution) {
2584
2587
  let dtsPath;
2585
2588
  if (resolver === "tsc") {
2586
- const { tscResolve } = await import("./resolver-cwLsPb2o-oj1hqxK6.js");
2589
+ const { tscResolve } = await import("./resolver-cwLsPb2o-DvUqSYux.js");
2587
2590
  dtsPath = tscResolve(id, importer, cwd, tsconfig, tsconfigRaw);
2588
2591
  } else dtsPath = baseDtsResolver(id, importer);
2589
2592
  debug$1("Using %s for dts import: %O -> %O", resolver, id, dtsPath);
@@ -63,7 +63,7 @@ declare global {
63
63
  }
64
64
  }
65
65
  //#endregion
66
- //#region ../../node_modules/.pnpm/@tsdown+exe@0.22.13_tsdown@0.22.13/node_modules/@tsdown/exe/dist/index.d.mts
66
+ //#region ../../node_modules/.pnpm/@tsdown+exe@0.22.14_tsdown@0.22.14/node_modules/@tsdown/exe/dist/index.d.mts
67
67
  //#region src/platform.d.ts
68
68
  type ExePlatform = "win" | "darwin" | "linux";
69
69
  type ExeArch = "x64" | "arm64";
@@ -105,7 +105,7 @@ interface ExeExtensionOptions {
105
105
  nodeDistIndexUrl?: string;
106
106
  }
107
107
  //#endregion
108
- //#region ../../node_modules/.pnpm/@tsdown+css@0.22.13_jiti@2.7.0_postcss-import@16.1.1_postcss@8.5.20__postcss@8.5.20_sas_3e4d0025e048aeda9bd895926fc2faf1/node_modules/@tsdown/css/dist/index.d.mts
108
+ //#region ../../node_modules/.pnpm/@tsdown+css@0.22.14_jiti@2.7.0_postcss-import@16.1.1_postcss@8.5.20__postcss@8.5.20_sas_632d5c49f550383ec048d2a4b7116378/node_modules/@tsdown/css/dist/index.d.mts
109
109
  //#region src/options.d.ts
110
110
  type LightningCSSOptions = Omit<TransformOptions<any>, "filename" | "code">;
111
111
  interface CSSModulesOptions {
@@ -260,13 +260,13 @@ interface StylusPreprocessorOptions {
260
260
  [key: string]: any;
261
261
  }
262
262
  //#endregion
263
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.12_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_d94a4da753642eee691447f5bf042e95/node_modules/rolldown-plugin-dts/dist/volar-ynbQeQZt.d.mts
263
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.13_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_bb5be7aebc807a8d600edaae098a2d6b/node_modules/rolldown-plugin-dts/dist/volar-Cxz5qLKE.d.mts
264
264
  //#region src/volar.d.ts
265
265
  interface VolarPlugin {
266
266
  extensionPatterns: RegExp[];
267
- tsFileExtensionInfos: FileExtensionInfo[];
268
- volarTypeScript: typeof import("@volar/typescript");
269
- create: Parameters<(typeof import("@volar/typescript"))["proxyCreateProgram"]>[2];
267
+ tsFileExtensionInfos?: FileExtensionInfo[];
268
+ volarTypeScript?: typeof import("@volar/typescript");
269
+ create?: Parameters<(typeof import("@volar/typescript"))["proxyCreateProgram"]>[2];
270
270
  toTsFilename?: (id: string) => string;
271
271
  }
272
272
  //#endregion
@@ -1133,7 +1133,7 @@ type TsConfigJson = {
1133
1133
  references?: TsConfigJson.References[];
1134
1134
  };
1135
1135
  //#endregion
1136
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.12_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_d94a4da753642eee691447f5bf042e95/node_modules/rolldown-plugin-dts/dist/index.d.mts
1136
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.13_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_bb5be7aebc807a8d600edaae098a2d6b/node_modules/rolldown-plugin-dts/dist/index.d.mts
1137
1137
  //#region src/options.d.ts
1138
1138
  interface Logger$1 {
1139
1139
  info: (...args: any[]) => void;
@@ -1373,7 +1373,7 @@ interface TsgoOptions {
1373
1373
  path?: string;
1374
1374
  }
1375
1375
  //#endregion
1376
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/types-D8DLoC_H.d.mts
1376
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/types-DP3_0kws.d.mts
1377
1377
  //#region src/utils/types.d.ts
1378
1378
  type Overwrite<T, U> = Omit<T, keyof U> & U;
1379
1379
  type Awaitable<T> = T | Promise<T>;
@@ -2253,6 +2253,7 @@ interface ReportOptions {
2253
2253
  */
2254
2254
  maxCompressSize?: number;
2255
2255
  }
2256
+ type ConcurrencyExecutor = <T>(task: () => Promise<T>) => Promise<T>;
2256
2257
  //#endregion
2257
2258
  //#region src/config/types.d.ts
2258
2259
  interface DtsOptions extends Options$1 {
@@ -2584,6 +2585,10 @@ interface UserConfig {
2584
2585
  */
2585
2586
  hash?: boolean;
2586
2587
  /**
2588
+ * Converts a single default export from an explicit CJS entry module to
2589
+ * `module.exports`. It does not apply to non-entry chunks emitted in
2590
+ * unbundle mode.
2591
+ *
2587
2592
  * @default true
2588
2593
  */
2589
2594
  cjsDefault?: boolean;
@@ -2808,6 +2813,10 @@ interface InlineConfig extends UserConfig {
2808
2813
  * Filter configs by cwd or name.
2809
2814
  */
2810
2815
  filter?: RegExp | Arrayable<string>;
2816
+ /**
2817
+ * Maximum number of Rolldown builds to run in parallel.
2818
+ */
2819
+ concurrency?: number;
2811
2820
  }
2812
2821
  type UserConfigFn = (inlineConfig: InlineConfig, context: {
2813
2822
  ci: boolean;
@@ -2837,6 +2846,7 @@ type ResolvedConfig = Overwrite<MarkPartial<Omit<UserConfig, "workspace" | "from
2837
2846
  */
2838
2847
  root: string;
2839
2848
  configDeps: Set<string>;
2849
+ runBuild: ConcurrencyExecutor;
2840
2850
  dts: false | DtsOptions;
2841
2851
  report: false | ReportOptions;
2842
2852
  tsconfig: false | string;
@@ -2848,7 +2858,7 @@ type ResolvedConfig = Overwrite<MarkPartial<Omit<UserConfig, "workspace" | "from
2848
2858
  exe: false | ExeOptions;
2849
2859
  }>;
2850
2860
  //#endregion
2851
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/config-3sAcYqvi.d.mts
2861
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/config-Dnbs_AoW.d.mts
2852
2862
  //#region src/config/options.d.ts
2853
2863
  /**
2854
2864
  * Resolve user config into resolved configs
@@ -2856,7 +2866,7 @@ type ResolvedConfig = Overwrite<MarkPartial<Omit<UserConfig, "workspace" | "from
2856
2866
  * **Internal API, not for public use**
2857
2867
  * @private
2858
2868
  */
2859
- declare function resolveUserConfig(userConfig: UserConfig, inlineConfig: InlineConfig, configDeps: Set<string>): Promise<ResolvedConfig[]>;
2869
+ declare function resolveUserConfig(userConfig: UserConfig, inlineConfig: InlineConfig, configDeps: Set<string>, runBuild?: ConcurrencyExecutor): Promise<ResolvedConfig[]>;
2860
2870
  declare function mergeConfig(defaults: UserConfig, ...overrides: UserConfig[]): UserConfig;
2861
2871
  declare function mergeConfig(defaults: InlineConfig, ...overrides: InlineConfig[]): InlineConfig;
2862
2872
  //#endregion
@@ -2869,7 +2879,7 @@ declare function defineConfig(options: UserConfig[]): UserConfig[];
2869
2879
  declare function defineConfig(options: UserConfigFn): UserConfigFn;
2870
2880
  declare function defineConfig(options: UserConfigExport): UserConfigExport;
2871
2881
  //#endregion
2872
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/index.d.mts
2882
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/index.d.mts
2873
2883
  //#region src/build.d.ts
2874
2884
  /**
2875
2885
  * Build with tsdown.
@@ -1,12 +1,12 @@
1
- import { c as globalLogger, n as version$1, t as enableDebug } from "./debug-BntVTkRq-BGIoAiTa.js";
2
- import { a as resolveUserConfig, i as mergeConfig, n as buildWithConfigs, t as build$1 } from "./build-oq13wECG-Bymq3jT5.js";
1
+ import { c as globalLogger, n as version$1, t as enableDebug } from "./debug-CKcBYQLP-GQrJ--dM.js";
2
+ import { a as resolveUserConfig, i as mergeConfig, n as buildWithConfigs, t as build$1 } from "./build-D_enfyvD-DX5mX46j.js";
3
3
  import * as Rolldown from "@voidzero-dev/vite-plus-core/rolldown";
4
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/config.mjs
4
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/config.mjs
5
5
  function defineConfig(options) {
6
6
  return options;
7
7
  }
8
8
  //#endregion
9
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/index.mjs
9
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/index.mjs
10
10
  const version = version$1;
11
11
  //#endregion
12
12
  export { Rolldown, build$1 as build, buildWithConfigs, defineConfig, enableDebug, globalLogger, mergeConfig, resolveUserConfig, version };
@@ -0,0 +1,3 @@
1
+ import "./main-DI8qthUB.js";
2
+ import "./target-Bab3CUeB-Di6tCARH.js";
3
+ export {};
@@ -1,6 +1,6 @@
1
- import { r as createDebug } from "./main-BdzlWPt6.js";
1
+ import { r as createDebug } from "./main-DI8qthUB.js";
2
2
  import { createRequire } from "node:module";
3
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.12_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_d94a4da753642eee691447f5bf042e95/node_modules/rolldown-plugin-dts/dist/load-tsc-BKULZsrs.mjs
3
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.13_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_bb5be7aebc807a8d600edaae098a2d6b/node_modules/rolldown-plugin-dts/dist/load-tsc-BKULZsrs.mjs
4
4
  const require = createRequire(import.meta.url);
5
5
  const debug = createDebug("rolldown-plugin-dts:load-tsc");
6
6
  let _ts;
@@ -41,7 +41,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
41
41
  }) : target, mod));
42
42
  var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
43
43
  //#endregion
44
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/general-Cp4NiJNK.mjs
44
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/general-BbZk8B18.mjs
45
45
  const picomatch = createRequire(import.meta.url)("./npm_entry_picomatch.cjs");
46
46
  function toArray(val, defaultValue) {
47
47
  if (Array.isArray(val)) return val;
@@ -84,13 +84,21 @@ async function importWithError(moduleName) {
84
84
  throw new Error(`Failed to import module "${moduleName}". Please ensure it is installed.`, { cause: error });
85
85
  }
86
86
  }
87
- function promiseWithResolvers() {
88
- let resolve;
89
- return {
90
- promise: new Promise((res) => {
91
- resolve = res;
92
- }),
93
- resolve
87
+ function createConcurrencyExecutor(concurrency) {
88
+ if (concurrency == null) return (task) => task();
89
+ if (!Number.isInteger(concurrency) || concurrency < 1) throw new TypeError("`--concurrency` must be a positive integer");
90
+ const queue = [];
91
+ let active = 0;
92
+ return async (task) => {
93
+ if (active >= concurrency) await new Promise((resolve) => queue.push(resolve));
94
+ else active++;
95
+ try {
96
+ return await task();
97
+ } finally {
98
+ const next = queue.shift();
99
+ if (next) next();
100
+ else active--;
101
+ }
94
102
  };
95
103
  }
96
104
  function debounce(fn, delay) {
@@ -836,4 +844,4 @@ const R = (e, t, n) => {
836
844
  };
837
845
  const z = R;
838
846
  //#endregion
839
- export { __toESM as A, resolveComma as C, __commonJSMin as D, toArray as E, __exportAll as O, promiseWithResolvers as S, slash as T, debounce as _, namespaces as a, noop as b, blue as c, green as d, hex as f, yellow as g, underline as h, enable as i, __require as k, bold as l, rgb as m, z as n, bgRed as o, red as p, createDebug as r, bgYellow as s, R as t, dim as u, importWithError as v, resolveRegex as w, pkgExists as x, matchPattern as y };
847
+ export { __toESM as A, resolveComma as C, __commonJSMin as D, toArray as E, __exportAll as O, pkgExists as S, slash as T, createConcurrencyExecutor as _, namespaces as a, matchPattern as b, blue as c, green as d, hex as f, yellow as g, underline as h, enable as i, __require as k, bold as l, rgb as m, z as n, bgRed as o, red as p, createDebug as r, bgYellow as s, R as t, dim as u, debounce as v, resolveRegex as w, noop as x, importWithError as y };
@@ -1,7 +1,7 @@
1
- import { r as createDebug } from "./main-BdzlWPt6.js";
2
- import { t as requireTS } from "./load-tsc-BKULZsrs-BFmeD6Bu.js";
1
+ import { r as createDebug } from "./main-DI8qthUB.js";
2
+ import { t as requireTS } from "./load-tsc-BKULZsrs-Bha6Vsu1.js";
3
3
  import path from "node:path";
4
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.12_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_d94a4da753642eee691447f5bf042e95/node_modules/rolldown-plugin-dts/dist/resolver-cwLsPb2o.mjs
4
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.13_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_bb5be7aebc807a8d600edaae098a2d6b/node_modules/rolldown-plugin-dts/dist/resolver-cwLsPb2o.mjs
5
5
  const debug = createDebug("rolldown-plugin-dts:tsc-resolver");
6
6
  const ts = requireTS();
7
7
  function tscResolve(id, importer, cwd, tsconfig, tsconfigRaw, reference) {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { c as blue, f as hex, t as R } from "./main-BdzlWPt6.js";
3
- import { c as globalLogger, n as version, t as enableDebug } from "./debug-BntVTkRq-BGIoAiTa.js";
2
+ import { c as blue, f as hex, t as R } from "./main-DI8qthUB.js";
3
+ import { c as globalLogger, n as version, t as enableDebug } from "./debug-CKcBYQLP-GQrJ--dM.js";
4
4
  import module from "node:module";
5
5
  import process$1 from "node:process";
6
6
  import { VERSION } from "@voidzero-dev/vite-plus-core/rolldown";
@@ -622,16 +622,16 @@ var CAC = class extends EventTarget {
622
622
  */
623
623
  const cac = (name = "") => new CAC(name);
624
624
  //#endregion
625
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/run.mjs
625
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/run.mjs
626
626
  const cli = cac("tsdown");
627
627
  cli.help().version(version);
628
628
  cli.command("[...files]", "Bundle files", {
629
629
  ignoreOptionDefaultValue: true,
630
630
  allowUnknownOptions: true
631
- }).option("-c, --config <filename>", "Use a custom config file").option("--config-loader <loader>", "Config loader to use: auto, native, tsx, unrun", { default: "auto" }).option("--no-config", "Disable config file").option("-f, --format <format>", "Bundle format: esm, cjs, iife, umd", { default: "esm" }).option("--clean", "Clean output directory, --no-clean to disable").option("--deps.never-bundle <module>", "Mark dependencies as external").option("--minify", "Minify output").option("--devtools", "Enable devtools integration").option("--debug [feat]", "Show debug logs").option("--target <target>", "Bundle target, e.g \"es2015\", \"esnext\"").option("-l, --logLevel <level>", "Set log level: info, warn, error, silent").option("--fail-on-warn", "Fail on warnings", { default: true }).option("--no-write", "Disable writing files to disk, incompatible with watch mode").option("-d, --out-dir <dir>", "Output directory", { default: "dist" }).option("--treeshake", "Tree-shake bundle", { default: true }).option("--sourcemap", "Generate source map", { default: false }).option("--shims", "Enable cjs and esm shims ", { default: false }).option("--platform <platform>", "Target platform", { default: "node" }).option("--dts", "Generate dts files").option("--publint", "Enable publint", { default: false }).option("--attw", "Enable Are the types wrong integration", { default: false }).option("--unused", "Enable unused dependencies check", { default: false }).option("-w, --watch [path]", "Watch mode").option("--ignore-watch <path>", "Ignore custom paths in watch mode").option("--from-vite [vitest]", "Reuse config from Vite or Vitest").option("--report", "Size report", { default: true }).option("--env.* <value>", "Define compile-time env variables").option("--env-file <file>", "Load environment variables from a file, when used together with --env, variables in --env take precedence").option("--env-prefix <prefix>", "Prefix for env variables to inject into the bundle", { default: "TSDOWN_" }).option("--on-success <command>", "Command to run on success").option("--copy <dir>", "Copy files to output dir").option("--public-dir <dir>", "Alias for --copy, deprecated").option("--tsconfig <tsconfig>", "Set tsconfig path").option("--unbundle", "Unbundle mode").option("--root <dir>", "Root directory of input files").option("--exe", "Bundle as executable").option("-W, --workspace [dir]", "Enable workspace mode").option("-F, --filter <pattern>", "Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name").option("--exports", "Generate package exports for package.json").action(async (input, flags) => {
631
+ }).option("-c, --config <filename>", "Use a custom config file").option("--config-loader <loader>", "Config loader to use: auto, native, tsx, unrun", { default: "auto" }).option("--no-config", "Disable config file").option("-f, --format <format>", "Bundle format: esm, cjs, iife, umd", { default: "esm" }).option("--clean", "Clean output directory, --no-clean to disable").option("--deps.never-bundle <module>", "Mark dependencies as external").option("--minify", "Minify output").option("--devtools", "Enable devtools integration").option("--debug [feat]", "Show debug logs").option("--target <target>", "Bundle target, e.g \"es2015\", \"esnext\"").option("-l, --logLevel <level>", "Set log level: info, warn, error, silent").option("--fail-on-warn", "Fail on warnings", { default: true }).option("--no-write", "Disable writing files to disk, incompatible with watch mode").option("-d, --out-dir <dir>", "Output directory", { default: "dist" }).option("--treeshake", "Tree-shake bundle", { default: true }).option("--sourcemap", "Generate source map", { default: false }).option("--shims", "Enable cjs and esm shims ", { default: false }).option("--platform <platform>", "Target platform", { default: "node" }).option("--dts", "Generate dts files").option("--publint", "Enable publint", { default: false }).option("--attw", "Enable Are the types wrong integration", { default: false }).option("--unused", "Enable unused dependencies check", { default: false }).option("-w, --watch [path]", "Watch mode").option("--ignore-watch <path>", "Ignore custom paths in watch mode").option("--from-vite [vitest]", "Reuse config from Vite or Vitest").option("--report", "Size report", { default: true }).option("--env.* <value>", "Define compile-time env variables").option("--env-file <file>", "Load environment variables from a file, when used together with --env, variables in --env take precedence").option("--env-prefix <prefix>", "Prefix for env variables to inject into the bundle", { default: "TSDOWN_" }).option("--on-success <command>", "Command to run on success").option("--copy <dir>", "Copy files to output dir").option("--public-dir <dir>", "Alias for --copy, deprecated").option("--tsconfig <tsconfig>", "Set tsconfig path").option("--unbundle", "Unbundle mode").option("--root <dir>", "Root directory of input files").option("--exe", "Bundle as executable").option("-W, --workspace [dir]", "Enable workspace mode").option("--concurrency <count>", "Maximum number of Rolldown builds to run in parallel").option("-F, --filter <pattern>", "Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name").option("--exports", "Generate package exports for package.json").action(async (input, flags) => {
632
632
  globalLogger.level = flags.logLevel || "info";
633
633
  globalLogger.info(`${blue`tsdown v${version}`} powered by ${hex("#ff7e17")`rolldown v${VERSION}`}`);
634
- const { build } = await import("./build-oq13wECG-Bymq3jT5.js").then((n) => n.r).then((n) => n.r);
634
+ const { build } = await import("./build-D_enfyvD-DX5mX46j.js").then((n) => n.r).then((n) => n.r);
635
635
  if (input.length > 0) flags.entry = input;
636
636
  await build(flags);
637
637
  });
@@ -1,4 +1,4 @@
1
- import { D as __commonJSMin, k as __require } from "./main-BdzlWPt6.js";
1
+ import { D as __commonJSMin, k as __require } from "./main-DI8qthUB.js";
2
2
  //#region ../../node_modules/.pnpm/lilconfig@3.1.3/node_modules/lilconfig/src/index.js
3
3
  var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
4
4
  const path = __require("path");
@@ -1,11 +1,11 @@
1
- import { C as resolveComma, E as toArray, l as bold, p as red, r as createDebug, t as R, u as dim, v as importWithError } from "./main-BdzlWPt6.js";
1
+ import { C as resolveComma, E as toArray, l as bold, p as red, r as createDebug, t as R, u as dim, y as importWithError } from "./main-DI8qthUB.js";
2
2
  import process from "node:process";
3
3
  import path from "node:path";
4
4
  import { RUNTIME_MODULE_ID } from "@voidzero-dev/vite-plus-core/rolldown";
5
5
  import { access, cp, mkdir, mkdtemp, rm, stat, writeFile } from "node:fs/promises";
6
6
  import { exactRegex } from "@voidzero-dev/vite-plus-core/rolldown/filter";
7
7
  import { tmpdir } from "node:os";
8
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/format-DLxyxnif.mjs
8
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/format-DLxyxnif.mjs
9
9
  function fsExists(path) {
10
10
  return access(path).then(() => true, () => false);
11
11
  }
@@ -53,7 +53,7 @@ function formatBytes(bytes) {
53
53
  return `${(bytes / 1e3).toFixed(2)} kB`;
54
54
  }
55
55
  //#endregion
56
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.12_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_d94a4da753642eee691447f5bf042e95/node_modules/rolldown-plugin-dts/dist/filename-BrNNypc2.mjs
56
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.13_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_bb5be7aebc807a8d600edaae098a2d6b/node_modules/rolldown-plugin-dts/dist/filename-BrNNypc2.mjs
57
57
  const RE_JS = /\.([cm]?)jsx?$/;
58
58
  const RE_TS = /\.([cm]?)tsx?$/;
59
59
  const RE_DTS = /\.d\.([cm]?)ts$/;
@@ -79,7 +79,7 @@ function replaceTemplateName(template, name) {
79
79
  return template.replaceAll("[name]", name);
80
80
  }
81
81
  //#endregion
82
- //#region ../../node_modules/.pnpm/verkit@0.1.2/node_modules/verkit/dist/index.js
82
+ //#region ../../node_modules/.pnpm/verkit@0.3.0/node_modules/verkit/dist/index.js
83
83
  const LETTER_DASH_NUMBER = "[a-zA-Z0-9-]";
84
84
  const NUMERIC_IDENTIFIER = String.raw`0|[1-9]\d*`;
85
85
  const NUMERIC_IDENTIFIER_LOOSE = String.raw`\d+`;
@@ -134,11 +134,11 @@ const COERCE_FULL_EXACT = safeRegex(COERCE_FULL);
134
134
  const NUMERIC = /^\d+$/;
135
135
  function formatComparableVersion(version) {
136
136
  const base = `${version.major}.${version.minor}.${version.patch}`;
137
- return version.prerelease.length > 0 ? `${base}-${version.prerelease.join(".")}` : base;
137
+ return version.prerelease?.length ? `${base}-${version.prerelease.join(".")}` : base;
138
138
  }
139
139
  function formatFullVersion(version) {
140
140
  const comparable = formatComparableVersion(version);
141
- return version.build.length > 0 ? `${comparable}+${version.build.join(".")}` : comparable;
141
+ return version.build?.length ? `${comparable}+${version.build.join(".")}` : comparable;
142
142
  }
143
143
  function parse$1(version, options = {}) {
144
144
  if (typeof version !== "string") return version;
@@ -157,9 +157,9 @@ function parse$1(version, options = {}) {
157
157
  if (numeric >= 0 && numeric < Number.MAX_SAFE_INTEGER) return numeric;
158
158
  }
159
159
  return identifier;
160
- }) : [];
160
+ }) : void 0;
161
161
  return {
162
- build: match[5] ? match[5].split(".") : [],
162
+ build: match[5]?.split("."),
163
163
  major,
164
164
  minor,
165
165
  patch,
@@ -177,12 +177,14 @@ function compareMainParsed(left, right) {
177
177
  return left.major === right.major ? left.minor === right.minor ? left.patch === right.patch ? 0 : left.patch < right.patch ? -1 : 1 : left.minor < right.minor ? -1 : 1 : left.major < right.major ? -1 : 1;
178
178
  }
179
179
  function comparePrereleaseParsed(left, right) {
180
- if (left.prerelease.length > 0 && right.prerelease.length === 0) return -1;
181
- if (left.prerelease.length === 0 && right.prerelease.length > 0) return 1;
182
- if (left.prerelease.length === 0 && right.prerelease.length === 0) return 0;
180
+ const leftPrerelease = left.prerelease;
181
+ const rightPrerelease = right.prerelease;
182
+ if (leftPrerelease?.length && !rightPrerelease?.length) return -1;
183
+ if (!leftPrerelease?.length && rightPrerelease?.length) return 1;
184
+ if (!leftPrerelease?.length && !rightPrerelease?.length) return 0;
183
185
  for (let index = 0;; index++) {
184
- const leftIdentifier = left.prerelease[index];
185
- const rightIdentifier = right.prerelease[index];
186
+ const leftIdentifier = leftPrerelease?.[index];
187
+ const rightIdentifier = rightPrerelease?.[index];
186
188
  if (leftIdentifier === void 0 && rightIdentifier === void 0) return 0;
187
189
  if (rightIdentifier === void 0) return 1;
188
190
  if (leftIdentifier === void 0) return -1;
@@ -303,8 +305,8 @@ function replaceXRange(comparator, options) {
303
305
  const wildcardMinor = wildcardMajor || isWildcard(minor);
304
306
  const wildcardPatch = wildcardMinor || isWildcard(patch);
305
307
  if (operator === "=" && wildcardPatch) operator = "";
306
- let prerelease = options.includePrerelease ? "-0" : "";
307
308
  if (wildcardMajor) return operator === ">" || operator === "<" ? "<0.0.0-0" : "*";
309
+ let prerelease = options.includePrerelease ? "-0" : "";
308
310
  if (operator && wildcardPatch) {
309
311
  if (wildcardMinor) minor = 0;
310
312
  patch = 0;
@@ -367,12 +369,12 @@ function parseRange(range, options = {}) {
367
369
  if (typeof range !== "string") return range;
368
370
  const parsedOptions = { ...options };
369
371
  const raw = range.trim().replaceAll(/\s+/g, " ");
370
- let sets = raw.split("||").map((part) => parseSimpleRange(part.trim(), parsedOptions)).filter((set) => set.length > 0);
371
- if (sets.length === 0) throw new TypeError(`Range contains no valid comparator sets: ${raw}`);
372
+ let sets = raw.split("||").map((part) => parseSimpleRange(part.trim(), parsedOptions)).filter((set) => set.length);
373
+ if (!sets.length) throw new TypeError(`Range contains no valid comparator sets: ${raw}`);
372
374
  if (sets.length > 1) {
373
375
  const first = sets[0];
374
376
  sets = sets.filter((set) => set[0]?.value !== "<0.0.0-0");
375
- if (sets.length === 0) sets = [first];
377
+ if (!sets.length) sets = [first];
376
378
  else if (sets.length > 1) {
377
379
  const any = sets.find((set) => set.length === 1 && set[0]?.value === "");
378
380
  if (any) sets = [any];
@@ -393,11 +395,11 @@ function tryParseRange(range, options = {}) {
393
395
  }
394
396
  }
395
397
  function testComparatorSet(set, version, options) {
396
- if (!set.every((comparator) => testParsedComparator(comparator, version))) return false;
397
- if (version.prerelease.length === 0 || options.includePrerelease) return true;
398
+ if (set.some((comparator) => !testParsedComparator(comparator, version))) return false;
399
+ if (!version.prerelease?.length || options.includePrerelease) return true;
398
400
  return set.some((comparator) => {
399
401
  const allowed = comparator.version;
400
- return allowed !== null && allowed.prerelease.length > 0 && allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch;
402
+ return allowed !== null && allowed.prerelease?.length && allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch;
401
403
  });
402
404
  }
403
405
  function testParsedRange(range, version) {
@@ -412,16 +414,16 @@ function satisfies(version, range, options = {}) {
412
414
  return parsed ? testRangeVersion(parsed, version) : false;
413
415
  }
414
416
  function nextVersionAfter(version) {
415
- return parse$1(version.prerelease.length === 0 ? formatComparableVersion({
417
+ const { prerelease } = version;
418
+ return parse$1(formatComparableVersion(prerelease?.length ? {
416
419
  major: version.major,
417
420
  minor: version.minor,
418
- patch: version.patch + 1,
419
- prerelease: []
420
- }) : formatComparableVersion({
421
+ patch: version.patch,
422
+ prerelease: [...prerelease, 0]
423
+ } : {
421
424
  major: version.major,
422
425
  minor: version.minor,
423
- patch: version.patch,
424
- prerelease: [...version.prerelease, 0]
426
+ patch: version.patch + 1
425
427
  }));
426
428
  }
427
429
  function findMinimumForRange(range, options = {}) {
@@ -451,9 +453,13 @@ function coerce(value, options = {}) {
451
453
  return parsed ? formatFullVersion(parsed) : null;
452
454
  }
453
455
  //#endregion
454
- //#region ../../node_modules/.pnpm/tsdown@0.22.13_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.13_@tsdown+exe@0.22.13_@t_f26a610f558bef85f3db2230cc877c56/node_modules/tsdown/dist/target-CNxIDvSz.mjs
456
+ //#region ../../node_modules/.pnpm/tsdown@0.22.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/node_modules/tsdown/dist/target-Bab3CUeB.mjs
455
457
  const NODE_SEA_MIN_VERSION = "25.7.0";
456
- const NODE_SEA_MIN_VERSION_PARSED = parse$1(NODE_SEA_MIN_VERSION);
458
+ const NODE_SEA_MIN_VERSION_PARSED = {
459
+ major: 25,
460
+ minor: 7,
461
+ patch: 0
462
+ };
457
463
  const debug = createDebug("tsdown:exe");
458
464
  function validateSea({ dts, entry, logger, nameLabel }) {
459
465
  if (process.versions.bun || process.versions.deno) throw new Error("The `exe` option is not supported in Bun and Deno environments.");
@@ -1,10 +1,10 @@
1
- import { r as createDebug } from "./main-BdzlWPt6.js";
2
- import { h as RE_DTS_MAP, m as RE_DTS } from "./target-CNxIDvSz-eoHNdJNs.js";
3
- import { n as globalContext } from "./tsc-context-CA76SkkZ.js";
4
- import { t as requireTS } from "./load-tsc-BKULZsrs-BFmeD6Bu.js";
1
+ import { r as createDebug } from "./main-DI8qthUB.js";
2
+ import { h as RE_DTS_MAP, m as RE_DTS } from "./target-Bab3CUeB-Di6tCARH.js";
3
+ import { n as globalContext } from "./tsc-context-BhMGQ9Qr.js";
4
+ import { t as requireTS } from "./load-tsc-BKULZsrs-Bha6Vsu1.js";
5
5
  import path from "node:path";
6
6
  import { pathToFileURL } from "node:url";
7
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.12_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_d94a4da753642eee691447f5bf042e95/node_modules/rolldown-plugin-dts/dist/tsc-KtFHcISk.mjs
7
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.13_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_bb5be7aebc807a8d600edaae098a2d6b/node_modules/rolldown-plugin-dts/dist/tsc-KtFHcISk.mjs
8
8
  const debug$3 = createDebug("rolldown-plugin-dts:tsc-system");
9
9
  const ts$3 = requireTS();
10
10
  /**
@@ -1,6 +1,6 @@
1
- import { r as createDebug } from "./main-BdzlWPt6.js";
1
+ import { r as createDebug } from "./main-DI8qthUB.js";
2
2
  import path from "node:path";
3
- //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.12_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_d94a4da753642eee691447f5bf042e95/node_modules/rolldown-plugin-dts/dist/tsc-context.mjs
3
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.13_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_bb5be7aebc807a8d600edaae098a2d6b/node_modules/rolldown-plugin-dts/dist/tsc-context.mjs
4
4
  const debug = createDebug("rolldown-plugin-dts:tsc-context");
5
5
  function createContext() {
6
6
  return {
@@ -1,12 +1,12 @@
1
- import { A as __toESM, C as resolveComma, E as toArray, v as importWithError } from "./main-BdzlWPt6.js";
2
- import { i as expandBaselineTarget } from "./target-CNxIDvSz-eoHNdJNs.js";
3
- import "./internal-C7ewSPAZ.js";
1
+ import { A as __toESM, C as resolveComma, E as toArray, y as importWithError } from "./main-DI8qthUB.js";
2
+ import { i as expandBaselineTarget } from "./target-Bab3CUeB-Di6tCARH.js";
3
+ import "./internal-DAh_SWnB.js";
4
4
  import path from "node:path";
5
5
  import { readFileSync } from "node:fs";
6
6
  import { readFile } from "node:fs/promises";
7
7
  import { fileURLToPath, pathToFileURL } from "node:url";
8
8
  import { ResolverFactory } from "@voidzero-dev/vite-plus-core/rolldown/experimental";
9
- //#region ../../node_modules/.pnpm/@tsdown+css@0.22.13_jiti@2.7.0_postcss-import@16.1.1_postcss@8.5.20__postcss@8.5.20_sas_3e4d0025e048aeda9bd895926fc2faf1/node_modules/@tsdown/css/dist/index.mjs
9
+ //#region ../../node_modules/.pnpm/@tsdown+css@0.22.14_jiti@2.7.0_postcss-import@16.1.1_postcss@8.5.20__postcss@8.5.20_sas_632d5c49f550383ec048d2a4b7116378/node_modules/@tsdown/css/dist/index.mjs
10
10
  const defaultCssBundleName = "style.css";
11
11
  function resolveCssOptions(options = {}, topLevelTarget, unbundle) {
12
12
  let cssTarget;
@@ -141,8 +141,8 @@ function compilePreprocessor(lang, code, filename, options) {
141
141
  case "stylus": return compileStylus(code, filename, options);
142
142
  }
143
143
  }
144
- const cssUrlRE = /(?<!@import\s+)(?<=^|[^\w\-\u0080-\uFFFF])url\((\s*('[^']+'|"[^"]+")\s*|(?:\\.|[^'")\\])+)\)/;
145
- const cssDataUriRE = /(?<=^|[^\w\-\u0080-\uFFFF])data-uri\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/;
144
+ const cssUrlRE = /(?<!@import\s+)(?<=^|[^\w\-\u{80}-\u{10FFFF}])url\((\s*('[^']+'|"[^"]+")\s*|(?:\\.|[^'")\\])+)\)/u;
145
+ const cssDataUriRE = /(?<=^|[^\w\-\u{80}-\u{10FFFF}])data-uri\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/u;
146
146
  const importCssRE = /@import\s+(?:url\()?('[^']+\.css'|"[^"]+\.css"|[^'"\s)]+\.css)/;
147
147
  async function rebaseUrls(file, rootFile, ignoreUrl) {
148
148
  file = path.resolve(file);
@@ -372,7 +372,7 @@ async function compileStylus(code, filename, options) {
372
372
  ...stylusOptions,
373
373
  filename
374
374
  });
375
- if (define) for (const key of Object.keys(define)) ref.define(key, define[key]);
375
+ if (define) for (const [key, value] of Object.entries(define)) ref.define(key, value);
376
376
  return new Promise((resolve, reject) => {
377
377
  ref.render((err, css) => {
378
378
  if (err) reject(/* @__PURE__ */ new Error(`[stylus] ${err.message}`));
@@ -467,7 +467,7 @@ const ESBUILD_LIGHTNINGCSS_MAPPING = {
467
467
  safari: "safari"
468
468
  };
469
469
  function parseVersion(version) {
470
- const [major, minor = 0, patch = 0] = version.split("-", 1)[0].split(".").map((v) => Number.parseInt(v, 10));
470
+ const [major, minor = 0, patch = 0] = version.split("-", 1)[0].split(".").map((v) => +v);
471
471
  if (Number.isNaN(major) || Number.isNaN(minor) || Number.isNaN(patch)) return null;
472
472
  return major << 16 | minor << 8 | patch;
473
473
  }
@@ -606,7 +606,7 @@ async function loadFileConfig(searchPath) {
606
606
  if (cached !== void 0) return cached;
607
607
  const promise = (async () => {
608
608
  try {
609
- const postcssrc = (await import("./src-BV-UJr_R.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).default;
609
+ const postcssrc = (await import("./src-CPDzmpAq.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).default;
610
610
  const result = await postcssrc({}, searchPath);
611
611
  return {
612
612
  options: result.options,
@@ -770,15 +770,14 @@ function CssPlugin(config, { logger }) {
770
770
  filter: { id: CSS_LANGS_RE },
771
771
  handler(code, id) {
772
772
  if (shouldSkipTransform(id, getCleanId(id))) return;
773
- const isInline = RE_INLINE.test(id);
774
- const modules = modulesMap.get(id);
775
- if (isInline) return {
773
+ if (RE_INLINE.test(id)) return {
776
774
  code: `export default ${JSON.stringify(code)};`,
777
775
  map: null,
778
776
  moduleSideEffects: false,
779
777
  moduleType: "js"
780
778
  };
781
779
  if (code.length) styles.set(id, code);
780
+ const modules = modulesMap.get(id);
782
781
  if (modules) return {
783
782
  code: modulesToEsm(modules),
784
783
  map: null,
@@ -1,6 +1,6 @@
1
- import { r as createDebug, t as R } from "./main-BdzlWPt6.js";
2
- import { O as fsExists, c as isGreaterOrEqual, f as tryParse, k as fsRemove, l as normalize$1, n as NODE_SEA_MIN_VERSION_PARSED, t as NODE_SEA_MIN_VERSION } from "./target-CNxIDvSz-eoHNdJNs.js";
3
- import "./internal-C7ewSPAZ.js";
1
+ import { r as createDebug, t as R } from "./main-DI8qthUB.js";
2
+ import { O as fsExists, c as isGreaterOrEqual, f as tryParse, k as fsRemove, l as normalize$1, n as NODE_SEA_MIN_VERSION_PARSED, t as NODE_SEA_MIN_VERSION } from "./target-Bab3CUeB-Di6tCARH.js";
3
+ import "./internal-DAh_SWnB.js";
4
4
  import process from "node:process";
5
5
  import path from "node:path";
6
6
  import { pipeline } from "node:stream/promises";
@@ -9,7 +9,7 @@ import { createReadStream, createWriteStream } from "node:fs";
9
9
  import { chmod, mkdir, rename } from "node:fs/promises";
10
10
  import os from "node:os";
11
11
  import { createHash } from "node:crypto";
12
- //#region ../../node_modules/.pnpm/@tsdown+exe@0.22.13_tsdown@0.22.13/node_modules/@tsdown/exe/dist/index.mjs
12
+ //#region ../../node_modules/.pnpm/@tsdown+exe@0.22.14_tsdown@0.22.14/node_modules/@tsdown/exe/dist/index.mjs
13
13
  function getCacheDir() {
14
14
  const home = os.homedir();
15
15
  if (process.platform === "win32") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voidzero-dev/vite-plus-core",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "The Unified Toolchain for the Web",
5
5
  "homepage": "https://viteplus.dev/guide",
6
6
  "bugs": {
@@ -111,9 +111,9 @@
111
111
  "@babel/types": "^7.28.5",
112
112
  "@oxc-node/cli": "^0.1.0",
113
113
  "@oxc-node/core": "^0.1.0",
114
- "@tsdown/css": "^0.22.13",
115
- "@tsdown/exe": "^0.22.13",
116
- "@vitejs/devtools": "^0.4.2",
114
+ "@tsdown/css": "^0.22.14",
115
+ "@tsdown/exe": "^0.22.14",
116
+ "@vitejs/devtools": "^0.4.5",
117
117
  "es-module-lexer": "^1.7.0",
118
118
  "hookable": "^6.0.1",
119
119
  "magic-string": "^0.30.21",
@@ -128,9 +128,9 @@
128
128
  "semver": "^7.7.3",
129
129
  "tinyglobby": "^0.2.15",
130
130
  "tree-kill": "^1.2.2",
131
- "tsdown": "^0.22.13",
132
- "vite": "npm:@voidzero-dev/vite-plus-core@0.2.6",
133
- "rolldown": "1.2.0"
131
+ "tsdown": "^0.22.14",
132
+ "rolldown": "1.2.0",
133
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.2.7"
134
134
  },
135
135
  "peerDependencies": {
136
136
  "@arethetypeswrong/core": "^0.18.1",
@@ -213,7 +213,7 @@
213
213
  "bundledVersions": {
214
214
  "vite": "8.1.5",
215
215
  "rolldown": "1.2.0",
216
- "tsdown": "0.22.13"
216
+ "tsdown": "0.22.14"
217
217
  },
218
218
  "scripts": {
219
219
  "build": "oxnode -C dev ./build.ts"
@@ -1,3 +0,0 @@
1
- import "./main-BdzlWPt6.js";
2
- import "./target-CNxIDvSz-eoHNdJNs.js";
3
- export {};