rolldown 1.0.0-beta.10-commit.81375fe → 1.0.0-beta.10-commit.2c4c2a8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/cli.cjs +2 -2
  2. package/dist/cli.mjs +2 -2
  3. package/dist/config.cjs +2 -2
  4. package/dist/config.d.cts +2 -4
  5. package/dist/config.d.mts +2 -4
  6. package/dist/config.mjs +2 -2
  7. package/dist/experimental-index.cjs +1 -1
  8. package/dist/experimental-index.d.cts +12 -43
  9. package/dist/experimental-index.d.mts +12 -43
  10. package/dist/experimental-index.mjs +1 -1
  11. package/dist/filter-index.d.cts +2 -3
  12. package/dist/filter-index.d.mts +2 -3
  13. package/dist/index.cjs +1 -1
  14. package/dist/index.d.cts +2 -3
  15. package/dist/index.d.mts +2 -3
  16. package/dist/index.mjs +1 -1
  17. package/dist/parallel-plugin-worker.cjs +1 -1
  18. package/dist/parallel-plugin-worker.mjs +1 -1
  19. package/dist/parallel-plugin.d.cts +6 -7
  20. package/dist/parallel-plugin.d.mts +6 -7
  21. package/dist/parse-ast-index.d.cts +2 -2
  22. package/dist/parse-ast-index.d.mts +2 -2
  23. package/dist/shared/{binding.d-BKOi_hD7.d.cts → binding-BYafUgFF.d.cts} +731 -781
  24. package/dist/shared/{binding.d-CcC9cav0.d.mts → binding-Dod8fhx9.d.mts} +731 -781
  25. package/dist/shared/define-config-BetvTt9D.d.cts +1048 -0
  26. package/dist/shared/define-config-CpexVifn.d.mts +1048 -0
  27. package/dist/shared/{load-config-CFYpL6SK.mjs → load-config-CmjIAbYJ.mjs} +1 -1
  28. package/dist/shared/{load-config-bI3e4Rt2.cjs → load-config-zuPp_M9H.cjs} +1 -1
  29. package/dist/shared/{src-Bhp6Fp5n.mjs → src-DZ9wYGiM.mjs} +46 -16
  30. package/dist/shared/{src-D0ZOjAa9.cjs → src-ToZqKnE7.cjs} +46 -16
  31. package/package.json +18 -17
  32. package/dist/shared/define-config.d-CZCq3rLo.d.cts +0 -1083
  33. package/dist/shared/define-config.d-OKdRAYhn.d.mts +0 -1083
@@ -1,4 +1,4 @@
1
- import { rolldown } from "./src-Bhp6Fp5n.mjs";
1
+ import { rolldown } from "./src-DZ9wYGiM.mjs";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { pathToFileURL } from "node:url";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DDkG_k5U.cjs');
2
- const require_src = require('./src-D0ZOjAa9.cjs');
2
+ const require_src = require('./src-ToZqKnE7.cjs');
3
3
  const node_fs = require_chunk.__toESM(require("node:fs"));
4
4
  const node_path = require_chunk.__toESM(require("node:path"));
5
5
  const node_url = require_chunk.__toESM(require("node:url"));
@@ -8,7 +8,7 @@ import os from "node:os";
8
8
  import { Worker } from "node:worker_threads";
9
9
 
10
10
  //#region package.json
11
- var version = "1.0.0-beta.10-commit.81375fe";
11
+ var version = "1.0.0-beta.10-commit.2c4c2a8";
12
12
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
13
13
 
14
14
  //#endregion
@@ -1823,6 +1823,17 @@ const JsxOptionsSchema = strictObject({
1823
1823
  pragmaFlag: pipe(optional(string()), description("Jsx fragment transformation")),
1824
1824
  refresh: pipe(optional(boolean()), description("Enable react fast refresh"))
1825
1825
  });
