@rollipop/rolldown 1.0.18 → 1.0.20
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.
- package/dist/cli.mjs +19 -8
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +2 -2
- package/dist/experimental-index.d.mts +14 -4
- package/dist/experimental-index.mjs +20 -15
- package/dist/filter-index.d.mts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +4 -4
- package/dist/parallel-plugin-worker.mjs +2 -2
- package/dist/parallel-plugin.d.mts +1 -1
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/plugins-index.d.mts +3 -3
- package/dist/plugins-index.mjs +2 -2
- package/dist/shared/{binding-Cyz1BOPl.d.mts → binding-DE7ERejD.d.mts} +88 -27
- package/dist/shared/{binding-BkgahC-_.mjs → binding-DamCAbY6.mjs} +26 -26
- package/dist/shared/{bindingify-input-options-B5F7R19R.mjs → bindingify-input-options-SGSGV3Kn.mjs} +1350 -1348
- package/dist/shared/{constructors-BP8dSdw2.mjs → constructors-CTfc5fh7.mjs} +1 -1
- package/dist/shared/{constructors-C2RnsuK3.d.mts → constructors-CqnDcrIL.d.mts} +2 -2
- package/dist/shared/{define-config-oEABMwkg.d.mts → define-config-xmEHQczI.d.mts} +2 -7
- package/dist/shared/{error-DW8gB2Qq.mjs → error-BmTEI0xY.mjs} +1 -1
- package/dist/shared/{load-config-Bh2RCL5t.mjs → load-config-DY5kAiwf.mjs} +1 -1
- package/dist/shared/{normalize-string-or-regex-C3Aaex0G.mjs → normalize-string-or-regex-Ddbkskw6.mjs} +1 -1
- package/dist/shared/{parse-DodhQ1O5.mjs → parse-CNsctGYH.mjs} +1 -1
- package/dist/shared/{resolve-tsconfig-BGfz0QPf.mjs → resolve-tsconfig-B6udNjE_.mjs} +2 -2
- package/dist/shared/{rolldown-Yo0wlwlh.mjs → rolldown-C6DTtWMe.mjs} +1 -1
- package/dist/shared/{rolldown-build-CA7mRy17.mjs → rolldown-build-BCVOvLca.mjs} +20 -21
- package/dist/shared/{transform-BpkSLs0Y.d.mts → transform-DiNoOk6R.d.mts} +1 -1
- package/dist/shared/{watch-Bo2HC6b0.mjs → watch-BqeQlZnt.mjs} +4 -4
- package/dist/utils-index.d.mts +2 -2
- package/dist/utils-index.mjs +2 -2
- package/package.json +12 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-Ddbkskw6.mjs";
|
|
2
2
|
//#region src/builtin-plugin/constructors.ts
|
|
3
3
|
function viteModulePreloadPolyfillPlugin(config) {
|
|
4
4
|
return new BuiltinPlugin("builtin:vite-module-preload-polyfill", config);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as BindingViteImportGlobPluginConfig, D as BindingViteReactRefreshWrapperPluginConfig, E as BindingViteModulePreloadPolyfillPluginConfig, O as BindingViteReporterPluginConfig, S as BindingViteDynamicImportVarsPluginConfig, k as BindingViteResolvePluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteJsonPluginConfig, x as BindingViteBuildImportAnalysisPluginConfig } from "./binding-
|
|
2
|
-
import { P as BuiltinPlugin, Ut as StringOrRegExp } from "./define-config-
|
|
1
|
+
import { C as BindingViteImportGlobPluginConfig, D as BindingViteReactRefreshWrapperPluginConfig, E as BindingViteModulePreloadPolyfillPluginConfig, O as BindingViteReporterPluginConfig, S as BindingViteDynamicImportVarsPluginConfig, k as BindingViteResolvePluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteJsonPluginConfig, x as BindingViteBuildImportAnalysisPluginConfig } from "./binding-DE7ERejD.mjs";
|
|
2
|
+
import { P as BuiltinPlugin, Ut as StringOrRegExp } from "./define-config-xmEHQczI.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/builtin-plugin/constructors.d.ts
|
|
5
5
|
declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-BSNejiLS.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { F as JsxOptions, H as PreRenderedChunk, I as MinifyOptions$1, K as TransformOptions$1, M as ExternalMemoryStatus, V as ParserOptions, _ as BindingTransformHookExtraArgs, c as BindingHookResolveIdExtraArgs, d as BindingPluginContextResolveOptions, j as BindingWatcherBundler, p as BindingRenderedChunk, t as BindingBuiltinPluginName, u as BindingMagicString, z as OxcReactCompilerOptions } from "./binding-DE7ERejD.mjs";
|
|
3
3
|
import { TopLevelFilterExpression } from "@rolldown/pluginutils";
|
|
4
4
|
import { Program } from "@oxc-project/types";
|
|
5
5
|
|
|
@@ -974,12 +974,6 @@ interface OutputOptions {
|
|
|
974
974
|
*/
|
|
975
975
|
strict?: boolean | "auto";
|
|
976
976
|
/**
|
|
977
|
-
* Reserved global identifiers to be avoided when generating export binding names for module chunks.
|
|
978
|
-
*
|
|
979
|
-
* @default []
|
|
980
|
-
*/
|
|
981
|
-
globalIdentifiers?: string[];
|
|
982
|
-
/**
|
|
983
977
|
* Enable persistent transform cache to disk.
|
|
984
978
|
* @default false
|
|
985
979
|
*/
|
|
@@ -1775,6 +1769,7 @@ interface TransformOptions extends Omit<TransformOptions$1, "sourceType" | "lang
|
|
|
1775
1769
|
* - If set to `'preserve'`, JSX syntax will be preserved as-is.
|
|
1776
1770
|
*/
|
|
1777
1771
|
jsx?: false | "react" | "react-jsx" | "preserve" | JsxOptions;
|
|
1772
|
+
reactCompiler?: OxcReactCompilerOptions;
|
|
1778
1773
|
}
|
|
1779
1774
|
//#endregion
|
|
1780
1775
|
//#region src/options/normalized-input-options.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-DamCAbY6.mjs";
|
|
2
2
|
import { c as logPluginError, n as error } from "./logs-aMKUxRpj.mjs";
|
|
3
3
|
//#region src/builtin-plugin/utils.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-DamCAbY6.mjs";
|
|
2
2
|
//#region ../../node_modules/.pnpm/oxc-parser@0.137.0/node_modules/oxc-parser/src-js/wrap.js
|
|
3
3
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
4
4
|
function wrap(result) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
2
|
-
import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-DamCAbY6.mjs";
|
|
2
|
+
import { a as bindingifySourcemap, n as normalizeBindingError } from "./error-BmTEI0xY.mjs";
|
|
3
3
|
//#region src/utils/minify.ts
|
|
4
4
|
var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-
|
|
1
|
+
import { c as validateOption, t as RolldownBuild, u as PluginDriver } from "./rolldown-build-BCVOvLca.mjs";
|
|
2
2
|
//#region src/api/rolldown/index.ts
|
|
3
3
|
/**
|
|
4
4
|
* The API compatible with Rollup's `rollup` function.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-DamCAbY6.mjs";
|
|
2
2
|
import { i as logInputHookInOutputPlugin, n as error } from "./logs-aMKUxRpj.mjs";
|
|
3
|
-
import { n as BuiltinPlugin } from "./normalize-string-or-regex-
|
|
4
|
-
import { c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as
|
|
3
|
+
import { n as BuiltinPlugin } from "./normalize-string-or-regex-Ddbkskw6.mjs";
|
|
4
|
+
import { a as transformModuleInfo, c as __decorate, d as PlainObjectLike, f as MinimalPluginContextImpl, h as LOG_LEVEL_DEBUG, i as PluginContextData, l as transformAssetSource, m as normalizeLog, o as transformToRollupOutput, p as normalizeHook, s as transformRenderedChunk, t as bindingifyInputOptions, u as lazyProp, v as LOG_LEVEL_WARN, x as VERSION, y as logLevelPriority } from "./bindingify-input-options-SGSGV3Kn.mjs";
|
|
5
5
|
import { i as unimplemented } from "./misc-CoQm4NHO.mjs";
|
|
6
|
-
import { i as unwrapBindingResult } from "./error-
|
|
6
|
+
import { i as unwrapBindingResult } from "./error-BmTEI0xY.mjs";
|
|
7
7
|
import { Worker } from "node:worker_threads";
|
|
8
8
|
import path, { sep } from "node:path";
|
|
9
9
|
import { formatWithOptions, styleText } from "node:util";
|
|
@@ -1471,7 +1471,8 @@ const TransformOptionsSchema = /* @__PURE__ */ object({
|
|
|
1471
1471
|
plugins: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ object({
|
|
1472
1472
|
styledComponents: /* @__PURE__ */ optional(/* @__PURE__ */ any()),
|
|
1473
1473
|
taggedTemplateEscape: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
|
|
1474
|
-
})), /* @__PURE__ */ description("Third-party plugins to use"))
|
|
1474
|
+
})), /* @__PURE__ */ description("Third-party plugins to use")),
|
|
1475
|
+
reactCompiler: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ any()), /* @__PURE__ */ description("Enable React Compiler"))
|
|
1475
1476
|
});
|
|
1476
1477
|
const WatcherFileWatcherOptionsSchema = /* @__PURE__ */ strictObject({
|
|
1477
1478
|
usePolling: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Use polling-based file watching instead of native OS events")),
|
|
@@ -1808,8 +1809,7 @@ const OutputOptionsSchema = /* @__PURE__ */ strictObject({
|
|
|
1808
1809
|
keepNames: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Keep function and class names after bundling")),
|
|
1809
1810
|
strictExecutionOrder: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Lets modules be executed in the order they are declared.")),
|
|
1810
1811
|
strict: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ literal("auto")])), /* @__PURE__ */ description("Whether to always output `\"use strict\"` directive in non-ES module outputs.")),
|
|
1811
|
-
persistentCache: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Enable persistent transform cache to disk."))
|
|
1812
|
-
globalIdentifiers: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())), /* @__PURE__ */ description("Reserved global identifiers to be avoided when generating export binding names for module chunks"))
|
|
1812
|
+
persistentCache: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Enable persistent transform cache to disk."))
|
|
1813
1813
|
});
|
|
1814
1814
|
const getAddonDescription = (placement, wrapper) => {
|
|
1815
1815
|
return `Code to insert the ${styleText$1("bold", placement)} of the bundled file (${styleText$1("bold", wrapper)} the wrapper function)`;
|
|
@@ -1926,15 +1926,14 @@ __decorate([lazyProp], RolldownOutputImpl.prototype, "output", null);
|
|
|
1926
1926
|
//#region src/types/chunking-context.ts
|
|
1927
1927
|
var ChunkingContextImpl = class {
|
|
1928
1928
|
context;
|
|
1929
|
-
|
|
1929
|
+
pluginContextData;
|
|
1930
|
+
constructor(context, pluginContextData) {
|
|
1930
1931
|
this.context = context;
|
|
1932
|
+
this.pluginContextData = pluginContextData;
|
|
1931
1933
|
}
|
|
1932
1934
|
getModuleInfo(moduleId) {
|
|
1933
1935
|
const bindingInfo = this.context.getModuleInfo(moduleId);
|
|
1934
|
-
if (bindingInfo) return transformModuleInfo(bindingInfo,
|
|
1935
|
-
moduleSideEffects: null,
|
|
1936
|
-
meta: {}
|
|
1937
|
-
});
|
|
1936
|
+
if (bindingInfo) return transformModuleInfo(bindingInfo, this.pluginContextData.getModuleOption(moduleId));
|
|
1938
1937
|
return null;
|
|
1939
1938
|
}
|
|
1940
1939
|
};
|
|
@@ -2914,10 +2913,10 @@ function createTestingLogger() {
|
|
|
2914
2913
|
}
|
|
2915
2914
|
//#endregion
|
|
2916
2915
|
//#region src/utils/bindingify-output-options.ts
|
|
2917
|
-
function bindingifyOutputOptions(outputOptions) {
|
|
2918
|
-
const { dir, format, exports, hashCharacters, sourcemap, sourcemapBaseUrl, sourcemapDebugIds, sourcemapExcludeSources, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, banner, footer, postBanner, postFooter, intro, outro, esModule, globals, paths, generatedCode, file, sanitizeFileName, preserveModules, virtualDirname, legalComments, comments, preserveModulesRoot, manualChunks, topLevelVar, cleanDir, strictExecutionOrder
|
|
2916
|
+
function bindingifyOutputOptions(outputOptions, pluginContextData) {
|
|
2917
|
+
const { dir, format, exports, hashCharacters, sourcemap, sourcemapBaseUrl, sourcemapDebugIds, sourcemapExcludeSources, sourcemapIgnoreList, sourcemapPathTransform, name, assetFileNames, entryFileNames, chunkFileNames, banner, footer, postBanner, postFooter, intro, outro, esModule, globals, paths, generatedCode, file, sanitizeFileName, preserveModules, virtualDirname, legalComments, comments, preserveModulesRoot, manualChunks, topLevelVar, cleanDir, strictExecutionOrder } = outputOptions;
|
|
2919
2918
|
if (legalComments != null) logger.warn("`legalComments` option is deprecated, please use `comments.legal` instead.");
|
|
2920
|
-
const { inlineDynamicImports, advancedChunks } = bindingifyCodeSplitting(outputOptions.codeSplitting, outputOptions.inlineDynamicImports, outputOptions.advancedChunks, manualChunks);
|
|
2919
|
+
const { inlineDynamicImports, advancedChunks } = bindingifyCodeSplitting(outputOptions.codeSplitting, outputOptions.inlineDynamicImports, outputOptions.advancedChunks, manualChunks, pluginContextData);
|
|
2921
2920
|
return {
|
|
2922
2921
|
dir,
|
|
2923
2922
|
file: file == null ? void 0 : file,
|
|
@@ -2963,8 +2962,7 @@ function bindingifyOutputOptions(outputOptions) {
|
|
|
2963
2962
|
cleanDir,
|
|
2964
2963
|
strictExecutionOrder,
|
|
2965
2964
|
strict: outputOptions.strict,
|
|
2966
|
-
persistentCache: outputOptions.persistentCache
|
|
2967
|
-
globalIdentifiers
|
|
2965
|
+
persistentCache: outputOptions.persistentCache
|
|
2968
2966
|
};
|
|
2969
2967
|
}
|
|
2970
2968
|
function bindingifyAddon(configAddon) {
|
|
@@ -3014,7 +3012,7 @@ function bindingifyComments(comments) {
|
|
|
3014
3012
|
if (typeof comments === "boolean") return comments;
|
|
3015
3013
|
return comments;
|
|
3016
3014
|
}
|
|
3017
|
-
function bindingifyCodeSplitting(codeSplitting, inlineDynamicImportsOption, advancedChunks, manualChunks) {
|
|
3015
|
+
function bindingifyCodeSplitting(codeSplitting, inlineDynamicImportsOption, advancedChunks, manualChunks, pluginContextData) {
|
|
3018
3016
|
let inlineDynamicImports;
|
|
3019
3017
|
let effectiveChunksOption;
|
|
3020
3018
|
if (codeSplitting === false) {
|
|
@@ -3060,7 +3058,7 @@ function bindingifyCodeSplitting(codeSplitting, inlineDynamicImportsOption, adva
|
|
|
3060
3058
|
const { name, ...restGroup } = group;
|
|
3061
3059
|
return {
|
|
3062
3060
|
...restGroup,
|
|
3063
|
-
name: typeof name === "function" ? (id, ctx) => name(id, new ChunkingContextImpl(ctx)) : name
|
|
3061
|
+
name: typeof name === "function" ? (id, ctx) => name(id, new ChunkingContextImpl(ctx, pluginContextData)) : name
|
|
3064
3062
|
};
|
|
3065
3063
|
})
|
|
3066
3064
|
};
|
|
@@ -3146,10 +3144,11 @@ async function createBundlerOptions(inputOptions, outputOptions, watchMode) {
|
|
|
3146
3144
|
const parallelPluginInitResult = await initializeParallelPlugins(plugins);
|
|
3147
3145
|
if (inputOptions.experimental?.strictExecutionOrder !== void 0) console.warn("`experimental.strictExecutionOrder` has been stabilized and moved to `output.strictExecutionOrder`. Please update your configuration.");
|
|
3148
3146
|
try {
|
|
3147
|
+
const pluginContextData = new PluginContextData(onLog, outputOptions, normalizedInputPlugins, normalizedOutputPlugins);
|
|
3149
3148
|
return {
|
|
3150
3149
|
bundlerOptions: {
|
|
3151
|
-
inputOptions: bindingifyInputOptions(plugins, inputOptions, outputOptions,
|
|
3152
|
-
outputOptions: bindingifyOutputOptions(outputOptions),
|
|
3150
|
+
inputOptions: bindingifyInputOptions(plugins, inputOptions, outputOptions, pluginContextData, normalizedOutputPlugins, onLog, logLevel, watchMode),
|
|
3151
|
+
outputOptions: bindingifyOutputOptions(outputOptions, pluginContextData),
|
|
3153
3152
|
parallelPluginsRegistry: parallelPluginInitResult?.registry
|
|
3154
3153
|
},
|
|
3155
3154
|
inputOptions,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as RolldownLog } from "./logging-BSNejiLS.mjs";
|
|
2
|
-
import { B as
|
|
2
|
+
import { B as ParseResult$1, G as SourceMap, I as MinifyOptions$1, L as MinifyResult$1, V as ParserOptions$1, a as BindingEnhancedTransformOptions, b as BindingTsconfigResult, o as BindingEnhancedTransformResult, q as TsconfigCache$1 } from "./binding-DE7ERejD.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/utils/resolve-tsconfig.d.ts
|
|
5
5
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __toESM, t as require_binding } from "./binding-
|
|
1
|
+
import { n as __toESM, t as require_binding } from "./binding-DamCAbY6.mjs";
|
|
2
2
|
import { o as logMultipleWatcherOption } from "./logs-aMKUxRpj.mjs";
|
|
3
|
-
import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-
|
|
3
|
+
import { v as LOG_LEVEL_WARN } from "./bindingify-input-options-SGSGV3Kn.mjs";
|
|
4
4
|
import { t as arraify } from "./misc-CoQm4NHO.mjs";
|
|
5
|
-
import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-
|
|
6
|
-
import { t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
5
|
+
import { n as createBundlerOptions, u as PluginDriver } from "./rolldown-build-BCVOvLca.mjs";
|
|
6
|
+
import { t as aggregateBindingErrorsIntoJsError } from "./error-BmTEI0xY.mjs";
|
|
7
7
|
//#region ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
|
|
8
8
|
/**
|
|
9
9
|
* This is not the set of all possible signals.
|
package/dist/utils-index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-
|
|
2
|
-
import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-
|
|
1
|
+
import { v as BindingTsconfigCompilerOptions, y as BindingTsconfigRawOptions } from "./shared/binding-DE7ERejD.mjs";
|
|
2
|
+
import { a as MinifyOptions, c as minifySync, d as parse, f as parseSync, i as transformSync, l as ParseResult, n as TransformResult, o as MinifyResult, p as TsconfigCache, r as transform, s as minify, t as TransformOptions, u as ParserOptions } from "./shared/transform-DiNoOk6R.mjs";
|
|
3
3
|
import * as ESTree from "@oxc-project/types";
|
|
4
4
|
import { Program } from "@oxc-project/types";
|
|
5
5
|
|
package/dist/utils-index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
2
|
-
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-
|
|
1
|
+
import { n as parseSync, t as parse } from "./shared/parse-CNsctGYH.mjs";
|
|
2
|
+
import { a as minify, i as transformSync, o as minifySync, r as transform, t as TsconfigCache } from "./shared/resolve-tsconfig-B6udNjE_.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/oxc-parser@0.137.0/node_modules/oxc-parser/src-js/generated/visit/walk.js
|
|
4
4
|
function walkNode(node, visitors) {
|
|
5
5
|
if (node == null) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollipop/rolldown",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bundler",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@napi-rs/cli": "^3.7.2",
|
|
61
|
-
"@napi-rs/wasm-runtime": "^1.1.
|
|
61
|
+
"@napi-rs/wasm-runtime": "^1.1.6",
|
|
62
62
|
"@oxc-node/cli": "^0.1.0",
|
|
63
63
|
"@rollup/plugin-json": "^6.1.0",
|
|
64
64
|
"buble": "^0.20.0",
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
"oxc-parser": "=0.137.0",
|
|
70
70
|
"pathe": "^2.0.3",
|
|
71
71
|
"remeda": "^2.34.1",
|
|
72
|
-
"rolldown": "1.1.
|
|
73
|
-
"rolldown-plugin-dts": "^0.
|
|
72
|
+
"rolldown": "1.1.3",
|
|
73
|
+
"rolldown-plugin-dts": "^0.26.0",
|
|
74
74
|
"rollup": "^4.60.4",
|
|
75
75
|
"signal-exit": "4.1.0",
|
|
76
76
|
"source-map": "0.7.6",
|
|
77
77
|
"typescript": "^6.0.0",
|
|
78
78
|
"valibot": "1.4.1",
|
|
79
|
-
"@rollipop/rolldown": "1.0.
|
|
79
|
+
"@rollipop/rolldown": "1.0.20"
|
|
80
80
|
},
|
|
81
81
|
"napi": {
|
|
82
82
|
"binaryName": "rolldown-binding",
|
|
@@ -104,13 +104,13 @@
|
|
|
104
104
|
"node": "^20.19.0 || >=22.12.0"
|
|
105
105
|
},
|
|
106
106
|
"optionalDependencies": {
|
|
107
|
-
"@rollipop/rolldown-binding-darwin-x64": "1.0.
|
|
108
|
-
"@rollipop/rolldown-binding-win32-x64-msvc": "1.0.
|
|
109
|
-
"@rollipop/rolldown-binding-linux-x64-gnu": "1.0.
|
|
110
|
-
"@rollipop/rolldown-binding-linux-x64-musl": "1.0.
|
|
111
|
-
"@rollipop/rolldown-binding-linux-arm64-gnu": "1.0.
|
|
112
|
-
"@rollipop/rolldown-binding-darwin-arm64": "1.0.
|
|
113
|
-
"@rollipop/rolldown-binding-linux-arm64-musl": "1.0.
|
|
107
|
+
"@rollipop/rolldown-binding-darwin-x64": "1.0.20",
|
|
108
|
+
"@rollipop/rolldown-binding-win32-x64-msvc": "1.0.20",
|
|
109
|
+
"@rollipop/rolldown-binding-linux-x64-gnu": "1.0.20",
|
|
110
|
+
"@rollipop/rolldown-binding-linux-x64-musl": "1.0.20",
|
|
111
|
+
"@rollipop/rolldown-binding-linux-arm64-gnu": "1.0.20",
|
|
112
|
+
"@rollipop/rolldown-binding-darwin-arm64": "1.0.20",
|
|
113
|
+
"@rollipop/rolldown-binding-linux-arm64-musl": "1.0.20"
|
|
114
114
|
},
|
|
115
115
|
"scripts": {
|
|
116
116
|
"# Scrips for binding #": "_",
|