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

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 (75) hide show
  1. package/LICENSE +65 -1
  2. package/dist/rolldown/cli.mjs +17 -14
  3. package/dist/rolldown/config.d.mts +1 -1
  4. package/dist/rolldown/config.mjs +2 -2
  5. package/dist/rolldown/experimental-default-runtime.mjs +116 -0
  6. package/dist/rolldown/experimental-index.d.mts +10 -4
  7. package/dist/rolldown/experimental-index.mjs +32 -16
  8. package/dist/rolldown/experimental-runtime-base.mjs +95 -0
  9. package/dist/rolldown/experimental-runtime.d.ts +177 -0
  10. package/dist/rolldown/experimental-runtime.mjs +257 -0
  11. package/dist/rolldown/filter-index.d.mts +1 -1
  12. package/dist/rolldown/filter-index.mjs +1 -3
  13. package/dist/rolldown/index.d.mts +3 -3
  14. package/dist/rolldown/index.mjs +4 -4
  15. package/dist/rolldown/parallel-plugin-worker.mjs +3 -3
  16. package/dist/rolldown/parallel-plugin.d.mts +1 -1
  17. package/dist/rolldown/parse-ast-index.d.mts +1 -1
  18. package/dist/rolldown/parse-ast-index.mjs +2 -2
  19. package/dist/rolldown/plugins-index.d.mts +3 -3
  20. package/dist/rolldown/plugins-index.mjs +2 -2
  21. package/dist/rolldown/shared/binding-CKyeQZen.mjs +673 -0
  22. package/dist/rolldown/shared/{binding-Dbbi0RbO.d.mts → binding-CVtkJvyl.d.mts} +11 -0
  23. package/dist/rolldown/shared/{bindingify-input-options-DVQ4K-zY.mjs → bindingify-input-options-44iPAymO.mjs} +449 -273
  24. package/dist/rolldown/shared/{constructors-CuGa75s-.mjs → constructors-6Zc-JFd7.mjs} +10 -6
  25. package/dist/rolldown/shared/{constructors-CSWbNgBZ.d.mts → constructors-XaIbWpwJ.d.mts} +2 -2
  26. package/dist/rolldown/shared/{rolldown-build-BGXNOfvH.mjs → create-bundler-option-e1FU0w0P.mjs} +72 -179
  27. package/dist/rolldown/shared/{define-config-B-IDOhDz.d.mts → define-config-DVsXPNaU.d.mts} +85 -26
  28. package/dist/rolldown/shared/{error-DFGNOCle.mjs → error-BzLGqhSQ.mjs} +1 -1
  29. package/dist/rolldown/shared/{load-config-R0z2olkB.mjs → load-config-C6QXSnoS.mjs} +2 -2
  30. package/dist/rolldown/shared/{logs-ZGEh6uhb.mjs → logs-DmYCAKcW.mjs} +8 -1
  31. package/dist/rolldown/shared/{misc-CoQm4NHO.mjs → misc-DOSKtd97.mjs} +9 -1
  32. package/dist/rolldown/shared/{normalize-string-or-regex-SiXbePVH.mjs → normalize-string-or-regex-DYjJ67tj.mjs} +2 -2
  33. package/dist/rolldown/shared/{parse-D5dkElpf.mjs → parse-uDDyc1el.mjs} +2 -2
  34. package/dist/rolldown/shared/{prompt-pZFoa1TT.mjs → prompt-uaCPq0_A.mjs} +2 -6
  35. package/dist/rolldown/shared/{resolve-tsconfig-2TXRF_zr.mjs → resolve-tsconfig-Bcd82vVT.mjs} +2 -2
  36. package/dist/rolldown/shared/rolldown-CCbQNGZt.mjs +178 -0
  37. package/dist/rolldown/shared/{transform-Cs2bUDRH.d.mts → transform-WmU_cI8e.d.mts} +1 -1
  38. package/dist/rolldown/shared/{watch-DVucf-VG.mjs → watch-vuOCmvFs.mjs} +17 -14
  39. package/dist/rolldown/utils-index.d.mts +3 -3
  40. package/dist/rolldown/utils-index.mjs +15 -13
  41. package/dist/tsdown/{build-D_enfyvD-DX5mX46j.js → build-D_enfyvD-Dg1eKRD4.js} +22 -19
  42. package/dist/tsdown/{debug-CKcBYQLP-GQrJ--dM.js → debug-CKcBYQLP-C3NhYhrk.js} +4 -6
  43. package/dist/tsdown/{detect-DGhJGEqb-Cz6qOZuP.js → detect-DGhJGEqb-6CTf16BW.js} +1 -1
  44. package/dist/tsdown/{dist-DCMiHFrJ.js → dist-CMKwGGNp.js} +1 -3
  45. package/dist/tsdown/{dist-CWolxbYK.js → dist-DyXLnzyh.js} +43 -10
  46. package/dist/tsdown/index-types.d.ts +6 -6
  47. package/dist/tsdown/index.js +4 -4
  48. package/dist/tsdown/internal-DKworeK4.js +3 -0
  49. package/dist/tsdown/{main-DI8qthUB.js → main-DiierkER.js} +211 -197
  50. package/dist/tsdown/npm_entry_picomatch.cjs +11 -7
  51. package/dist/tsdown/npm_entry_tree-kill.cjs +15 -15
  52. package/dist/tsdown/{resolver-cwLsPb2o-DvUqSYux.js → resolver-cwLsPb2o-Dk4xdAGE.js} +3 -3
  53. package/dist/tsdown/run.js +6 -6
  54. package/dist/tsdown/{src-CPDzmpAq.js → src-drVPfX63.js} +5 -5
  55. package/dist/tsdown/{target-Bab3CUeB-Di6tCARH.js → target-Bab3CUeB-DQ0pKhCv.js} +6 -6
  56. package/dist/tsdown/{tsc-BQoNcjeB.js → tsc-JnMl2z7d.js} +4 -5
  57. package/dist/tsdown/tsdown-css.js +7 -9
  58. package/dist/tsdown/tsdown-exe.js +4 -4
  59. package/dist/vite/client/bundledDevClient.mjs +1781 -0
  60. package/dist/vite/client/client.mjs +67 -92
  61. package/dist/vite/node/chunks/build.js +98 -88
  62. package/dist/vite/node/chunks/dist.js +62 -114
  63. package/dist/vite/node/chunks/dist2.js +198 -159
  64. package/dist/vite/node/chunks/node.js +3690 -3135
  65. package/dist/vite/node/chunks/postcss-import.js +20 -19
  66. package/dist/vite/node/index.d.ts +73 -17
  67. package/dist/vite/node/module-runner.js +42 -26
  68. package/dist/vite/types/customEvent.d.ts +3 -1
  69. package/dist/vite/types/hmrPayload.d.ts +20 -6
  70. package/package.json +36 -16
  71. package/dist/rolldown/shared/binding-Dby9rwGk.mjs +0 -588
  72. package/dist/rolldown/shared/rolldown-BnV7isAX.mjs +0 -40
  73. package/dist/tsdown/internal-DAh_SWnB.js +0 -3
  74. package/dist/tsdown/load-tsc-BKULZsrs-Bha6Vsu1.js +0 -18
  75. package/dist/tsdown/tsc-context-BhMGQ9Qr.js +0 -23
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
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";
2
+ import { c as blue, f as hex, n as x } from "./main-DiierkER.js";
3
+ import { c as globalLogger, n as version, t as enableDebug } from "./debug-CKcBYQLP-C3NhYhrk.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,7 +622,7 @@ 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.14_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.14_@tsdown+exe@0.22.14_@t_ce23af2d06b6e55ae551016827d08ee4/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_8361ec2a4d03114085b1954a2fc42e35/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", {
@@ -631,13 +631,13 @@ cli.command("[...files]", "Bundle files", {
631
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-D_enfyvD-DX5mX46j.js").then((n) => n.r).then((n) => n.r);
634
+ const { build } = await import("./build-D_enfyvD-Dg1eKRD4.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
  });
638
638
  cli.command("create", "[deprecated] Create a tsdown project. Use \"npx create-tsdown\" instead.", { allowUnknownOptions: true }).action(async () => {
639
639
  globalLogger.warn(`"tsdown create" is deprecated. Please use "npx create-tsdown" instead.`);
640
- const { exitCode } = await R("npx", [
640
+ const { exitCode } = await x("npx", [
641
641
  "-y",
642
642
  "create-tsdown@latest",
643
643
  ...process$1.argv.slice(3)
@@ -646,7 +646,7 @@ cli.command("create", "[deprecated] Create a tsdown project. Use \"npx create-ts
646
646
  });
647
647
  cli.command("migrate", "[deprecated] Migrate from tsup to tsdown. Use \"npx tsdown-migrate\" instead.", { allowUnknownOptions: true }).action(async () => {
648
648
  globalLogger.warn(`"tsdown migrate" is deprecated. Please use "npx tsdown-migrate" instead.`);
649
- const { exitCode } = await R("npx", [
649
+ const { exitCode } = await x("npx", [
650
650
  "-y",
651
651
  "tsdown-migrate@latest",
652
652
  ...process$1.argv.slice(3)
@@ -1,4 +1,4 @@
1
- import { D as __commonJSMin, k as __require } from "./main-DI8qthUB.js";
1
+ import { D as __commonJSMin, k as __require } from "./main-DiierkER.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");
@@ -345,7 +345,7 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
345
345
  };
346
346
  }));
347
347
  //#endregion
348
- //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.20_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/req.js
348
+ //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.25_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/req.js
349
349
  var require_req = /* @__PURE__ */ __commonJSMin(((exports, module) => {
350
350
  const { createRequire } = __require("node:module");
351
351
  const { pathToFileURL } = __require("node:url");
@@ -387,7 +387,7 @@ var require_req = /* @__PURE__ */ __commonJSMin(((exports, module) => {
387
387
  module.exports = req;
388
388
  }));
389
389
  //#endregion
390
- //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.20_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/options.js
390
+ //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.25_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/options.js
391
391
  var require_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
392
392
  const req = require_req();
393
393
  /**
@@ -421,7 +421,7 @@ var require_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
421
421
  module.exports = options;
422
422
  }));
423
423
  //#endregion
424
- //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.20_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/plugins.js
424
+ //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.25_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/plugins.js
425
425
  var require_plugins = /* @__PURE__ */ __commonJSMin(((exports, module) => {
426
426
  const req = require_req();
427
427
  /**
@@ -475,7 +475,7 @@ var require_plugins = /* @__PURE__ */ __commonJSMin(((exports, module) => {
475
475
  module.exports = plugins;
476
476
  }));
477
477
  //#endregion
478
- //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.20_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/index.js
478
+ //#region ../../node_modules/.pnpm/postcss-load-config@6.0.1_jiti@2.7.0_postcss@8.5.25_tsx@4.23.1_yaml@2.9.0/node_modules/postcss-load-config/src/index.js
479
479
  var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
480
480
  const { resolve } = __require("node:path");
481
481
  const config = require_src$1();
@@ -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, y as importWithError } from "./main-DI8qthUB.js";
1
+ import { C as resolveComma, E as toArray, l as bold, n as x, p as red, r as createDebug, u as dim, y as importWithError } from "./main-DiierkER.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.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
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_8361ec2a4d03114085b1954a2fc42e35/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.13_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_bb5be7aebc807a8d600edaae098a2d6b/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_19173df252fb1b72b750fe1e656588b8/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$/;
@@ -453,7 +453,7 @@ function coerce(value, options = {}) {
453
453
  return parsed ? formatFullVersion(parsed) : null;
454
454
  }
455
455
  //#endregion
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
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_8361ec2a4d03114085b1954a2fc42e35/node_modules/tsdown/dist/target-Bab3CUeB.mjs
457
457
  const NODE_SEA_MIN_VERSION = "25.7.0";
458
458
  const NODE_SEA_MIN_VERSION_PARSED = {
459
459
  major: 25,
@@ -515,7 +515,7 @@ async function buildSingleExe(config, bundledFile, outputFile, executable, targe
515
515
  await writeFile(seaConfigPath, JSON.stringify(seaConfig));
516
516
  debug("Wrote sea-config.json: %O -> %s", seaConfig, seaConfigPath);
517
517
  debug("Running: %s --build-sea %s", process.execPath, seaConfigPath);
518
- await R(process.execPath, ["--build-sea", seaConfigPath], {
518
+ await x(process.execPath, ["--build-sea", seaConfigPath], {
519
519
  nodeOptions: { stdio: [
520
520
  "ignore",
521
521
  "ignore",
@@ -529,7 +529,7 @@ async function buildSingleExe(config, bundledFile, outputFile, executable, targe
529
529
  else await fsRemove(tempDir);
530
530
  }
531
531
  if ((target?.platform || process.platform) === "darwin") try {
532
- await R("codesign", [
532
+ await x("codesign", [
533
533
  "--sign",
534
534
  "-",
535
535
  outputPath
@@ -1,10 +1,9 @@
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";
1
+ import { r as createDebug } from "./main-DiierkER.js";
2
+ import { h as RE_DTS_MAP, m as RE_DTS } from "./target-Bab3CUeB-DQ0pKhCv.js";
3
+ import { n as globalContext, t as requireTS } from "./dist-DyXLnzyh.js";
5
4
  import path from "node:path";
6
5
  import { pathToFileURL } from "node:url";
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
6
+ //#region ../../node_modules/.pnpm/rolldown-plugin-dts@0.27.13_@typescript+native-preview@7.0.0-dev.20260605.1_oxc-resolve_19173df252fb1b72b750fe1e656588b8/node_modules/rolldown-plugin-dts/dist/tsc-KtFHcISk.mjs
8
7
  const debug$3 = createDebug("rolldown-plugin-dts:tsc-system");
9
8
  const ts$3 = requireTS();
10
9
  /**
@@ -1,12 +1,12 @@
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";
1
+ import { A as __toESM, C as resolveComma, E as toArray, y as importWithError } from "./main-DiierkER.js";
2
+ import { i as expandBaselineTarget } from "./target-Bab3CUeB-DQ0pKhCv.js";
3
+ import "./internal-DKworeK4.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.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
9
+ //#region ../../node_modules/.pnpm/@tsdown+css@0.22.14_jiti@2.7.0_postcss-import@16.1.1_postcss@8.5.25__postcss@8.5.25_sas_6a16dd13a926d2b2137531bbae459a0e/node_modules/@tsdown/css/dist/index.mjs
10
10
  const defaultCssBundleName = "style.css";
11
11
  function resolveCssOptions(options = {}, topLevelTarget, unbundle) {
12
12
  let cssTarget;
@@ -56,10 +56,8 @@ function applyLocalsConvention(modules, convention) {
56
56
  result[key] = value;
57
57
  if (key.includes("-")) result[camelized] = value;
58
58
  break;
59
- case "dashesOnly":
60
- if (key.includes("-")) result[camelized] = value;
61
- else result[key] = value;
62
- break;
59
+ case "dashesOnly": if (key.includes("-")) result[camelized] = value;
60
+ else result[key] = value;
63
61
  }
64
62
  }
65
63
  return result;
@@ -606,7 +604,7 @@ async function loadFileConfig(searchPath) {
606
604
  if (cached !== void 0) return cached;
607
605
  const promise = (async () => {
608
606
  try {
609
- const postcssrc = (await import("./src-CPDzmpAq.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).default;
607
+ const postcssrc = (await import("./src-drVPfX63.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1))).default;
610
608
  const result = await postcssrc({}, searchPath);
611
609
  return {
612
610
  options: result.options,
@@ -1,6 +1,6 @@
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";
1
+ import { n as x, r as createDebug } from "./main-DiierkER.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-DQ0pKhCv.js";
3
+ import "./internal-DKworeK4.js";
4
4
  import process from "node:process";
5
5
  import path from "node:path";
6
6
  import { pipeline } from "node:stream/promises";
@@ -149,7 +149,7 @@ async function extractBinary(archivePath, targetBinaryPath, target) {
149
149
  debug("Extracting %s from archive to %s", binaryInArchive, outDir);
150
150
  const { command, args } = getExtractCommand(archivePath, outDir, binaryInArchive, target);
151
151
  try {
152
- await R(command, args, {
152
+ await x(command, args, {
153
153
  nodeOptions: { stdio: "inherit" },
154
154
  throwOnError: true,
155
155
  nodePath: false