1826
+ const RollupJsxOptionsSchema = strictObject({
1827
+ mode: optional(union([
1828
+ literal("classic"),
1829
+ literal("automatic"),
1830
+ literal("preserve")
1831
+ ])),
1832
+ factory: optional(string()),
1833
+ fragment: optional(string()),
1834
+ importSource: optional(string()),
1835
+ jsxImportSource: optional(string())
1836
+ });
1826
1837
  const HelperModeSchema = union([literal("Runtime"), literal("External")]);
1827
1838
  const DecoratorOptionSchema = object({
1828
1839
  legacy: optional(boolean()),
@@ -1947,12 +1958,13 @@ const InputOptionsSchema = strictObject({
1947
1958
  define: pipe(optional(record(string(), string())), description("Define global variables")),
1948
1959
  inject: optional(record(string(), union([string(), tuple([string(), string()])]))),
1949
1960
  profilerNames: optional(boolean()),
1950
- jsx: pipe(optional(union([
1961
+ jsx: optional(union([
1951
1962
  literal(false),
1952
1963
  literal("react"),
1953
1964
  literal("react-jsx"),
1954
- literal("preserve")
1955
- ])), description("Jsx options preset")),
1965
+ literal("preserve"),
1966
+ RollupJsxOptionsSchema
1967
+ ])),
1956
1968
  transform: optional(TransformOptionsSchema),
1957
1969
  watch: optional(union([WatchOptionsSchema, literal(false)])),
1958
1970
  dropLabels: pipe(optional(array(string())), description("Remove labeled statements with these label names")),
@@ -1964,7 +1976,13 @@ const InputCliOverrideSchema = strictObject({
1964
1976
  input: pipe(optional(array(string())), description("Entry file")),
1965
1977
  external: pipe(optional(array(string())), description("Comma-separated list of module ids to exclude from the bundle `<module-id>,...`")),
1966
1978
  inject: pipe(optional(record(string(), string())), description("Inject import statements on demand")),
1967
- treeshake: pipe(optional(boolean()), description("enable treeshaking"))
1979
+ treeshake: pipe(optional(boolean()), description("enable treeshaking")),
1980
+ jsx: pipe(optional(union([
1981
+ literal(false),
1982
+ literal("react"),
1983
+ literal("react-jsx"),
1984
+ literal("preserve")
1985
+ ])), description("Jsx options preset"))
1968
1986
  });
1969
1987
  const InputCliOptionsSchema = omit(strictObject({
1970
1988
  ...InputOptionsSchema.entries,
@@ -2299,7 +2317,7 @@ function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
2299
2317
  }
2300
2318
 
2301
2319
  //#endregion
2302
- //#region ../../node_modules/.pnpm/remeda@2.22.3/node_modules/remeda/dist/chunk-D6FCK2GA.js
2320
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js
2303
2321
  function u$1(o, n, a) {
2304
2322
  let t$1 = (r) => o(r, ...n);
2305
2323
  return a === void 0 ? t$1 : Object.assign(t$1, {
@@ -2309,7 +2327,7 @@ function u$1(o, n, a) {
2309
2327
  }
2310
2328
 
2311
2329
  //#endregion
2312
- //#region ../../node_modules/.pnpm/remeda@2.22.3/node_modules/remeda/dist/chunk-WIMGWYZL.js
2330
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js
2313
2331
  function u(r, n, o) {
2314
2332
  let a = r.length - n.length;
2315
2333
  if (a === 0) return r(...n);
@@ -2318,7 +2336,7 @@ function u(r, n, o) {
2318
2336
  }
2319
2337
 
2320
2338
  //#endregion
2321
- //#region ../../node_modules/.pnpm/remeda@2.22.3/node_modules/remeda/dist/chunk-3IFJP4R5.js
2339
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js
2322
2340
  function d(...r) {
2323
2341
  return u(i, r);
2324
2342
  }
@@ -2329,7 +2347,7 @@ var i = (r, t$1) => {
2329
2347
  };
2330
2348
 
2331
2349
  //#endregion
2332
- //#region ../../node_modules/.pnpm/remeda@2.22.3/node_modules/remeda/dist/chunk-5NQBDF4H.js
2350
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js
2333
2351
  function t(...n) {
2334
2352
  return u(Object.keys, n);
2335
2353
  }
@@ -3657,6 +3675,8 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
3657
3675
  if (plugin instanceof BuiltinPlugin) return bindingifyBuiltInPlugin(plugin);
3658
3676
  return bindingifyPlugin(plugin, inputOptions, outputOptions, pluginContextData, normalizedOutputPlugins, onLog, logLevel, watchMode);
3659
3677
  });
3678
+ const { jsx, jsxTransform } = bindingifyJsx(inputOptions.jsx);
3679
+ const transform = inputOptions.transform || jsxTransform;
3660
3680
  return {
3661
3681
  input: bindingifyInput(inputOptions.input),
3662
3682
  plugins,
@@ -3680,8 +3700,8 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
3680
3700
  attachDebugInfo: inputOptions.experimental?.attachDebugInfo
3681
3701
  },
3682
3702
  profilerNames: inputOptions?.profilerNames,
3683
- jsx: bindingifyJsx(inputOptions.jsx),
3684
- transform: inputOptions.transform,
3703
+ jsx,
3704
+ transform,
3685
3705
  watch: bindingifyWatch(inputOptions.watch),
3686
3706
  dropLabels: inputOptions.dropLabels,
3687
3707
  keepNames: inputOptions.keepNames,
@@ -3782,12 +3802,22 @@ function bindingifyInput(input) {
3782
3802
  });
3783
3803
  }
3784
3804
  function bindingifyJsx(input) {
3805
+ if (typeof input === "object") {
3806
+ if (input.mode === "preserve") return { jsx: import_binding$3.BindingJsx.Preserve };
3807
+ const mode = input.mode ?? "automatic";
3808
+ return { jsxTransform: { jsx: {
3809
+ runtime: mode,
3810
+ pragma: input.factory,
3811
+ pragmaFrag: input.fragment,
3812
+ importSource: mode === "classic" ? input.importSource : mode === "automatic" ? input.jsxImportSource : void 0
3813
+ } } };
3814
+ }
3785
3815
  switch (input) {
3786
- case false: return import_binding$3.BindingJsx.Disable;
3787
- case "react": return import_binding$3.BindingJsx.React;
3788
- case "react-jsx": return import_binding$3.BindingJsx.ReactJsx;
3789
- case "preserve": return import_binding$3.BindingJsx.Preserve;
3790
- default: return void 0;
3816
+ case false: return { jsx: import_binding$3.BindingJsx.Disable };
3817
+ case "react": return { jsx: import_binding$3.BindingJsx.React };
3818
+ case "react-jsx": return { jsx: import_binding$3.BindingJsx.ReactJsx };
3819
+ case "preserve": return { jsx: import_binding$3.BindingJsx.Preserve };
3820
+ default: return { jsx: void 0 };
3791
3821
  }
3792
3822
  }
3793
3823
  function bindingifyWatch(watch$1) {
@@ -9,7 +9,7 @@ const node_os = require_chunk.__toESM(require("node:os"));
9
9
  const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
10
10
 
11
11
  //#region package.json
12
- var version = "1.0.0-beta.10-commit.81375fe";
12
+ var version = "1.0.0-beta.10-commit.2c4c2a8";
13
13
  var description$1 = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
14
14
 
15
15
  //#endregion
@@ -1824,6 +1824,17 @@ const JsxOptionsSchema = strictObject({
1824
1824
  pragmaFlag: pipe(optional(string()), description("Jsx fragment transformation")),
1825
1825
  refresh: pipe(optional(boolean()), description("Enable react fast refresh"))
1826
1826
  });
1827
+ const RollupJsxOptionsSchema = strictObject({
1828
+ mode: optional(union([
1829
+ literal("classic"),
1830
+ literal("automatic"),
1831
+ literal("preserve")
1832
+ ])),
1833
+ factory: optional(string()),
1834
+ fragment: optional(string()),
1835
+ importSource: optional(string()),
1836
+ jsxImportSource: optional(string())
1837
+ });
1827
1838
  const HelperModeSchema = union([literal("Runtime"), literal("External")]);
1828
1839
  const DecoratorOptionSchema = object({
1829
1840
  legacy: optional(boolean()),
@@ -1948,12 +1959,13 @@ const InputOptionsSchema = strictObject({
1948
1959
  define: pipe(optional(record(string(), string())), description("Define global variables")),
1949
1960
  inject: optional(record(string(), union([string(), tuple([string(), string()])]))),
1950
1961
  profilerNames: optional(boolean()),
1951
- jsx: pipe(optional(union([
1962
+ jsx: optional(union([
1952
1963
  literal(false),
1953
1964
  literal("react"),
1954
1965
  literal("react-jsx"),
1955
- literal("preserve")
1956
- ])), description("Jsx options preset")),
1966
+ literal("preserve"),
1967
+ RollupJsxOptionsSchema
1968
+ ])),
1957
1969
  transform: optional(TransformOptionsSchema),
1958
1970
  watch: optional(union([WatchOptionsSchema, literal(false)])),
1959
1971
  dropLabels: pipe(optional(array(string())), description("Remove labeled statements with these label names")),
@@ -1965,7 +1977,13 @@ const InputCliOverrideSchema = strictObject({
1965
1977
  input: pipe(optional(array(string())), description("Entry file")),
1966
1978
  external: pipe(optional(array(string())), description("Comma-separated list of module ids to exclude from the bundle `<module-id>,...`")),
1967
1979
  inject: pipe(optional(record(string(), string())), description("Inject import statements on demand")),
1968
- treeshake: pipe(optional(boolean()), description("enable treeshaking"))
1980
+ treeshake: pipe(optional(boolean()), description("enable treeshaking")),
1981
+ jsx: pipe(optional(union([
1982
+ literal(false),
1983
+ literal("react"),
1984
+ literal("react-jsx"),
1985
+ literal("preserve")
1986
+ ])), description("Jsx options preset"))
1969
1987
  });
1970
1988
  const InputCliOptionsSchema = omit(strictObject({
1971
1989
  ...InputOptionsSchema.entries,
@@ -2300,7 +2318,7 @@ function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
2300
2318
  }
2301
2319
 
2302
2320
  //#endregion
2303
- //#region ../../node_modules/.pnpm/remeda@2.22.3/node_modules/remeda/dist/chunk-D6FCK2GA.js
2321
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-D6FCK2GA.js
2304
2322
  function u$1(o, n, a) {
2305
2323
  let t$1 = (r) => o(r, ...n);
2306
2324
  return a === void 0 ? t$1 : Object.assign(t$1, {
@@ -2310,7 +2328,7 @@ function u$1(o, n, a) {
2310
2328
  }
2311
2329
 
2312
2330
  //#endregion
2313
- //#region ../../node_modules/.pnpm/remeda@2.22.3/node_modules/remeda/dist/chunk-WIMGWYZL.js
2331
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-WIMGWYZL.js
2314
2332
  function u(r, n, o) {
2315
2333
  let a = r.length - n.length;
2316
2334
  if (a === 0) return r(...n);
@@ -2319,7 +2337,7 @@ function u(r, n, o) {
2319
2337
  }
2320
2338
 
2321
2339
  //#endregion
2322
- //#region ../../node_modules/.pnpm/remeda@2.22.3/node_modules/remeda/dist/chunk-3IFJP4R5.js
2340
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-3IFJP4R5.js
2323
2341
  function d(...r) {
2324
2342
  return u(i, r);
2325
2343
  }
@@ -2330,7 +2348,7 @@ var i = (r, t$1) => {
2330
2348
  };
2331
2349
 
2332
2350
  //#endregion
2333
- //#region ../../node_modules/.pnpm/remeda@2.22.3/node_modules/remeda/dist/chunk-5NQBDF4H.js
2351
+ //#region ../../node_modules/.pnpm/remeda@2.21.6/node_modules/remeda/dist/chunk-5NQBDF4H.js
2334
2352
  function t(...n) {
2335
2353
  return u(Object.keys, n);
2336
2354
  }
@@ -3658,6 +3676,8 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
3658
3676
  if (plugin instanceof BuiltinPlugin) return bindingifyBuiltInPlugin(plugin);
3659
3677
  return bindingifyPlugin(plugin, inputOptions, outputOptions, pluginContextData, normalizedOutputPlugins, onLog, logLevel, watchMode);
3660
3678
  });
3679
+ const { jsx, jsxTransform } = bindingifyJsx(inputOptions.jsx);
3680
+ const transform = inputOptions.transform || jsxTransform;
3661
3681
  return {
3662
3682
  input: bindingifyInput(inputOptions.input),
3663
3683
  plugins,
@@ -3681,8 +3701,8 @@ function bindingifyInputOptions(rawPlugins, inputOptions, outputOptions, normali
3681
3701
  attachDebugInfo: inputOptions.experimental?.attachDebugInfo
3682
3702
  },
3683
3703
  profilerNames: inputOptions?.profilerNames,
3684
- jsx: bindingifyJsx(inputOptions.jsx),
3685
- transform: inputOptions.transform,
3704
+ jsx,
3705
+ transform,
3686
3706
  watch: bindingifyWatch(inputOptions.watch),
3687
3707
  dropLabels: inputOptions.dropLabels,
3688
3708
  keepNames: inputOptions.keepNames,
@@ -3783,12 +3803,22 @@ function bindingifyInput(input) {
3783
3803
  });
3784
3804
  }
3785
3805
  function bindingifyJsx(input) {
3806
+ if (typeof input === "object") {
3807
+ if (input.mode === "preserve") return { jsx: import_binding$3.BindingJsx.Preserve };
3808
+ const mode = input.mode ?? "automatic";
3809
+ return { jsxTransform: { jsx: {
3810
+ runtime: mode,
3811
+ pragma: input.factory,
3812
+ pragmaFrag: input.fragment,
3813
+ importSource: mode === "classic" ? input.importSource : mode === "automatic" ? input.jsxImportSource : void 0
3814
+ } } };
3815
+ }
3786
3816
  switch (input) {
3787
- case false: return import_binding$3.BindingJsx.Disable;
3788
- case "react": return import_binding$3.BindingJsx.React;
3789
- case "react-jsx": return import_binding$3.BindingJsx.ReactJsx;
3790
- case "preserve": return import_binding$3.BindingJsx.Preserve;
3791
- default: return void 0;
3817
+ case false: return { jsx: import_binding$3.BindingJsx.Disable };
3818
+ case "react": return { jsx: import_binding$3.BindingJsx.React };
3819
+ case "react-jsx": return { jsx: import_binding$3.BindingJsx.ReactJsx };
3820
+ case "preserve": return { jsx: import_binding$3.BindingJsx.Preserve };
3821
+ default: return { jsx: void 0 };
3792
3822
  }
3793
3823
  }
3794
3824
  function bindingifyWatch(watch$1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown",
3
- "version": "1.0.0-beta.10-commit.81375fe",
3
+ "version": "1.0.0-beta.10-commit.2c4c2a8",
4
4
  "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
5
  "type": "commonjs",
6
6
  "homepage": "https://rolldown.rs/",
@@ -93,7 +93,7 @@
93
93
  "@oxc-project/runtime": "0.72.1",
94
94
  "@oxc-project/types": "0.72.1",
95
95
  "ansis": "^4.0.0",
96
- "@rolldown/pluginutils": "1.0.0-beta.10-commit.81375fe"
96
+ "@rolldown/pluginutils": "1.0.0-beta.10-commit.2c4c2a8"
97
97
  },
98
98
  "devDependencies": {
99
99
  "@napi-rs/cli": "3.0.0-alpha.81",
@@ -108,30 +108,31 @@
108
108
  "glob": "^11.0.0",
109
109
  "oxc-parser": "0.72.1",
110
110
  "remeda": "^2.10.0",
111
- "rolldown-plugin-dts": "0.7.12",
111
+ "rolldown-plugin-dts": "^0.13.6",
112
112
  "rollup": "^4.18.0",
113
113
  "signal-exit": "4.1.0",
114
114
  "source-map": "^0.7.4",
115
+ "tsx": "^4.19.4",
115
116
  "type-fest": "^4.20.0",
116
117
  "typedoc": "^0.28.0",
117
118
  "typescript": "^5.7.3",
118
119
  "valibot": "1.1.0",
119
120
  "@rolldown/testing": "0.0.1",
120
- "rolldown": "1.0.0-beta.10-commit.81375fe"
121
+ "rolldown": "1.0.0-beta.10-commit.2c4c2a8"
121
122
  },
122
123
  "optionalDependencies": {
123
- "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.10-commit.81375fe",
124
- "@rolldown/binding-darwin-arm64": "1.0.0-beta.10-commit.81375fe",
125
- "@rolldown/binding-freebsd-x64": "1.0.0-beta.10-commit.81375fe",
126
- "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.10-commit.81375fe",
127
- "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.10-commit.81375fe",
128
- "@rolldown/binding-darwin-x64": "1.0.0-beta.10-commit.81375fe",
129
- "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.10-commit.81375fe",
130
- "@rolldown/binding-linux-x64-musl": "1.0.0-beta.10-commit.81375fe",
131
- "@rolldown/binding-wasm32-wasi": "1.0.0-beta.10-commit.81375fe",
132
- "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.10-commit.81375fe",
133
- "@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.10-commit.81375fe",
134
- "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.10-commit.81375fe"
124
+ "@rolldown/binding-darwin-arm64": "1.0.0-beta.10-commit.2c4c2a8",
125
+ "@rolldown/binding-freebsd-x64": "1.0.0-beta.10-commit.2c4c2a8",
126
+ "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.10-commit.2c4c2a8",
127
+ "@rolldown/binding-linux-arm64-musl": "1.0.0-beta.10-commit.2c4c2a8",
128
+ "@rolldown/binding-darwin-x64": "1.0.0-beta.10-commit.2c4c2a8",
129
+ "@rolldown/binding-linux-x64-gnu": "1.0.0-beta.10-commit.2c4c2a8",
130
+ "@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.10-commit.2c4c2a8",
131
+ "@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.10-commit.2c4c2a8",
132
+ "@rolldown/binding-wasm32-wasi": "1.0.0-beta.10-commit.2c4c2a8",
133
+ "@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.10-commit.2c4c2a8",
134
+ "@rolldown/binding-linux-x64-musl": "1.0.0-beta.10-commit.2c4c2a8",
135
+ "@rolldown/binding-win32-x64-msvc": "1.0.0-beta.10-commit.2c4c2a8"
135
136
  },
136
137
  "scripts": {
137
138
  "# Scrips for binding #": "_",
@@ -141,7 +142,7 @@
141
142
  "build-binding:wasi": "pnpm build-binding --target wasm32-wasip1-threads",
142
143
  "build-binding:wasi:release": "pnpm build-binding --profile release-wasi --target wasm32-wasip1-threads",
143
144
  "# Scrips for node #": "_",
144
- "build-node": "oxnode ./build.ts",
145
+ "build-node": "tsx -C dev ./build.ts",
145
146
  "build-types-check": "tsc -p ./tsconfig.check.json",
146
147
  "build-js-glue": "pnpm run --sequential '/^build-(types|node|types-check)$/'",
147
148
  "build-native:debug": "pnpm run --sequential '/^build-(binding|js-glue)$/'",