rolldown 1.0.0-beta.8-commit.151352b → 1.0.0-beta.8-commit.a98d94e
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.cjs +4 -4
- package/dist/cli.mjs +4 -4
- package/dist/experimental-index.cjs +2 -2
- package/dist/experimental-index.d.cts +2 -2
- package/dist/experimental-index.d.mts +2 -2
- package/dist/experimental-index.mjs +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +2 -2
- package/dist/parallel-plugin-worker.cjs +2 -2
- package/dist/parallel-plugin-worker.mjs +2 -2
- package/dist/parallel-plugin.d.cts +2 -2
- package/dist/parallel-plugin.d.mts +2 -2
- package/dist/parse-ast-index.cjs +1 -1
- package/dist/parse-ast-index.d.cts +1 -1
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/shared/{binding.d-BVuAIDg-.d.cts → binding.d-N_CFNfq2.d.mts} +84 -0
- package/dist/shared/{binding.d-BeOzR_y0.d.mts → binding.d-y7dWnUxd.d.cts} +84 -0
- package/dist/shared/{input-options.d-B2BWQxam.d.mts → input-options.d-BS41m-u8.d.mts} +23 -28
- package/dist/shared/{input-options.d-jahyb6Re.d.cts → input-options.d-DW_DouH4.d.cts} +23 -28
- package/dist/shared/{parse-ast-index-DROW_mqO.cjs → parse-ast-index-BU0vRbCC.cjs} +14 -13
- package/dist/shared/{parse-ast-index-CJTgEIMh.mjs → parse-ast-index-C5zEG9SJ.mjs} +15 -14
- package/dist/shared/{src-BpsLPv1F.cjs → src-Bv1wl15e.cjs} +2 -2
- package/dist/shared/{src-DvIQg0VF.mjs → src-IKFm0rpN.mjs} +2 -2
- package/package.json +19 -20
package/dist/cli.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-Bv1wl15e.cjs');
|
|
3
|
+
require('./shared/parse-ast-index-BU0vRbCC.cjs');
|
|
4
4
|
const node_fs = require_chunk.__toESM(require("node:fs"));
|
|
5
5
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
6
6
|
const ansis = require_chunk.__toESM(require("ansis"));
|
|
@@ -1559,8 +1559,8 @@ async function loadConfig(configPath) {
|
|
|
1559
1559
|
}
|
|
1560
1560
|
|
|
1561
1561
|
//#endregion
|
|
1562
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1563
|
-
var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1562
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.67.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1563
|
+
var require_usingCtx = require_chunk.__commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.67.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
|
|
1564
1564
|
function _usingCtx() {
|
|
1565
1565
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1566
1566
|
var n$2 = Error();
|
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJS, __esm, __toESM } from "./shared/chunk-DUYDk_2O.mjs";
|
|
2
|
-
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_misc, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-
|
|
3
|
-
import "./shared/parse-ast-index-
|
|
2
|
+
import { arraify, description, getInputCliKeys, getJsonSchema, getOutputCliKeys, init_misc, init_rolldown, init_validator, init_watch, rolldown, validateCliOptions, version, watch } from "./shared/src-IKFm0rpN.mjs";
|
|
3
|
+
import "./shared/parse-ast-index-C5zEG9SJ.mjs";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path, { sep } from "node:path";
|
|
6
6
|
import colors from "ansis";
|
|
@@ -1564,8 +1564,8 @@ var init_load_config = __esm({ "src/cli/load-config.ts"() {
|
|
|
1564
1564
|
} });
|
|
1565
1565
|
|
|
1566
1566
|
//#endregion
|
|
1567
|
-
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1568
|
-
var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.
|
|
1567
|
+
//#region ../../node_modules/.pnpm/@oxc-project+runtime@0.67.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js
|
|
1568
|
+
var require_usingCtx = __commonJS({ "../../node_modules/.pnpm/@oxc-project+runtime@0.67.0/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(exports, module) {
|
|
1569
1569
|
function _usingCtx() {
|
|
1570
1570
|
var r$1 = "function" == typeof SuppressedError ? SuppressedError : function(r$2, e$1) {
|
|
1571
1571
|
var n$2 = Error();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_src = require('./shared/src-
|
|
4
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
3
|
+
const require_src = require('./shared/src-Bv1wl15e.cjs');
|
|
4
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-BU0vRbCC.cjs');
|
|
5
5
|
const node_url = require_chunk.__toESM(require("node:url"));
|
|
6
6
|
|
|
7
7
|
//#region src/api/experimental.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BindingReplacePluginConfig, BindingTransformPluginConfig, TransformOptions, TransformResult$1 as TransformResult, moduleRunnerTransform, transform } from "./shared/binding.d-
|
|
2
|
-
import { BuiltinPlugin, InputOptions, RolldownPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/input-options.d-
|
|
1
|
+
import { BindingReplacePluginConfig, BindingTransformPluginConfig, TransformOptions, TransformResult$1 as TransformResult, moduleRunnerTransform, transform } from "./shared/binding.d-y7dWnUxd.cjs";
|
|
2
|
+
import { BuiltinPlugin, InputOptions, RolldownPlugin, buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/input-options.d-DW_DouH4.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BindingReplacePluginConfig, BindingTransformPluginConfig, TransformOptions, TransformResult$1 as TransformResult, moduleRunnerTransform, transform } from "./shared/binding.d-
|
|
2
|
-
import { BuiltinPlugin$1 as BuiltinPlugin, InputOptions, RolldownPlugin, buildImportAnalysisPlugin$1 as buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin$1 as dynamicImportVarsPlugin, importGlobPlugin$1 as importGlobPlugin, isolatedDeclarationPlugin$1 as isolatedDeclarationPlugin, jsonPlugin$1 as jsonPlugin, loadFallbackPlugin$1 as loadFallbackPlugin, manifestPlugin$1 as manifestPlugin, moduleFederationPlugin$1 as moduleFederationPlugin, modulePreloadPolyfillPlugin$1 as modulePreloadPolyfillPlugin, reportPlugin$1 as reportPlugin, viteResolvePlugin$1 as viteResolvePlugin, wasmFallbackPlugin$1 as wasmFallbackPlugin, wasmHelperPlugin$1 as wasmHelperPlugin } from "./shared/input-options.d-
|
|
1
|
+
import { BindingReplacePluginConfig, BindingTransformPluginConfig, TransformOptions, TransformResult$1 as TransformResult, moduleRunnerTransform, transform } from "./shared/binding.d-N_CFNfq2.mjs";
|
|
2
|
+
import { BuiltinPlugin$1 as BuiltinPlugin, InputOptions, RolldownPlugin, buildImportAnalysisPlugin$1 as buildImportAnalysisPlugin, defineParallelPlugin, dynamicImportVarsPlugin$1 as dynamicImportVarsPlugin, importGlobPlugin$1 as importGlobPlugin, isolatedDeclarationPlugin$1 as isolatedDeclarationPlugin, jsonPlugin$1 as jsonPlugin, loadFallbackPlugin$1 as loadFallbackPlugin, manifestPlugin$1 as manifestPlugin, moduleFederationPlugin$1 as moduleFederationPlugin, modulePreloadPolyfillPlugin$1 as modulePreloadPolyfillPlugin, reportPlugin$1 as reportPlugin, viteResolvePlugin$1 as viteResolvePlugin, wasmFallbackPlugin$1 as wasmFallbackPlugin, wasmHelperPlugin$1 as wasmHelperPlugin } from "./shared/input-options.d-BS41m-u8.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/api/experimental.d.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_transform_to_rollup_output, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/src-
|
|
2
|
-
import { import_binding } from "./shared/parse-ast-index-
|
|
1
|
+
import { BuiltinPlugin, buildImportAnalysisPlugin, composeJsPlugins, createBundler, dynamicImportVarsPlugin, handleOutputErrors, importGlobPlugin, init_compose_js_plugins, init_constructors, init_create_bundler, init_normalize_string_or_regex, init_transform_to_rollup_output, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, normalizedStringOrRegex, reportPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin } from "./shared/src-IKFm0rpN.mjs";
|
|
2
|
+
import { import_binding } from "./shared/parse-ast-index-C5zEG9SJ.mjs";
|
|
3
3
|
import { pathToFileURL } from "node:url";
|
|
4
4
|
|
|
5
5
|
//#region src/api/experimental.ts
|
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_src = require('./shared/src-
|
|
2
|
-
require('./shared/parse-ast-index-
|
|
1
|
+
const require_src = require('./shared/src-Bv1wl15e.cjs');
|
|
2
|
+
require('./shared/parse-ast-index-BU0vRbCC.cjs');
|
|
3
3
|
|
|
4
4
|
exports.VERSION = require_src.VERSION
|
|
5
5
|
exports.build = require_src.build
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PreRenderedChunk } from "./shared/binding.d-
|
|
2
|
-
import { AsyncPluginHooks, BuildOptions, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogOrStringHandler, LoggingFunction, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog, SourceDescription, SourceMap, SourceMapInput, StringFilter, TransformPluginContext, TransformResult, VERSION, WarningHandlerWithDefault, WatchOptions, build, defineConfig, rolldown, watch, withFilter } from "./shared/input-options.d-
|
|
1
|
+
import { PreRenderedChunk } from "./shared/binding.d-y7dWnUxd.cjs";
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, StringFilter, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, build, defineConfig, rolldown, watch, withFilter } from "./shared/input-options.d-DW_DouH4.cjs";
|
|
3
3
|
|
|
4
|
-
export { AsyncPluginHooks, BuildOptions, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogOrStringHandler, LoggingFunction, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog, SourceDescription, SourceMap, SourceMapInput, StringFilter, TransformPluginContext, TransformResult, VERSION, WarningHandlerWithDefault, WatchOptions, build, defineConfig, rolldown, watch, withFilter };
|
|
4
|
+
export { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, StringFilter, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, build, defineConfig, rolldown, watch, withFilter };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PreRenderedChunk } from "./shared/binding.d-
|
|
2
|
-
import { AsyncPluginHooks, BuildOptions, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogOrStringHandler, LoggingFunction, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog, SourceDescription, SourceMap, SourceMapInput, StringFilter, TransformPluginContext, TransformResult, VERSION$1 as VERSION, WarningHandlerWithDefault, WatchOptions, build$1 as build, defineConfig$1 as defineConfig, rolldown$1 as rolldown, watch$1 as watch, withFilter$1 as withFilter } from "./shared/input-options.d-
|
|
1
|
+
import { PreRenderedChunk } from "./shared/binding.d-N_CFNfq2.mjs";
|
|
2
|
+
import { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, StringFilter, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION$1 as VERSION, WarningHandlerWithDefault, WatchOptions, build$1 as build, defineConfig$1 as defineConfig, rolldown$1 as rolldown, watch$1 as watch, withFilter$1 as withFilter } from "./shared/input-options.d-BS41m-u8.mjs";
|
|
3
3
|
|
|
4
|
-
export { AsyncPluginHooks, BuildOptions, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogOrStringHandler, LoggingFunction, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog, SourceDescription, SourceMap, SourceMapInput, StringFilter, TransformPluginContext, TransformResult, VERSION, WarningHandlerWithDefault, WatchOptions, build, defineConfig, rolldown, watch, withFilter };
|
|
4
|
+
export { AddonFunction, AsyncPluginHooks, BuildOptions, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, PreRenderedChunk, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, StringFilter, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, build, defineConfig, rolldown, watch, withFilter };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VERSION, build, defineConfig, init_src, rolldown, watch, withFilter } from "./shared/src-
|
|
2
|
-
import "./shared/parse-ast-index-
|
|
1
|
+
import { VERSION, build, defineConfig, init_src, rolldown, watch, withFilter } from "./shared/src-IKFm0rpN.mjs";
|
|
2
|
+
import "./shared/parse-ast-index-C5zEG9SJ.mjs";
|
|
3
3
|
|
|
4
4
|
init_src();
|
|
5
5
|
export { VERSION, build, defineConfig, rolldown, watch, withFilter };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./shared/chunk-qZFfknuJ.cjs');
|
|
2
|
-
const require_src = require('./shared/src-
|
|
3
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
2
|
+
const require_src = require('./shared/src-Bv1wl15e.cjs');
|
|
3
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-BU0vRbCC.cjs');
|
|
4
4
|
const node_worker_threads = require_chunk.__toESM(require("node:worker_threads"));
|
|
5
5
|
|
|
6
6
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJS } from "./shared/chunk-DUYDk_2O.mjs";
|
|
2
|
-
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-
|
|
3
|
-
import { import_binding } from "./shared/parse-ast-index-
|
|
2
|
+
import { PluginContextData, bindingifyPlugin, init_bindingify_plugin, init_plugin_context_data } from "./shared/src-IKFm0rpN.mjs";
|
|
3
|
+
import { import_binding } from "./shared/parse-ast-index-C5zEG9SJ.mjs";
|
|
4
4
|
import { parentPort, workerData } from "node:worker_threads";
|
|
5
5
|
|
|
6
6
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding.d-
|
|
2
|
-
import { MaybePromise, Plugin } from "./shared/input-options.d-
|
|
1
|
+
import "./shared/binding.d-y7dWnUxd.cjs";
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/input-options.d-DW_DouH4.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./shared/binding.d-
|
|
2
|
-
import { MaybePromise, Plugin } from "./shared/input-options.d-
|
|
1
|
+
import "./shared/binding.d-N_CFNfq2.mjs";
|
|
2
|
+
import { MaybePromise, Plugin } from "./shared/input-options.d-BS41m-u8.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
package/dist/parse-ast-index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_parse_ast_index = require('./shared/parse-ast-index-
|
|
1
|
+
const require_parse_ast_index = require('./shared/parse-ast-index-BU0vRbCC.cjs');
|
|
2
2
|
|
|
3
3
|
exports.parseAst = require_parse_ast_index.parseAst
|
|
4
4
|
exports.parseAstAsync = require_parse_ast_index.parseAstAsync
|
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_parse_ast_index, parseAst, parseAstAsync } from "./shared/parse-ast-index-
|
|
1
|
+
import { init_parse_ast_index, parseAst, parseAstAsync } from "./shared/parse-ast-index-C5zEG9SJ.mjs";
|
|
2
2
|
|
|
3
3
|
init_parse_ast_index();
|
|
4
4
|
export { parseAst, parseAstAsync };
|
|
@@ -207,6 +207,47 @@ interface CompilerAssumptions {
|
|
|
207
207
|
noDocumentAll?: boolean
|
|
208
208
|
objectRestNoSymbols?: boolean
|
|
209
209
|
pureGetters?: boolean
|
|
210
|
+
/**
|
|
211
|
+
* When using public class fields, assume that they don't shadow any getter in the current class,
|
|
212
|
+
* in its subclasses or in its superclass. Thus, it's safe to assign them rather than using
|
|
213
|
+
* `Object.defineProperty`.
|
|
214
|
+
*
|
|
215
|
+
* For example:
|
|
216
|
+
*
|
|
217
|
+
* Input:
|
|
218
|
+
* ```js
|
|
219
|
+
* class Test {
|
|
220
|
+
* field = 2;
|
|
221
|
+
*
|
|
222
|
+
* static staticField = 3;
|
|
223
|
+
* }
|
|
224
|
+
* ```
|
|
225
|
+
*
|
|
226
|
+
* When `set_public_class_fields` is `true`, the output will be:
|
|
227
|
+
* ```js
|
|
228
|
+
* class Test {
|
|
229
|
+
* constructor() {
|
|
230
|
+
* this.field = 2;
|
|
231
|
+
* }
|
|
232
|
+
* }
|
|
233
|
+
* Test.staticField = 3;
|
|
234
|
+
* ```
|
|
235
|
+
*
|
|
236
|
+
* Otherwise, the output will be:
|
|
237
|
+
* ```js
|
|
238
|
+
* import _defineProperty from "@oxc-project/runtime/helpers/defineProperty";
|
|
239
|
+
* class Test {
|
|
240
|
+
* constructor() {
|
|
241
|
+
* _defineProperty(this, "field", 2);
|
|
242
|
+
* }
|
|
243
|
+
* }
|
|
244
|
+
* _defineProperty(Test, "staticField", 3);
|
|
245
|
+
* ```
|
|
246
|
+
*
|
|
247
|
+
* NOTE: For TypeScript, if you wanted behavior is equivalent to `useDefineForClassFields: false`, you should
|
|
248
|
+
* set both `set_public_class_fields` and [`crate::TypeScriptOptions::remove_class_fields_without_initializer`]
|
|
249
|
+
* to `true`.
|
|
250
|
+
*/
|
|
210
251
|
setPublicClassFields?: boolean
|
|
211
252
|
}
|
|
212
253
|
interface DecoratorOptions {
|
|
@@ -812,7 +853,50 @@ interface TypeScriptOptions {
|
|
|
812
853
|
jsxPragmaFrag?: string
|
|
813
854
|
onlyRemoveTypeImports?: boolean
|
|
814
855
|
allowNamespaces?: boolean
|
|
856
|
+
/**
|
|
857
|
+
* When enabled, type-only class fields are only removed if they are prefixed with the declare modifier:
|
|
858
|
+
*
|
|
859
|
+
* @deprecated
|
|
860
|
+
*
|
|
861
|
+
* Allowing `declare` fields is built-in support in Oxc without any option. If you want to remove class fields
|
|
862
|
+
* without initializer, you can use `remove_class_fields_without_initializer: true` instead.
|
|
863
|
+
*/
|
|
815
864
|
allowDeclareFields?: boolean
|
|
865
|
+
/**
|
|
866
|
+
* When enabled, class fields without initializers are removed.
|
|
867
|
+
*
|
|
868
|
+
* For example:
|
|
869
|
+
* ```ts
|
|
870
|
+
* class Foo {
|
|
871
|
+
* x: number;
|
|
872
|
+
* y: number = 0;
|
|
873
|
+
* }
|
|
874
|
+
* ```
|
|
875
|
+
* // transform into
|
|
876
|
+
* ```js
|
|
877
|
+
* class Foo {
|
|
878
|
+
* x: number;
|
|
879
|
+
* }
|
|
880
|
+
* ```
|
|
881
|
+
*
|
|
882
|
+
* The option is used to align with the behavior of TypeScript's `useDefineForClassFields: false` option.
|
|
883
|
+
* When you want to enable this, you also need to set [`crate::CompilerAssumptions::set_public_class_fields`]
|
|
884
|
+
* to `true`. The `set_public_class_fields: true` + `remove_class_fields_without_initializer: true` is
|
|
885
|
+
* equivalent to `useDefineForClassFields: false` in TypeScript.
|
|
886
|
+
*
|
|
887
|
+
* When `set_public_class_fields` is true and class-properties plugin is enabled, the above example transforms into:
|
|
888
|
+
*
|
|
889
|
+
* ```js
|
|
890
|
+
* class Foo {
|
|
891
|
+
* constructor() {
|
|
892
|
+
* this.y = 0;
|
|
893
|
+
* }
|
|
894
|
+
* }
|
|
895
|
+
* ```
|
|
896
|
+
*
|
|
897
|
+
* Defaults to `false`.
|
|
898
|
+
*/
|
|
899
|
+
removeClassFieldsWithoutInitializer?: boolean
|
|
816
900
|
/**
|
|
817
901
|
* Also generate a `.d.ts` declaration file for TypeScript files.
|
|
818
902
|
*
|
|
@@ -207,6 +207,47 @@ interface CompilerAssumptions {
|
|
|
207
207
|
noDocumentAll?: boolean
|
|
208
208
|
objectRestNoSymbols?: boolean
|
|
209
209
|
pureGetters?: boolean
|
|
210
|
+
/**
|
|
211
|
+
* When using public class fields, assume that they don't shadow any getter in the current class,
|
|
212
|
+
* in its subclasses or in its superclass. Thus, it's safe to assign them rather than using
|
|
213
|
+
* `Object.defineProperty`.
|
|
214
|
+
*
|
|
215
|
+
* For example:
|
|
216
|
+
*
|
|
217
|
+
* Input:
|
|
218
|
+
* ```js
|
|
219
|
+
* class Test {
|
|
220
|
+
* field = 2;
|
|
221
|
+
*
|
|
222
|
+
* static staticField = 3;
|
|
223
|
+
* }
|
|
224
|
+
* ```
|
|
225
|
+
*
|
|
226
|
+
* When `set_public_class_fields` is `true`, the output will be:
|
|
227
|
+
* ```js
|
|
228
|
+
* class Test {
|
|
229
|
+
* constructor() {
|
|
230
|
+
* this.field = 2;
|
|
231
|
+
* }
|
|
232
|
+
* }
|
|
233
|
+
* Test.staticField = 3;
|
|
234
|
+
* ```
|
|
235
|
+
*
|
|
236
|
+
* Otherwise, the output will be:
|
|
237
|
+
* ```js
|
|
238
|
+
* import _defineProperty from "@oxc-project/runtime/helpers/defineProperty";
|
|
239
|
+
* class Test {
|
|
240
|
+
* constructor() {
|
|
241
|
+
* _defineProperty(this, "field", 2);
|
|
242
|
+
* }
|
|
243
|
+
* }
|
|
244
|
+
* _defineProperty(Test, "staticField", 3);
|
|
245
|
+
* ```
|
|
246
|
+
*
|
|
247
|
+
* NOTE: For TypeScript, if you wanted behavior is equivalent to `useDefineForClassFields: false`, you should
|
|
248
|
+
* set both `set_public_class_fields` and [`crate::TypeScriptOptions::remove_class_fields_without_initializer`]
|
|
249
|
+
* to `true`.
|
|
250
|
+
*/
|
|
210
251
|
setPublicClassFields?: boolean
|
|
211
252
|
}
|
|
212
253
|
interface DecoratorOptions {
|
|
@@ -812,7 +853,50 @@ interface TypeScriptOptions {
|
|
|
812
853
|
jsxPragmaFrag?: string
|
|
813
854
|
onlyRemoveTypeImports?: boolean
|
|
814
855
|
allowNamespaces?: boolean
|
|
856
|
+
/**
|
|
857
|
+
* When enabled, type-only class fields are only removed if they are prefixed with the declare modifier:
|
|
858
|
+
*
|
|
859
|
+
* @deprecated
|
|
860
|
+
*
|
|
861
|
+
* Allowing `declare` fields is built-in support in Oxc without any option. If you want to remove class fields
|
|
862
|
+
* without initializer, you can use `remove_class_fields_without_initializer: true` instead.
|
|
863
|
+
*/
|
|
815
864
|
allowDeclareFields?: boolean
|
|
865
|
+
/**
|
|
866
|
+
* When enabled, class fields without initializers are removed.
|
|
867
|
+
*
|
|
868
|
+
* For example:
|
|
869
|
+
* ```ts
|
|
870
|
+
* class Foo {
|
|
871
|
+
* x: number;
|
|
872
|
+
* y: number = 0;
|
|
873
|
+
* }
|
|
874
|
+
* ```
|
|
875
|
+
* // transform into
|
|
876
|
+
* ```js
|
|
877
|
+
* class Foo {
|
|
878
|
+
* x: number;
|
|
879
|
+
* }
|
|
880
|
+
* ```
|
|
881
|
+
*
|
|
882
|
+
* The option is used to align with the behavior of TypeScript's `useDefineForClassFields: false` option.
|
|
883
|
+
* When you want to enable this, you also need to set [`crate::CompilerAssumptions::set_public_class_fields`]
|
|
884
|
+
* to `true`. The `set_public_class_fields: true` + `remove_class_fields_without_initializer: true` is
|
|
885
|
+
* equivalent to `useDefineForClassFields: false` in TypeScript.
|
|
886
|
+
*
|
|
887
|
+
* When `set_public_class_fields` is true and class-properties plugin is enabled, the above example transforms into:
|
|
888
|
+
*
|
|
889
|
+
* ```js
|
|
890
|
+
* class Foo {
|
|
891
|
+
* constructor() {
|
|
892
|
+
* this.y = 0;
|
|
893
|
+
* }
|
|
894
|
+
* }
|
|
895
|
+
* ```
|
|
896
|
+
*
|
|
897
|
+
* Defaults to `false`.
|
|
898
|
+
*/
|
|
899
|
+
removeClassFieldsWithoutInitializer?: boolean
|
|
816
900
|
/**
|
|
817
901
|
* Also generate a `.d.ts` declaration file for TypeScript files.
|
|
818
902
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingDynamicImportVarsPluginConfig, BindingGlobImportPluginConfig, BindingHmrOutput, BindingHookResolveIdExtraArgs, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReportPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding.d-
|
|
1
|
+
import { BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingDynamicImportVarsPluginConfig, BindingGlobImportPluginConfig, BindingHmrOutput, BindingHookResolveIdExtraArgs, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReportPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding.d-N_CFNfq2.mjs";
|
|
2
2
|
import { Program } from "@oxc-project/types";
|
|
3
3
|
|
|
4
4
|
//#region src/log/logging.d.ts
|
|
5
|
-
type LogLevel
|
|
6
|
-
type LogLevelOption = LogLevel
|
|
7
|
-
type LogLevelWithError = LogLevel
|
|
5
|
+
type LogLevel = "info" | "debug" | "warn";
|
|
6
|
+
type LogLevelOption = LogLevel | "silent";
|
|
7
|
+
type LogLevelWithError = LogLevel | "error";
|
|
8
8
|
type RollupLog$1 = any;
|
|
9
9
|
type RollupLogWithString = RollupLog$1 | string;
|
|
10
10
|
type LogOrStringHandler = (level: LogLevelWithError, log: RollupLogWithString) => void;
|
|
@@ -40,7 +40,6 @@ interface RollupError extends RollupLog {
|
|
|
40
40
|
stack?: string;
|
|
41
41
|
watchFiles?: string[];
|
|
42
42
|
}
|
|
43
|
-
type LogLevel = "warn" | "info" | "debug";
|
|
44
43
|
type LoggingFunction = (log: RollupLog | string | (() => RollupLog | string)) => void;
|
|
45
44
|
type LoggingFunctionWithPosition = (log: RollupLog | string | (() => RollupLog | string), pos?: number | {
|
|
46
45
|
column: number
|
|
@@ -135,11 +134,6 @@ type StringOrRegExp = string | RegExp;
|
|
|
135
134
|
type ModuleFormat = "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | "experimental-app";
|
|
136
135
|
type AddonFunction = (chunk: RenderedChunk) => string | Promise<string>;
|
|
137
136
|
type ChunkFileNamesFunction = (chunkInfo: PreRenderedChunk) => string;
|
|
138
|
-
interface MinifyOptions {
|
|
139
|
-
mangle: boolean;
|
|
140
|
-
compress: boolean;
|
|
141
|
-
removeWhitespace: boolean;
|
|
142
|
-
}
|
|
143
137
|
interface PreRenderedAsset {
|
|
144
138
|
names: string[];
|
|
145
139
|
originalFileNames: string[];
|
|
@@ -149,6 +143,7 @@ interface PreRenderedAsset {
|
|
|
149
143
|
type AssetFileNamesFunction = (chunkInfo: PreRenderedAsset) => string;
|
|
150
144
|
type GlobalsFunction = (name: string) => string;
|
|
151
145
|
type ESTarget = "es6" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "es2023" | "es2024" | "esnext";
|
|
146
|
+
type MinifyOptions = BindingMinifyOptions;
|
|
152
147
|
interface OutputOptions {
|
|
153
148
|
dir?: string;
|
|
154
149
|
file?: string;
|
|
@@ -578,6 +573,21 @@ interface RolldownOptions extends InputOptions {
|
|
|
578
573
|
*/
|
|
579
574
|
type ConfigExport = RolldownOptions | RolldownOptions[];
|
|
580
575
|
|
|
576
|
+
//#endregion
|
|
577
|
+
//#region src/types/module-side-effects.d.ts
|
|
578
|
+
interface ModuleSideEffectsRule {
|
|
579
|
+
test?: RegExp;
|
|
580
|
+
external?: boolean;
|
|
581
|
+
sideEffects: boolean;
|
|
582
|
+
}
|
|
583
|
+
type ModuleSideEffectsOption = boolean | ModuleSideEffectsRule[] | ((id: string, isResolved: boolean) => boolean | undefined) | "no-external";
|
|
584
|
+
type TreeshakingOptions = {
|
|
585
|
+
moduleSideEffects?: ModuleSideEffectsOption
|
|
586
|
+
annotations?: boolean
|
|
587
|
+
manualPureFunctions?: string[]
|
|
588
|
+
unknownGlobalSideEffects?: boolean
|
|
589
|
+
} | boolean;
|
|
590
|
+
|
|
581
591
|
//#endregion
|
|
582
592
|
//#region src/types/output-bundle.d.ts
|
|
583
593
|
interface OutputBundle {
|
|
@@ -740,7 +750,7 @@ type RenderedChunkMeta = {
|
|
|
740
750
|
chunks: Record<string, RenderedChunk>
|
|
741
751
|
};
|
|
742
752
|
interface FunctionPluginHooks {
|
|
743
|
-
[DEFINED_HOOK_NAMES.onLog]: (this: MinimalPluginContext, level: LogLevel
|
|
753
|
+
[DEFINED_HOOK_NAMES.onLog]: (this: MinimalPluginContext, level: LogLevel, log: RollupLog) => NullValue | boolean;
|
|
744
754
|
[DEFINED_HOOK_NAMES.options]: (this: MinimalPluginContext, options: InputOptions) => NullValue | InputOptions;
|
|
745
755
|
[DEFINED_HOOK_NAMES.outputOptions]: (this: MinimalPluginContext, options: OutputOptions) => NullValue | OutputOptions;
|
|
746
756
|
[DEFINED_HOOK_NAMES.buildStart]: (this: PluginContext, options: NormalizedInputOptions) => void;
|
|
@@ -819,21 +829,6 @@ type RolldownPluginOption<A = any> = MaybePromise<NullValue<RolldownPlugin<A>> |
|
|
|
819
829
|
type RolldownOutputPlugin = OutputPlugin | BuiltinPlugin;
|
|
820
830
|
type RolldownOutputPluginOption = MaybePromise<NullValue<RolldownOutputPlugin> | false | RolldownOutputPluginOption[]>;
|
|
821
831
|
|
|
822
|
-
//#endregion
|
|
823
|
-
//#region src/types/module-side-effects.d.ts
|
|
824
|
-
interface ModuleSideEffectsRule {
|
|
825
|
-
test?: RegExp;
|
|
826
|
-
external?: boolean;
|
|
827
|
-
sideEffects: boolean;
|
|
828
|
-
}
|
|
829
|
-
type ModuleSideEffectsOption = boolean | ModuleSideEffectsRule[] | ((id: string, isResolved: boolean) => boolean | undefined) | "no-external";
|
|
830
|
-
type TreeshakingOptions = {
|
|
831
|
-
moduleSideEffects?: ModuleSideEffectsOption
|
|
832
|
-
annotations?: boolean
|
|
833
|
-
manualPureFunctions?: string[]
|
|
834
|
-
unknownGlobalSideEffects?: boolean
|
|
835
|
-
} | boolean;
|
|
836
|
-
|
|
837
832
|
//#endregion
|
|
838
833
|
//#region src/options/generated/checks-options.d.ts
|
|
839
834
|
interface ChecksOptions {
|
|
@@ -966,7 +961,7 @@ interface InputOptions {
|
|
|
966
961
|
shimMissingExports?: boolean;
|
|
967
962
|
treeshake?: boolean | TreeshakingOptions;
|
|
968
963
|
logLevel?: LogLevelOption;
|
|
969
|
-
onLog?: (level: LogLevel
|
|
964
|
+
onLog?: (level: LogLevel, log: RollupLog$1, defaultHandler: LogOrStringHandler) => void;
|
|
970
965
|
onwarn?: (warning: RollupLog$1, defaultHandler: (warning: RollupLogWithString | (() => RollupLogWithString)) => void) => void;
|
|
971
966
|
moduleTypes?: ModuleTypes;
|
|
972
967
|
experimental?: {
|
|
@@ -1070,4 +1065,4 @@ interface InputOptions {
|
|
|
1070
1065
|
}
|
|
1071
1066
|
|
|
1072
1067
|
//#endregion
|
|
1073
|
-
export { AsyncPluginHooks, BuildOptions, BuiltinPlugin as BuiltinPlugin$1, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogOrStringHandler, LoggingFunction, MaybePromise, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog, SourceDescription, SourceMap, SourceMapInput, StringFilter, TransformPluginContext, TransformResult, VERSION as VERSION$1, WarningHandlerWithDefault, WatchOptions$1 as WatchOptions, build as build$1, buildImportAnalysisPlugin as buildImportAnalysisPlugin$1, defineConfig as defineConfig$1, defineParallelPlugin, dynamicImportVarsPlugin as dynamicImportVarsPlugin$1, importGlobPlugin as importGlobPlugin$1, isolatedDeclarationPlugin as isolatedDeclarationPlugin$1, jsonPlugin as jsonPlugin$1, loadFallbackPlugin as loadFallbackPlugin$1, manifestPlugin as manifestPlugin$1, moduleFederationPlugin as moduleFederationPlugin$1, modulePreloadPolyfillPlugin as modulePreloadPolyfillPlugin$1, reportPlugin as reportPlugin$1, rolldown as rolldown$1, viteResolvePlugin as viteResolvePlugin$1, wasmFallbackPlugin as wasmFallbackPlugin$1, wasmHelperPlugin as wasmHelperPlugin$1, watch as watch$1, withFilter as withFilter$1 };
|
|
1068
|
+
export { AddonFunction, AsyncPluginHooks, BuildOptions, BuiltinPlugin as BuiltinPlugin$1, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MaybePromise, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog$1 as RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, StringFilter, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION as VERSION$1, WarningHandlerWithDefault, WatchOptions$1 as WatchOptions, build as build$1, buildImportAnalysisPlugin as buildImportAnalysisPlugin$1, defineConfig as defineConfig$1, defineParallelPlugin, dynamicImportVarsPlugin as dynamicImportVarsPlugin$1, importGlobPlugin as importGlobPlugin$1, isolatedDeclarationPlugin as isolatedDeclarationPlugin$1, jsonPlugin as jsonPlugin$1, loadFallbackPlugin as loadFallbackPlugin$1, manifestPlugin as manifestPlugin$1, moduleFederationPlugin as moduleFederationPlugin$1, modulePreloadPolyfillPlugin as modulePreloadPolyfillPlugin$1, reportPlugin as reportPlugin$1, rolldown as rolldown$1, viteResolvePlugin as viteResolvePlugin$1, wasmFallbackPlugin as wasmFallbackPlugin$1, wasmHelperPlugin as wasmHelperPlugin$1, watch as watch$1, withFilter as withFilter$1 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingDynamicImportVarsPluginConfig, BindingGlobImportPluginConfig, BindingHmrOutput, BindingHookResolveIdExtraArgs, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReportPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding.d-
|
|
1
|
+
import { BindingBuildImportAnalysisPluginConfig, BindingBuiltinPluginName, BindingDynamicImportVarsPluginConfig, BindingGlobImportPluginConfig, BindingHmrOutput, BindingHookResolveIdExtraArgs, BindingIsolatedDeclarationPluginConfig, BindingJsonPluginConfig, BindingManifestPluginConfig, BindingMfManifest, BindingMinifyOptions, BindingModuleFederationPluginOption, BindingModulePreloadPolyfillPluginConfig, BindingRemote, BindingRenderedChunk, BindingReportPluginConfig, BindingTransformHookExtraArgs, BindingViteResolvePluginConfig, BindingWatcherEvent, ParserOptions, PreRenderedChunk, TransformOptions } from "./binding.d-y7dWnUxd.cjs";
|
|
2
2
|
import { Program } from "@oxc-project/types";
|
|
3
3
|
|
|
4
4
|
//#region src/log/logging.d.ts
|
|
5
|
-
type LogLevel
|
|
6
|
-
type LogLevelOption = LogLevel
|
|
7
|
-
type LogLevelWithError = LogLevel
|
|
5
|
+
type LogLevel = "info" | "debug" | "warn";
|
|
6
|
+
type LogLevelOption = LogLevel | "silent";
|
|
7
|
+
type LogLevelWithError = LogLevel | "error";
|
|
8
8
|
type RollupLog$1 = any;
|
|
9
9
|
type RollupLogWithString = RollupLog$1 | string;
|
|
10
10
|
type LogOrStringHandler = (level: LogLevelWithError, log: RollupLogWithString) => void;
|
|
@@ -40,7 +40,6 @@ interface RollupError extends RollupLog {
|
|
|
40
40
|
stack?: string;
|
|
41
41
|
watchFiles?: string[];
|
|
42
42
|
}
|
|
43
|
-
type LogLevel = "warn" | "info" | "debug";
|
|
44
43
|
type LoggingFunction = (log: RollupLog | string | (() => RollupLog | string)) => void;
|
|
45
44
|
type LoggingFunctionWithPosition = (log: RollupLog | string | (() => RollupLog | string), pos?: number | {
|
|
46
45
|
column: number
|
|
@@ -135,11 +134,6 @@ type StringOrRegExp = string | RegExp;
|
|
|
135
134
|
type ModuleFormat = "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | "umd" | "experimental-app";
|
|
136
135
|
type AddonFunction = (chunk: RenderedChunk) => string | Promise<string>;
|
|
137
136
|
type ChunkFileNamesFunction = (chunkInfo: PreRenderedChunk) => string;
|
|
138
|
-
interface MinifyOptions {
|
|
139
|
-
mangle: boolean;
|
|
140
|
-
compress: boolean;
|
|
141
|
-
removeWhitespace: boolean;
|
|
142
|
-
}
|
|
143
137
|
interface PreRenderedAsset {
|
|
144
138
|
names: string[];
|
|
145
139
|
originalFileNames: string[];
|
|
@@ -149,6 +143,7 @@ interface PreRenderedAsset {
|
|
|
149
143
|
type AssetFileNamesFunction = (chunkInfo: PreRenderedAsset) => string;
|
|
150
144
|
type GlobalsFunction = (name: string) => string;
|
|
151
145
|
type ESTarget = "es6" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "es2023" | "es2024" | "esnext";
|
|
146
|
+
type MinifyOptions = BindingMinifyOptions;
|
|
152
147
|
interface OutputOptions {
|
|
153
148
|
dir?: string;
|
|
154
149
|
file?: string;
|
|
@@ -578,6 +573,21 @@ interface RolldownOptions extends InputOptions {
|
|
|
578
573
|
*/
|
|
579
574
|
type ConfigExport = RolldownOptions | RolldownOptions[];
|
|
580
575
|
|
|
576
|
+
//#endregion
|
|
577
|
+
//#region src/types/module-side-effects.d.ts
|
|
578
|
+
interface ModuleSideEffectsRule {
|
|
579
|
+
test?: RegExp;
|
|
580
|
+
external?: boolean;
|
|
581
|
+
sideEffects: boolean;
|
|
582
|
+
}
|
|
583
|
+
type ModuleSideEffectsOption = boolean | ModuleSideEffectsRule[] | ((id: string, isResolved: boolean) => boolean | undefined) | "no-external";
|
|
584
|
+
type TreeshakingOptions = {
|
|
585
|
+
moduleSideEffects?: ModuleSideEffectsOption
|
|
586
|
+
annotations?: boolean
|
|
587
|
+
manualPureFunctions?: string[]
|
|
588
|
+
unknownGlobalSideEffects?: boolean
|
|
589
|
+
} | boolean;
|
|
590
|
+
|
|
581
591
|
//#endregion
|
|
582
592
|
//#region src/types/output-bundle.d.ts
|
|
583
593
|
interface OutputBundle {
|
|
@@ -740,7 +750,7 @@ type RenderedChunkMeta = {
|
|
|
740
750
|
chunks: Record<string, RenderedChunk>
|
|
741
751
|
};
|
|
742
752
|
interface FunctionPluginHooks {
|
|
743
|
-
[DEFINED_HOOK_NAMES.onLog]: (this: MinimalPluginContext, level: LogLevel
|
|
753
|
+
[DEFINED_HOOK_NAMES.onLog]: (this: MinimalPluginContext, level: LogLevel, log: RollupLog) => NullValue | boolean;
|
|
744
754
|
[DEFINED_HOOK_NAMES.options]: (this: MinimalPluginContext, options: InputOptions) => NullValue | InputOptions;
|
|
745
755
|
[DEFINED_HOOK_NAMES.outputOptions]: (this: MinimalPluginContext, options: OutputOptions) => NullValue | OutputOptions;
|
|
746
756
|
[DEFINED_HOOK_NAMES.buildStart]: (this: PluginContext, options: NormalizedInputOptions) => void;
|
|
@@ -819,21 +829,6 @@ type RolldownPluginOption<A = any> = MaybePromise<NullValue<RolldownPlugin<A>> |
|
|
|
819
829
|
type RolldownOutputPlugin = OutputPlugin | BuiltinPlugin;
|
|
820
830
|
type RolldownOutputPluginOption = MaybePromise<NullValue<RolldownOutputPlugin> | false | RolldownOutputPluginOption[]>;
|
|
821
831
|
|
|
822
|
-
//#endregion
|
|
823
|
-
//#region src/types/module-side-effects.d.ts
|
|
824
|
-
interface ModuleSideEffectsRule {
|
|
825
|
-
test?: RegExp;
|
|
826
|
-
external?: boolean;
|
|
827
|
-
sideEffects: boolean;
|
|
828
|
-
}
|
|
829
|
-
type ModuleSideEffectsOption = boolean | ModuleSideEffectsRule[] | ((id: string, isResolved: boolean) => boolean | undefined) | "no-external";
|
|
830
|
-
type TreeshakingOptions = {
|
|
831
|
-
moduleSideEffects?: ModuleSideEffectsOption
|
|
832
|
-
annotations?: boolean
|
|
833
|
-
manualPureFunctions?: string[]
|
|
834
|
-
unknownGlobalSideEffects?: boolean
|
|
835
|
-
} | boolean;
|
|
836
|
-
|
|
837
832
|
//#endregion
|
|
838
833
|
//#region src/options/generated/checks-options.d.ts
|
|
839
834
|
interface ChecksOptions {
|
|
@@ -966,7 +961,7 @@ interface InputOptions {
|
|
|
966
961
|
shimMissingExports?: boolean;
|
|
967
962
|
treeshake?: boolean | TreeshakingOptions;
|
|
968
963
|
logLevel?: LogLevelOption;
|
|
969
|
-
onLog?: (level: LogLevel
|
|
964
|
+
onLog?: (level: LogLevel, log: RollupLog$1, defaultHandler: LogOrStringHandler) => void;
|
|
970
965
|
onwarn?: (warning: RollupLog$1, defaultHandler: (warning: RollupLogWithString | (() => RollupLogWithString)) => void) => void;
|
|
971
966
|
moduleTypes?: ModuleTypes;
|
|
972
967
|
experimental?: {
|
|
@@ -1070,4 +1065,4 @@ interface InputOptions {
|
|
|
1070
1065
|
}
|
|
1071
1066
|
|
|
1072
1067
|
//#endregion
|
|
1073
|
-
export { AsyncPluginHooks, BuildOptions, BuiltinPlugin, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogOrStringHandler, LoggingFunction, MaybePromise, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog, SourceDescription, SourceMap, SourceMapInput, StringFilter, TransformPluginContext, TransformResult, VERSION, WarningHandlerWithDefault, WatchOptions$1 as WatchOptions, build, buildImportAnalysisPlugin, defineConfig, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reportPlugin, rolldown, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, watch, withFilter };
|
|
1068
|
+
export { AddonFunction, AsyncPluginHooks, BuildOptions, BuiltinPlugin, ChunkFileNamesFunction, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedFile, ExistingRawSourceMap, ExternalOption, FunctionPluginHooks, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, JsxOptions, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MaybePromise, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PreRenderedAsset, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownOptions, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RollupError, RollupLog$1 as RollupLog, RollupLogWithString, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, StringFilter, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions$1 as WatchOptions, build, buildImportAnalysisPlugin, defineConfig, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, reportPlugin, rolldown, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, watch, withFilter };
|
|
@@ -551,7 +551,7 @@ function augmentCodeLocation(properties, pos, source, id) {
|
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
//#endregion
|
|
554
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
554
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.67.0/node_modules/oxc-parser/wrap.mjs
|
|
555
555
|
function wrap$1(result) {
|
|
556
556
|
let program, module$1, comments, errors;
|
|
557
557
|
return {
|
|
@@ -573,19 +573,20 @@ function wrap$1(result) {
|
|
|
573
573
|
}
|
|
574
574
|
};
|
|
575
575
|
}
|
|
576
|
-
function jsonParseAst(
|
|
577
|
-
return JSON.parse(
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
576
|
+
function jsonParseAst(program) {
|
|
577
|
+
return JSON.parse(program, transform);
|
|
578
|
+
}
|
|
579
|
+
function transform(key, value) {
|
|
580
|
+
if (value === null && key === "value" && Object.hasOwn(this, "type") && this.type === "Literal") {
|
|
581
|
+
if (Object.hasOwn(this, "bigint")) return BigInt(this.bigint);
|
|
582
|
+
if (Object.hasOwn(this, "regex")) {
|
|
583
|
+
const { regex } = this;
|
|
584
|
+
try {
|
|
585
|
+
return RegExp(regex.pattern, regex.flags);
|
|
586
|
+
} catch (_err) {}
|
|
586
587
|
}
|
|
587
|
-
|
|
588
|
-
|
|
588
|
+
}
|
|
589
|
+
return value;
|
|
589
590
|
}
|
|
590
591
|
|
|
591
592
|
//#endregion
|
|
@@ -560,7 +560,7 @@ var init_logs = __esm({ "src/log/logs.ts"() {
|
|
|
560
560
|
} });
|
|
561
561
|
|
|
562
562
|
//#endregion
|
|
563
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
563
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.67.0/node_modules/oxc-parser/wrap.mjs
|
|
564
564
|
function wrap$1(result) {
|
|
565
565
|
let program, module$1, comments, errors;
|
|
566
566
|
return {
|
|
@@ -582,21 +582,22 @@ function wrap$1(result) {
|
|
|
582
582
|
}
|
|
583
583
|
};
|
|
584
584
|
}
|
|
585
|
-
function jsonParseAst(
|
|
586
|
-
return JSON.parse(
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
585
|
+
function jsonParseAst(program) {
|
|
586
|
+
return JSON.parse(program, transform);
|
|
587
|
+
}
|
|
588
|
+
function transform(key, value) {
|
|
589
|
+
if (value === null && key === "value" && Object.hasOwn(this, "type") && this.type === "Literal") {
|
|
590
|
+
if (Object.hasOwn(this, "bigint")) return BigInt(this.bigint);
|
|
591
|
+
if (Object.hasOwn(this, "regex")) {
|
|
592
|
+
const { regex } = this;
|
|
593
|
+
try {
|
|
594
|
+
return RegExp(regex.pattern, regex.flags);
|
|
595
|
+
} catch (_err) {}
|
|
595
596
|
}
|
|
596
|
-
|
|
597
|
-
|
|
597
|
+
}
|
|
598
|
+
return value;
|
|
598
599
|
}
|
|
599
|
-
var init_wrap = __esm({ "../../node_modules/.pnpm/oxc-parser@0.
|
|
600
|
+
var init_wrap = __esm({ "../../node_modules/.pnpm/oxc-parser@0.67.0/node_modules/oxc-parser/wrap.mjs"() {} });
|
|
600
601
|
|
|
601
602
|
//#endregion
|
|
602
603
|
//#region src/parse-ast-index.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const require_chunk = require('./chunk-qZFfknuJ.cjs');
|
|
3
|
-
const require_parse_ast_index = require('./parse-ast-index-
|
|
3
|
+
const require_parse_ast_index = require('./parse-ast-index-BU0vRbCC.cjs');
|
|
4
4
|
const node_path = require_chunk.__toESM(require("node:path"));
|
|
5
5
|
const __valibot_to_json_schema = require_chunk.__toESM(require("@valibot/to-json-schema"));
|
|
6
6
|
const ansis = require_chunk.__toESM(require("ansis"));
|
|
@@ -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.8-commit.
|
|
12
|
+
var version = "1.0.0-beta.8-commit.a98d94e";
|
|
13
13
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
14
14
|
|
|
15
15
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esm } from "./chunk-DUYDk_2O.mjs";
|
|
2
|
-
import { augmentCodeLocation, error, import_binding, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-
|
|
2
|
+
import { augmentCodeLocation, error, import_binding, init_logs, init_parse_ast_index, logCycleLoading, logInputHookInOutputPlugin, logInvalidLogPosition, logMultiplyNotifyOption, logPluginError, parseAst } from "./parse-ast-index-C5zEG9SJ.mjs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { toJsonSchema } from "@valibot/to-json-schema";
|
|
5
5
|
import colors from "ansis";
|
|
@@ -8,7 +8,7 @@ import { availableParallelism } 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.8-commit.
|
|
11
|
+
var version = "1.0.0-beta.8-commit.a98d94e";
|
|
12
12
|
var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
|
|
13
13
|
|
|
14
14
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "1.0.0-beta.8-commit.
|
|
3
|
+
"version": "1.0.0-beta.8-commit.a98d94e",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"homepage": "https://rolldown.rs/",
|
|
@@ -82,13 +82,13 @@
|
|
|
82
82
|
"dtsHeader": "type MaybePromise<T> = T | Promise<T>\ntype Nullable<T> = T | null | undefined\ntype VoidNullable<T = void> = T | null | undefined | void\nexport type BindingStringOrRegex = string | RegExp\n\n"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@oxc-project/types": "0.
|
|
85
|
+
"@oxc-project/types": "0.67.0",
|
|
86
86
|
"@valibot/to-json-schema": "1.0.0",
|
|
87
87
|
"ansis": "^3.17.0",
|
|
88
88
|
"valibot": "1.0.0"
|
|
89
89
|
},
|
|
90
90
|
"peerDependencies": {
|
|
91
|
-
"@oxc-project/runtime": "0.
|
|
91
|
+
"@oxc-project/runtime": "0.67.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependenciesMeta": {
|
|
94
94
|
"@oxc-project/runtime": {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"fs-extra": "^11.2.0",
|
|
108
108
|
"glob": "^11.0.0",
|
|
109
109
|
"locate-character": "^3.0.0",
|
|
110
|
-
"oxc-parser": "^0.
|
|
110
|
+
"oxc-parser": "^0.67.0",
|
|
111
111
|
"pathe": "^2.0.3",
|
|
112
112
|
"remeda": "^2.10.0",
|
|
113
113
|
"rolldown-plugin-dts": "^0.7.12",
|
|
@@ -119,22 +119,22 @@
|
|
|
119
119
|
"typedoc": "^0.28.0",
|
|
120
120
|
"typescript": "^5.7.3",
|
|
121
121
|
"unbuild": "^3.0.0",
|
|
122
|
-
"rolldown": "
|
|
123
|
-
"
|
|
122
|
+
"@rolldown/testing": "0.0.1",
|
|
123
|
+
"rolldown": "1.0.0-beta.8-commit.a98d94e"
|
|
124
124
|
},
|
|
125
125
|
"optionalDependencies": {
|
|
126
|
-
"@rolldown/binding-darwin-arm64": "1.0.0-beta.8-commit.
|
|
127
|
-
"@rolldown/binding-
|
|
128
|
-
"@rolldown/binding-
|
|
129
|
-
"@rolldown/binding-
|
|
130
|
-
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.8-commit.
|
|
131
|
-
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.8-commit.
|
|
132
|
-
"@rolldown/binding-
|
|
133
|
-
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.8-commit.
|
|
134
|
-
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.8-commit.
|
|
135
|
-
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.8-commit.
|
|
136
|
-
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.8-commit.
|
|
137
|
-
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.8-commit.
|
|
126
|
+
"@rolldown/binding-darwin-arm64": "1.0.0-beta.8-commit.a98d94e",
|
|
127
|
+
"@rolldown/binding-linux-arm64-gnu": "1.0.0-beta.8-commit.a98d94e",
|
|
128
|
+
"@rolldown/binding-freebsd-x64": "1.0.0-beta.8-commit.a98d94e",
|
|
129
|
+
"@rolldown/binding-linux-arm-gnueabihf": "1.0.0-beta.8-commit.a98d94e",
|
|
130
|
+
"@rolldown/binding-linux-arm64-musl": "1.0.0-beta.8-commit.a98d94e",
|
|
131
|
+
"@rolldown/binding-linux-x64-gnu": "1.0.0-beta.8-commit.a98d94e",
|
|
132
|
+
"@rolldown/binding-darwin-x64": "1.0.0-beta.8-commit.a98d94e",
|
|
133
|
+
"@rolldown/binding-linux-x64-musl": "1.0.0-beta.8-commit.a98d94e",
|
|
134
|
+
"@rolldown/binding-wasm32-wasi": "1.0.0-beta.8-commit.a98d94e",
|
|
135
|
+
"@rolldown/binding-win32-arm64-msvc": "1.0.0-beta.8-commit.a98d94e",
|
|
136
|
+
"@rolldown/binding-win32-ia32-msvc": "1.0.0-beta.8-commit.a98d94e",
|
|
137
|
+
"@rolldown/binding-win32-x64-msvc": "1.0.0-beta.8-commit.a98d94e"
|
|
138
138
|
},
|
|
139
139
|
"scripts": {
|
|
140
140
|
"# Scrips for binding #": "_",
|
|
@@ -152,7 +152,6 @@
|
|
|
152
152
|
"build-browser:debug": "cross-env BROWSER_PKG=1 pnpm run --sequential \"/^build-(binding|binding:wasi|node)$/\"",
|
|
153
153
|
"build-browser:release": "cross-env BROWSER_PKG=1 pnpm run --sequential \"/^build-(binding|binding:wasi:release|node)$/\"",
|
|
154
154
|
"# Scrips for docs #": "_",
|
|
155
|
-
"extract-options-doc": "typedoc"
|
|
156
|
-
"preinstall": "npx only-allow pnpm"
|
|
155
|
+
"extract-options-doc": "typedoc"
|
|
157
156
|
}
|
|
158
157
|
}
|