@rolldown/browser 1.0.1 → 1.0.3
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 +7 -7
- package/dist/config.d.mts +1 -1
- package/dist/config.mjs +3 -3
- package/dist/{constructors-BTLtc_G_.js → constructors-B3MtwuwE.js} +1 -4
- package/dist/{error-CIj5jXSo.js → error-DAfzPCGW.js} +1 -1
- package/dist/experimental-index.browser.mjs +11 -6
- package/dist/experimental-index.d.mts +22 -5
- package/dist/experimental-index.mjs +13 -8
- package/dist/filter-index.d.mts +1 -1
- package/dist/filter-index.mjs +1 -1
- package/dist/get-log-filter.d.mts +3 -3
- package/dist/index.browser.mjs +3 -3
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +4 -4
- package/dist/parallel-plugin-worker.mjs +1 -1
- package/dist/parallel-plugin.d.mts +2 -2
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +2 -2
- package/dist/plugins-index.browser.mjs +2 -2
- package/dist/plugins-index.d.mts +3 -3
- package/dist/plugins-index.mjs +2 -2
- package/dist/{resolve-tsconfig-uVC8K7GR.js → resolve-tsconfig-B0FaCdVd.js} +14 -3
- package/dist/rolldown-binding.wasi-browser.js +1 -0
- package/dist/rolldown-binding.wasi.cjs +1 -0
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/{rolldown-build-DCjXbOeh.js → rolldown-build-XdM92thc.js} +31 -61
- package/dist/shared/{binding-CaVxb0SV.d.mts → binding-BhK3B-Zu.d.mts} +31 -0
- package/dist/shared/{bindingify-input-options-C7dl2XLe.mjs → bindingify-input-options-BKrzu-Ci.mjs} +12 -12
- package/dist/shared/{constructors-B1JYJxhf.d.mts → constructors-CtnJN4Sg.d.mts} +2 -2
- package/dist/shared/{constructors-CI_8FAaP.mjs → constructors-YQsI-lJq.mjs} +1 -4
- package/dist/shared/{define-config-CYgMQYTy.d.mts → define-config-D4nAGxn1.d.mts} +19 -5
- package/dist/shared/{get-log-filter-semyr3Lj.d.mts → get-log-filter-BpNVNJ5-.d.mts} +1 -1
- package/dist/shared/{load-config-BFkorvIR.mjs → load-config-BXndT4NL.mjs} +1 -1
- package/dist/shared/{normalize-string-or-regex-Dq6w-2tU.mjs → normalize-string-or-regex-CHVaSqeF.mjs} +1 -1
- package/dist/shared/{parse-Bmk53Le1.mjs → parse-DSgaJ6oU.mjs} +1 -1
- package/dist/shared/{prompt-U5ajztzG.mjs → prompt-DYnaB1Nb.mjs} +1 -1
- package/dist/shared/{resolve-tsconfig-Cwoo4h_o.mjs → resolve-tsconfig-DsK7KzKK.mjs} +14 -3
- package/dist/shared/{rolldown-Dyy9Y2li.mjs → rolldown-CMk-JrOo.mjs} +1 -1
- package/dist/shared/{rolldown-build-DYE2Qi6z.mjs → rolldown-build-Dh-EVzMc.mjs} +23 -52
- package/dist/shared/{transform-kP3ISMFT.d.mts → transform-HS_zMlQ1.d.mts} +2 -2
- package/dist/shared/{utils-KRVeJqya.d.mts → utils-m0ogxd-4.d.mts} +1 -1
- package/dist/shared/{watch-DXAEaxPd.mjs → watch-_n5IfB8D.mjs} +5 -5
- package/dist/utils-index.browser.mjs +5 -5
- package/dist/utils-index.d.mts +3 -3
- package/dist/utils-index.mjs +5 -5
- package/package.json +1 -1
- /package/dist/{normalize-string-or-regex-CBPw_c5O.js → normalize-string-or-regex-A9UIvc9j.js} +0 -0
- /package/dist/shared/{composable-filters-DpWB82jk.mjs → composable-filters-BcLvc0mh.mjs} +0 -0
- /package/dist/shared/{define-config-DJOr6Iwt.mjs → define-config-Demdg3_4.mjs} +0 -0
- /package/dist/shared/{error-CQ6njWsV.mjs → error-B5cMIevi.mjs} +0 -0
- /package/dist/shared/{logging-C6h4g8dA.d.mts → logging-BSNejiLS.d.mts} +0 -0
- /package/dist/shared/{logs-D80CXhvg.mjs → logs-aMKUxRpj.mjs} +0 -0
package/dist/cli.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
2
|
-
import { C as version, S as description } from "./shared/bindingify-input-options-
|
|
3
|
-
import { h as arraify } from "./shared/composable-filters-
|
|
4
|
-
import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-
|
|
5
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
6
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
1
|
+
import { n as onExit, t as watch } from "./shared/watch-_n5IfB8D.mjs";
|
|
2
|
+
import { C as version, S as description } from "./shared/bindingify-input-options-BKrzu-Ci.mjs";
|
|
3
|
+
import { h as arraify } from "./shared/composable-filters-BcLvc0mh.mjs";
|
|
4
|
+
import { a as getInputCliKeys, i as getCliSchemaInfo, l as styleText, o as getOutputCliKeys, r as logger, s as validateCliOptions } from "./shared/rolldown-build-Dh-EVzMc.mjs";
|
|
5
|
+
import { t as rolldown } from "./shared/rolldown-CMk-JrOo.mjs";
|
|
6
|
+
import { t as loadConfig } from "./shared/load-config-BXndT4NL.mjs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import process$1 from "node:process";
|
|
9
9
|
import { performance } from "node:perf_hooks";
|
|
@@ -847,7 +847,7 @@ function getClearScreenFunction(options) {
|
|
|
847
847
|
};
|
|
848
848
|
}
|
|
849
849
|
//#endregion
|
|
850
|
-
//#region \0@oxc-project+runtime@0.
|
|
850
|
+
//#region \0@oxc-project+runtime@0.133.0/helpers/esm/usingCtx.js
|
|
851
851
|
function _usingCtx() {
|
|
852
852
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
853
853
|
var n = Error();
|
package/dist/config.d.mts
CHANGED
package/dist/config.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as VERSION } from "./shared/bindingify-input-options-
|
|
2
|
-
import { t as defineConfig } from "./shared/define-config-
|
|
3
|
-
import { t as loadConfig } from "./shared/load-config-
|
|
1
|
+
import { x as VERSION } from "./shared/bindingify-input-options-BKrzu-Ci.mjs";
|
|
2
|
+
import { t as defineConfig } from "./shared/define-config-Demdg3_4.mjs";
|
|
3
|
+
import { t as loadConfig } from "./shared/load-config-BXndT4NL.mjs";
|
|
4
4
|
export { VERSION, defineConfig, loadConfig };
|
|
@@ -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-A9UIvc9j.js";
|
|
2
2
|
//#region src/builtin-plugin/constructors.ts
|
|
3
3
|
function viteModulePreloadPolyfillPlugin(config) {
|
|
4
4
|
return new BuiltinPlugin("builtin:vite-module-preload-polyfill", config);
|
|
@@ -31,9 +31,6 @@ function viteBuildImportAnalysisPlugin(config) {
|
|
|
31
31
|
function viteResolvePlugin(config) {
|
|
32
32
|
return makeBuiltinPluginCallable(new BuiltinPlugin("builtin:vite-resolve", {
|
|
33
33
|
...config,
|
|
34
|
-
async resolveSubpathImports(id, importer, isRequire, scan) {
|
|
35
|
-
return config.resolveSubpathImports(id, importer, isRequire, scan);
|
|
36
|
-
},
|
|
37
34
|
yarnPnp: typeof process === "object" && !!process.versions?.pnp
|
|
38
35
|
}));
|
|
39
36
|
}
|
|
@@ -14,7 +14,7 @@ function bindingifySourcemap(map) {
|
|
|
14
14
|
} };
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region ../../node_modules/.pnpm/oxc-parser@0.
|
|
17
|
+
//#region ../../node_modules/.pnpm/oxc-parser@0.133.0/node_modules/oxc-parser/src-js/wrap.js
|
|
18
18
|
function wrap(result) {
|
|
19
19
|
let program, module, comments, errors;
|
|
20
20
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-
|
|
2
|
-
import { a as validateOption, i as transformToRollupOutput, n as createBundlerOptions, o as PluginDriver, t as RolldownBuild } from "./rolldown-build-
|
|
3
|
-
import { a as parse$2, i as unwrapBindingResult, o as parseSync$2, r as normalizeBindingResult } from "./error-
|
|
4
|
-
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./constructors-
|
|
5
|
-
import { a as minify$2, i as transformSync$1, n as resolveTsconfig, o as minifySync$2, r as transform$1, t as TsconfigCache$2 } from "./resolve-tsconfig-
|
|
1
|
+
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-A9UIvc9j.js";
|
|
2
|
+
import { a as validateOption, i as transformToRollupOutput, n as createBundlerOptions, o as PluginDriver, t as RolldownBuild } from "./rolldown-build-XdM92thc.js";
|
|
3
|
+
import { a as parse$2, i as unwrapBindingResult, o as parseSync$2, r as normalizeBindingResult } from "./error-DAfzPCGW.js";
|
|
4
|
+
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./constructors-B3MtwuwE.js";
|
|
5
|
+
import { a as minify$2, i as transformSync$1, n as resolveTsconfig, o as minifySync$2, r as transform$1, t as TsconfigCache$2 } from "./resolve-tsconfig-B0FaCdVd.js";
|
|
6
6
|
import * as binding from "./rolldown-binding.wasi-browser.js";
|
|
7
7
|
import { BindingBundler, BindingDevEngine, BindingRebuildStrategy, BindingRebuildStrategy as BindingRebuildStrategy$1, ResolverFactory, isolatedDeclaration, isolatedDeclarationSync, moduleRunnerTransform, shutdownAsyncRuntime, startAsyncRuntime } from "./rolldown-binding.wasi-browser.js";
|
|
8
8
|
//#region src/api/dev/dev-engine.ts
|
|
@@ -44,7 +44,9 @@ var DevEngine = class DevEngine {
|
|
|
44
44
|
useDebounce: devOptions.watch.useDebounce,
|
|
45
45
|
debounceDuration: devOptions.watch.debounceDuration,
|
|
46
46
|
compareContentsForPolling: devOptions.watch.compareContentsForPolling,
|
|
47
|
-
debounceTickRate: devOptions.watch.debounceTickRate
|
|
47
|
+
debounceTickRate: devOptions.watch.debounceTickRate,
|
|
48
|
+
include: normalizedStringOrRegex(devOptions.watch.include),
|
|
49
|
+
exclude: normalizedStringOrRegex(devOptions.watch.exclude)
|
|
48
50
|
}
|
|
49
51
|
};
|
|
50
52
|
return new DevEngine(new BindingDevEngine(options.bundlerOptions, bindingDevOptions));
|
|
@@ -69,6 +71,9 @@ var DevEngine = class DevEngine {
|
|
|
69
71
|
async ensureLatestBuildOutput() {
|
|
70
72
|
await this.#inner.ensureLatestBuildOutput();
|
|
71
73
|
}
|
|
74
|
+
triggerFullBuild() {
|
|
75
|
+
this.#inner.triggerFullBuild();
|
|
76
|
+
}
|
|
72
77
|
async invalidate(file, firstInvalidatedBy) {
|
|
73
78
|
return this.#inner.invalidate(file, firstInvalidatedBy);
|
|
74
79
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as ResolveResult, C as BindingViteManifestPluginConfig, G as isolatedDeclaration, I as NapiResolveOptions, K as isolatedDeclarationSync, M as IsolatedDeclarationsResult, O as BindingViteTransformPluginConfig, V as ResolverFactory, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsOptions, n as BindingBundleAnalyzerPluginConfig, q as moduleRunnerTransform, r as BindingBundleState } from "./shared/binding-
|
|
2
|
-
import { Tt as NormalizedOutputOptions, cn as RolldownOutput, l as InputOptions, mt as defineParallelPlugin, nn as OutputOptions, un as freeExternalMemory } from "./shared/define-config-
|
|
3
|
-
import { t as BuiltinPlugin } from "./shared/utils-
|
|
4
|
-
import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-
|
|
5
|
-
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-
|
|
1
|
+
import { B as ResolveResult, C as BindingViteManifestPluginConfig, G as isolatedDeclaration, I as NapiResolveOptions, K as isolatedDeclarationSync, M as IsolatedDeclarationsResult, O as BindingViteTransformPluginConfig, V as ResolverFactory, _ as BindingTsconfigRawOptions, f as BindingRebuildStrategy, g as BindingTsconfigCompilerOptions, i as BindingClientHmrUpdate, j as IsolatedDeclarationsOptions, n as BindingBundleAnalyzerPluginConfig, q as moduleRunnerTransform, r as BindingBundleState } from "./shared/binding-BhK3B-Zu.mjs";
|
|
2
|
+
import { Tt as NormalizedOutputOptions, cn as RolldownOutput, l as InputOptions, mt as defineParallelPlugin, nn as OutputOptions, un as freeExternalMemory } from "./shared/define-config-D4nAGxn1.mjs";
|
|
3
|
+
import { s as StringOrRegExp, t as BuiltinPlugin } from "./shared/utils-m0ogxd-4.mjs";
|
|
4
|
+
import { a as MinifyOptions$1, c as minifySync$1, d as parse$1, f as parseSync$1, i as transformSync$1, l as ParseResult$1, m as resolveTsconfig, n as TransformResult$1, o as MinifyResult$1, p as TsconfigCache$1, r as transform$1, s as minify$1, t as TransformOptions$1, u as ParserOptions$1 } from "./shared/transform-HS_zMlQ1.mjs";
|
|
5
|
+
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-CtnJN4Sg.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/api/dev/dev-options.d.ts
|
|
8
8
|
type DevOnHmrUpdates = (result: Error | {
|
|
@@ -49,6 +49,22 @@ interface DevWatchOptions {
|
|
|
49
49
|
* @default undefined (auto-select)
|
|
50
50
|
*/
|
|
51
51
|
debounceTickRate?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Filter to limit which discovered files are registered with the file watcher.
|
|
54
|
+
*
|
|
55
|
+
* Strings are treated as glob patterns.
|
|
56
|
+
*
|
|
57
|
+
* @default []
|
|
58
|
+
*/
|
|
59
|
+
include?: StringOrRegExp | StringOrRegExp[];
|
|
60
|
+
/**
|
|
61
|
+
* Filter to prevent discovered files from being registered with the file watcher.
|
|
62
|
+
*
|
|
63
|
+
* Strings are treated as glob patterns.
|
|
64
|
+
*
|
|
65
|
+
* @default []
|
|
66
|
+
*/
|
|
67
|
+
exclude?: StringOrRegExp | StringOrRegExp[];
|
|
52
68
|
}
|
|
53
69
|
interface DevOptions {
|
|
54
70
|
onHmrUpdates?: DevOnHmrUpdates;
|
|
@@ -73,6 +89,7 @@ declare class DevEngine {
|
|
|
73
89
|
ensureCurrentBuildFinish(): Promise<void>;
|
|
74
90
|
getBundleState(): Promise<BindingBundleState>;
|
|
75
91
|
ensureLatestBuildOutput(): Promise<void>;
|
|
92
|
+
triggerFullBuild(): void;
|
|
76
93
|
invalidate(file: string, firstInvalidatedBy?: string): Promise<BindingClientHmrUpdate[]>;
|
|
77
94
|
registerModules(clientId: string, modules: string[]): Promise<void>;
|
|
78
95
|
removeClient(clientId: string): Promise<void>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-
|
|
2
|
-
import { o as transformToRollupOutput } from "./shared/bindingify-input-options-
|
|
3
|
-
import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-
|
|
4
|
-
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-
|
|
5
|
-
import { n as parseSync$2, t as parse$2 } from "./shared/parse-
|
|
6
|
-
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-
|
|
7
|
-
import { a as minify$2, i as transformSync$1, n as resolveTsconfig, o as minifySync$2, r as transform$1, t as TsconfigCache$2 } from "./shared/resolve-tsconfig-
|
|
1
|
+
import { n as BuiltinPlugin, t as normalizedStringOrRegex } from "./shared/normalize-string-or-regex-CHVaSqeF.mjs";
|
|
2
|
+
import { o as transformToRollupOutput } from "./shared/bindingify-input-options-BKrzu-Ci.mjs";
|
|
3
|
+
import { c as validateOption, n as createBundlerOptions, t as RolldownBuild, u as PluginDriver } from "./shared/rolldown-build-Dh-EVzMc.mjs";
|
|
4
|
+
import { i as unwrapBindingResult, r as normalizeBindingResult } from "./shared/error-B5cMIevi.mjs";
|
|
5
|
+
import { n as parseSync$2, t as parse$2 } from "./shared/parse-DSgaJ6oU.mjs";
|
|
6
|
+
import { a as viteDynamicImportVarsPlugin, c as viteLoadFallbackPlugin, d as viteReporterPlugin, f as viteResolvePlugin, i as viteBuildImportAnalysisPlugin, l as viteModulePreloadPolyfillPlugin, m as viteWebWorkerPostPlugin, n as isolatedDeclarationPlugin, o as viteImportGlobPlugin, p as viteWasmFallbackPlugin, r as oxcRuntimePlugin, s as viteJsonPlugin, u as viteReactRefreshWrapperPlugin } from "./shared/constructors-YQsI-lJq.mjs";
|
|
7
|
+
import { a as minify$2, i as transformSync$1, n as resolveTsconfig, o as minifySync$2, r as transform$1, t as TsconfigCache$2 } from "./shared/resolve-tsconfig-DsK7KzKK.mjs";
|
|
8
8
|
import { BindingBundler, BindingDevEngine, BindingRebuildStrategy, BindingRebuildStrategy as BindingRebuildStrategy$1, ResolverFactory, isolatedDeclaration, isolatedDeclarationSync, moduleRunnerTransform, shutdownAsyncRuntime, startAsyncRuntime } from "./rolldown-binding.wasi.cjs";
|
|
9
9
|
import { pathToFileURL } from "node:url";
|
|
10
10
|
//#region src/api/dev/dev-engine.ts
|
|
@@ -46,7 +46,9 @@ var DevEngine = class DevEngine {
|
|
|
46
46
|
useDebounce: devOptions.watch.useDebounce,
|
|
47
47
|
debounceDuration: devOptions.watch.debounceDuration,
|
|
48
48
|
compareContentsForPolling: devOptions.watch.compareContentsForPolling,
|
|
49
|
-
debounceTickRate: devOptions.watch.debounceTickRate
|
|
49
|
+
debounceTickRate: devOptions.watch.debounceTickRate,
|
|
50
|
+
include: normalizedStringOrRegex(devOptions.watch.include),
|
|
51
|
+
exclude: normalizedStringOrRegex(devOptions.watch.exclude)
|
|
50
52
|
}
|
|
51
53
|
};
|
|
52
54
|
return new DevEngine(new BindingDevEngine(options.bundlerOptions, bindingDevOptions));
|
|
@@ -71,6 +73,9 @@ var DevEngine = class DevEngine {
|
|
|
71
73
|
async ensureLatestBuildOutput() {
|
|
72
74
|
await this.#inner.ensureLatestBuildOutput();
|
|
73
75
|
}
|
|
76
|
+
triggerFullBuild() {
|
|
77
|
+
this.#inner.triggerFullBuild();
|
|
78
|
+
}
|
|
74
79
|
async invalidate(file, firstInvalidatedBy) {
|
|
75
80
|
return this.#inner.invalidate(file, firstInvalidatedBy);
|
|
76
81
|
}
|
package/dist/filter-index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as exclude, F as FilterExpressionKind, G as interpreter, H as id, I as QueryFilterObject, J as not, K as interpreterImpl, L as TopLevelFilterExpression, N as withFilter, P as FilterExpression, R as and, U as importerId, V as exprInterpreter, W as include, X as queries, Y as or, Z as query, q as moduleType, z as code } from "./shared/define-config-
|
|
1
|
+
import { B as exclude, F as FilterExpressionKind, G as interpreter, H as id, I as QueryFilterObject, J as not, K as interpreterImpl, L as TopLevelFilterExpression, N as withFilter, P as FilterExpression, R as and, U as importerId, V as exprInterpreter, W as include, X as queries, Y as or, Z as query, q as moduleType, z as code } from "./shared/define-config-D4nAGxn1.mjs";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.0/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.d.ts
|
|
4
4
|
/**
|
package/dist/filter-index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as id, c as interpreter, d as not, f as or, g as isPromiseLike, h as arraify, i as exprInterpreter, l as interpreterImpl, m as query, n as code, o as importerId, p as queries, r as exclude, s as include, t as and, u as moduleType } from "./shared/composable-filters-
|
|
1
|
+
import { a as id, c as interpreter, d as not, f as or, g as isPromiseLike, h as arraify, i as exprInterpreter, l as interpreterImpl, m as query, n as code, o as importerId, p as queries, r as exclude, s as include, t as and, u as moduleType } from "./shared/composable-filters-BcLvc0mh.mjs";
|
|
2
2
|
//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.0/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.js
|
|
3
3
|
/**
|
|
4
4
|
* Filters out Vite plugins that have `apply: 'serve'` set.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as RolldownLog } from "./shared/logging-
|
|
2
|
-
import { n as getLogFilter, t as GetLogFilter } from "./shared/get-log-filter-
|
|
3
|
-
export { GetLogFilter, RolldownLog, RolldownLog as RollupLog, getLogFilter as default };
|
|
1
|
+
import { a as RolldownLog } from "./shared/logging-BSNejiLS.mjs";
|
|
2
|
+
import { n as getLogFilter, t as GetLogFilter } from "./shared/get-log-filter-BpNVNJ5-.mjs";
|
|
3
|
+
export { GetLogFilter, type RolldownLog, type RolldownLog as RollupLog, getLogFilter as default };
|
package/dist/index.browser.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as logMultipleWatcherOption } from "./normalize-string-or-regex-
|
|
2
|
-
import { a as validateOption, c as arraify, l as RUNTIME_MODULE_ID, n as createBundlerOptions, o as PluginDriver, r as RolldownMagicString, s as LOG_LEVEL_WARN, t as RolldownBuild, u as VERSION } from "./rolldown-build-
|
|
3
|
-
import { t as aggregateBindingErrorsIntoJsError } from "./error-
|
|
1
|
+
import { d as logMultipleWatcherOption } from "./normalize-string-or-regex-A9UIvc9j.js";
|
|
2
|
+
import { a as validateOption, c as arraify, l as RUNTIME_MODULE_ID, n as createBundlerOptions, o as PluginDriver, r as RolldownMagicString, s as LOG_LEVEL_WARN, t as RolldownBuild, u as VERSION } from "./rolldown-build-XdM92thc.js";
|
|
3
|
+
import { t as aggregateBindingErrorsIntoJsError } from "./error-DAfzPCGW.js";
|
|
4
4
|
import { BindingWatcher, shutdownAsyncRuntime } from "./rolldown-binding.wasi-browser.js";
|
|
5
5
|
//#region src/api/rolldown/index.ts
|
|
6
6
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as PreRenderedChunk } from "./shared/binding-
|
|
2
|
-
import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-
|
|
3
|
-
import { $ as VERSION, $t as GlobalsFunction, A as RolldownPluginOption, At as WarningHandlerWithDefault, Bt as build, C as ParallelPluginHooks, Ct as RolldownFsModule, D as ResolveIdResult, Dt as TransformOptions, E as ResolveIdExtraOptions, Et as NormalizedInputOptions, Ft as RolldownWatcherWatcherEventMap, Gt as ChunkFileNamesFunction, Ht as AdvancedChunksGroup, It as WatchOptions, Jt as CodeSplittingNameFunction, Kt as ChunkingContext, Lt as rolldown, M as TransformResult, Mt as watch, Nt as RolldownWatcher, O as ResolvedId, Ot as ChecksOptions, Pt as RolldownWatcherEvent, Q as RUNTIME_MODULE_ID, Qt as GeneratedCodePreset, Rt as RolldownBuild, S as ObjectHook, St as RolldownFileStats, T as Plugin, Tt as NormalizedOutputOptions, Ut as AdvancedChunksOptions, Vt as AddonFunction, Wt as BuiltinModuleTag, Xt as CommentsOptions, Yt as CodeSplittingOptions, Zt as GeneratedCodeOptions, _ as HookFilterExtension, _t as GeneralHookFilter, a as ChunkOptimizationOptions, an as OutputChunk, at as TransformPluginContext, b as ModuleOptions, bt as BufferEncoding, c as InputOption, cn as RolldownOutput, ct as EmittedFile, d as OptimizationOptions, dn as ModuleInfo, dt as PluginContext, en as MinifyOptions, et as BundleError, f as WatcherFileWatcherOptions, fn as SourcemapIgnoreListOption, ft as PluginContextResolveOptions, g as FunctionPluginHooks, gt as PluginContextMeta, h as CustomPluginOptions, ht as MinimalPluginContext, i as RolldownOptions, in as OutputAsset, it as TreeshakingOptions, j as SourceDescription, jt as RolldownMagicString, k as RolldownPlugin, kt as LoggingFunction, l as InputOptions, ln as SourceMap, lt as EmittedPrebuiltChunk, m as AsyncPluginHooks, n as RolldownOptionsFunction, nn as OutputOptions, nt as SourceMapInput, o as ExternalOption, on as RenderedChunk, ot as EmittedAsset, p as WatcherOptions, pt as DefineParallelPluginResult, qt as CodeSplittingGroup, r as defineConfig, rn as PreRenderedAsset, rt as OutputBundle, s as ExternalOptionFunction, sn as RenderedModule, st as EmittedChunk, t as ConfigExport, tn as ModuleFormat, tt as ExistingRawSourceMap, u as ModuleTypes, ut as GetModuleInfo, v as ImportKind, vt as HookFilter, w as PartialResolvedId, wt as InternalModuleFormat, x as ModuleType, xt as RolldownDirectoryEntry, y as LoadResult, yt as ModuleTypeFilter, zt as BuildOptions } from "./shared/define-config-
|
|
4
|
-
import { o as PartialNull } from "./shared/utils-
|
|
5
|
-
export { AddonFunction, AdvancedChunksGroup, AdvancedChunksOptions, AsyncPluginHooks, BufferEncoding, BuildOptions, BuiltinModuleTag, BundleError, ChecksOptions, ChunkFileNamesFunction, ChunkOptimizationOptions, ChunkingContext, CodeSplittingGroup, CodeSplittingNameFunction, CodeSplittingOptions, CommentsOptions, ConfigExport, CustomPluginOptions, DefineParallelPluginResult, EmittedAsset, EmittedChunk, EmittedFile, EmittedPrebuiltChunk, ExistingRawSourceMap, ExternalOption, ExternalOptionFunction, FunctionPluginHooks, GeneralHookFilter, GeneratedCodeOptions, GeneratedCodePreset, GetModuleInfo, GlobalsFunction, HookFilter, HookFilterExtension, ImportKind, InputOption, InputOptions, InternalModuleFormat, LoadResult, LogLevel, LogLevelOption, LogOrStringHandler, LoggingFunction, MinifyOptions, MinimalPluginContext, ModuleFormat, ModuleInfo, ModuleOptions, ModuleType, ModuleTypeFilter, ModuleTypes, NormalizedInputOptions, NormalizedOutputOptions, ObjectHook, OptimizationOptions, OutputAsset, OutputBundle, OutputChunk, OutputOptions, ParallelPluginHooks, PartialNull, PartialResolvedId, Plugin, PluginContext, PluginContextMeta, PluginContextResolveOptions, PreRenderedAsset, PreRenderedChunk, RUNTIME_MODULE_ID, RenderedChunk, RenderedModule, ResolveIdExtraOptions, ResolveIdResult, ResolvedId, RolldownBuild, RolldownDirectoryEntry, RolldownError, RolldownError as RollupError, RolldownFileStats, RolldownFsModule, RolldownLog, RolldownLog as RollupLog, RolldownLogWithString, RolldownLogWithString as RollupLogWithString, RolldownMagicString, RolldownOptions, RolldownOptionsFunction, RolldownOutput, RolldownPlugin, RolldownPluginOption, RolldownWatcher, RolldownWatcherEvent, RolldownWatcherWatcherEventMap, SourceDescription, SourceMap, SourceMapInput, SourcemapIgnoreListOption, TransformOptions, TransformPluginContext, TransformResult, TreeshakingOptions, VERSION, WarningHandlerWithDefault, WatchOptions, WatcherFileWatcherOptions, WatcherOptions, build, defineConfig, rolldown, watch };
|
|
1
|
+
import { z as PreRenderedChunk } from "./shared/binding-BhK3B-Zu.mjs";
|
|
2
|
+
import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./shared/logging-BSNejiLS.mjs";
|
|
3
|
+
import { $ as VERSION, $t as GlobalsFunction, A as RolldownPluginOption, At as WarningHandlerWithDefault, Bt as build, C as ParallelPluginHooks, Ct as RolldownFsModule, D as ResolveIdResult, Dt as TransformOptions, E as ResolveIdExtraOptions, Et as NormalizedInputOptions, Ft as RolldownWatcherWatcherEventMap, Gt as ChunkFileNamesFunction, Ht as AdvancedChunksGroup, It as WatchOptions, Jt as CodeSplittingNameFunction, Kt as ChunkingContext, Lt as rolldown, M as TransformResult, Mt as watch, Nt as RolldownWatcher, O as ResolvedId, Ot as ChecksOptions, Pt as RolldownWatcherEvent, Q as RUNTIME_MODULE_ID, Qt as GeneratedCodePreset, Rt as RolldownBuild, S as ObjectHook, St as RolldownFileStats, T as Plugin, Tt as NormalizedOutputOptions, Ut as AdvancedChunksOptions, Vt as AddonFunction, Wt as BuiltinModuleTag, Xt as CommentsOptions, Yt as CodeSplittingOptions, Zt as GeneratedCodeOptions, _ as HookFilterExtension, _t as GeneralHookFilter, a as ChunkOptimizationOptions, an as OutputChunk, at as TransformPluginContext, b as ModuleOptions, bt as BufferEncoding, c as InputOption, cn as RolldownOutput, ct as EmittedFile, d as OptimizationOptions, dn as ModuleInfo, dt as PluginContext, en as MinifyOptions, et as BundleError, f as WatcherFileWatcherOptions, fn as SourcemapIgnoreListOption, ft as PluginContextResolveOptions, g as FunctionPluginHooks, gt as PluginContextMeta, h as CustomPluginOptions, ht as MinimalPluginContext, i as RolldownOptions, in as OutputAsset, it as TreeshakingOptions, j as SourceDescription, jt as RolldownMagicString, k as RolldownPlugin, kt as LoggingFunction, l as InputOptions, ln as SourceMap, lt as EmittedPrebuiltChunk, m as AsyncPluginHooks, n as RolldownOptionsFunction, nn as OutputOptions, nt as SourceMapInput, o as ExternalOption, on as RenderedChunk, ot as EmittedAsset, p as WatcherOptions, pt as DefineParallelPluginResult, qt as CodeSplittingGroup, r as defineConfig, rn as PreRenderedAsset, rt as OutputBundle, s as ExternalOptionFunction, sn as RenderedModule, st as EmittedChunk, t as ConfigExport, tn as ModuleFormat, tt as ExistingRawSourceMap, u as ModuleTypes, ut as GetModuleInfo, v as ImportKind, vt as HookFilter, w as PartialResolvedId, wt as InternalModuleFormat, x as ModuleType, xt as RolldownDirectoryEntry, y as LoadResult, yt as ModuleTypeFilter, zt as BuildOptions } from "./shared/define-config-D4nAGxn1.mjs";
|
|
4
|
+
import { o as PartialNull } from "./shared/utils-m0ogxd-4.mjs";
|
|
5
|
+
export { type AddonFunction, type AdvancedChunksGroup, type AdvancedChunksOptions, type AsyncPluginHooks, type BufferEncoding, type BuildOptions, type BuiltinModuleTag, type BundleError, type ChecksOptions, type ChunkFileNamesFunction, type ChunkOptimizationOptions, type ChunkingContext, type CodeSplittingGroup, type CodeSplittingNameFunction, type CodeSplittingOptions, type CommentsOptions, type ConfigExport, type CustomPluginOptions, type DefineParallelPluginResult, type EmittedAsset, type EmittedChunk, type EmittedFile, type EmittedPrebuiltChunk, type ExistingRawSourceMap, type ExternalOption, type ExternalOptionFunction, type FunctionPluginHooks, type GeneralHookFilter, type GeneratedCodeOptions, type GeneratedCodePreset, type GetModuleInfo, type GlobalsFunction, type HookFilter, type HookFilterExtension, type ImportKind, type InputOption, type InputOptions, type InternalModuleFormat, type LoadResult, type LogLevel, type LogLevelOption, type LogOrStringHandler, type LoggingFunction, type MinifyOptions, type MinimalPluginContext, type ModuleFormat, type ModuleInfo, type ModuleOptions, type ModuleType, type ModuleTypeFilter, type ModuleTypes, type NormalizedInputOptions, type NormalizedOutputOptions, type ObjectHook, type OptimizationOptions, type OutputAsset, type OutputBundle, type OutputChunk, type OutputOptions, type ParallelPluginHooks, type PartialNull, type PartialResolvedId, type Plugin, type PluginContext, type PluginContextMeta, type PluginContextResolveOptions, type PreRenderedAsset, type PreRenderedChunk, RUNTIME_MODULE_ID, type RenderedChunk, type RenderedModule, type ResolveIdExtraOptions, type ResolveIdResult, type ResolvedId, type RolldownBuild, type RolldownDirectoryEntry, type RolldownError, type RolldownError as RollupError, type RolldownFileStats, type RolldownFsModule, type RolldownLog, type RolldownLog as RollupLog, type RolldownLogWithString, type RolldownLogWithString as RollupLogWithString, RolldownMagicString, type RolldownOptions, type RolldownOptionsFunction, type RolldownOutput, type RolldownPlugin, type RolldownPluginOption, type RolldownWatcher, type RolldownWatcherEvent, type RolldownWatcherWatcherEventMap, type SourceDescription, type SourceMap, type SourceMapInput, type SourcemapIgnoreListOption, type TransformOptions, type TransformPluginContext, type TransformResult, type TreeshakingOptions, VERSION, type WarningHandlerWithDefault, type WatchOptions, type WatcherFileWatcherOptions, type WatcherOptions, build, defineConfig, rolldown, watch };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as onExit, t as watch } from "./shared/watch-
|
|
2
|
-
import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-
|
|
3
|
-
import { t as rolldown } from "./shared/rolldown-
|
|
4
|
-
import { t as defineConfig } from "./shared/define-config-
|
|
1
|
+
import { n as onExit, t as watch } from "./shared/watch-_n5IfB8D.mjs";
|
|
2
|
+
import { a as RolldownMagicString, b as RUNTIME_MODULE_ID, x as VERSION } from "./shared/bindingify-input-options-BKrzu-Ci.mjs";
|
|
3
|
+
import { t as rolldown } from "./shared/rolldown-CMk-JrOo.mjs";
|
|
4
|
+
import { t as defineConfig } from "./shared/define-config-Demdg3_4.mjs";
|
|
5
5
|
import { isMainThread } from "node:worker_threads";
|
|
6
6
|
import { initTraceSubscriber } from "./rolldown-binding.wasi.cjs";
|
|
7
7
|
//#region src/setup.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-
|
|
1
|
+
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-BKrzu-Ci.mjs";
|
|
2
2
|
import { parentPort, workerData } from "node:worker_threads";
|
|
3
3
|
import { registerPlugins } from "./rolldown-binding.wasi.cjs";
|
|
4
4
|
//#region src/parallel-plugin-worker.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Plugin } from "./shared/define-config-
|
|
2
|
-
import { i as MaybePromise } from "./shared/utils-
|
|
1
|
+
import { T as Plugin } from "./shared/define-config-D4nAGxn1.mjs";
|
|
2
|
+
import { i as MaybePromise } from "./shared/utils-m0ogxd-4.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
5
5
|
type ParallelPluginImplementation = Plugin;
|
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-
|
|
2
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
1
|
+
import { l as locate, n as error, s as logParseError, t as augmentCodeLocation, u as getCodeFrame } from "./shared/logs-aMKUxRpj.mjs";
|
|
2
|
+
import { n as parseSync, t as parse } from "./shared/parse-DSgaJ6oU.mjs";
|
|
3
3
|
//#region src/parse-ast-index.ts
|
|
4
4
|
function wrap(result, filename, sourceText) {
|
|
5
5
|
if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./normalize-string-or-regex-
|
|
2
|
-
import { t as esmExternalRequirePlugin } from "./constructors-
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./normalize-string-or-regex-A9UIvc9j.js";
|
|
2
|
+
import { t as esmExternalRequirePlugin } from "./constructors-B3MtwuwE.js";
|
|
3
3
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
4
4
|
/**
|
|
5
5
|
* Replaces targeted strings in files while bundling.
|
package/dist/plugins-index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as BindingReplacePluginConfig } from "./shared/binding-
|
|
2
|
-
import { t as BuiltinPlugin } from "./shared/utils-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { m as BindingReplacePluginConfig } from "./shared/binding-BhK3B-Zu.mjs";
|
|
2
|
+
import { t as BuiltinPlugin } from "./shared/utils-m0ogxd-4.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-CtnJN4Sg.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/builtin-plugin/replace-plugin.d.ts
|
|
6
6
|
/**
|
package/dist/plugins-index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-
|
|
2
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-CHVaSqeF.mjs";
|
|
2
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-YQsI-lJq.mjs";
|
|
3
3
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
4
4
|
/**
|
|
5
5
|
* Replaces targeted strings in files while bundling.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as normalizeBindingError, s as bindingifySourcemap } from "./error-
|
|
1
|
+
import { n as normalizeBindingError, s as bindingifySourcemap } from "./error-DAfzPCGW.js";
|
|
2
2
|
import { TsconfigCache, collapseSourcemaps, enhancedTransform, enhancedTransformSync, minify, minifySync, resolveTsconfig } from "./rolldown-binding.wasi-browser.js";
|
|
3
3
|
//#region src/utils/minify.ts
|
|
4
4
|
/**
|
|
@@ -36,6 +36,17 @@ function minifySync$1(filename, sourceText, options) {
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/utils/transform.ts
|
|
38
38
|
const yarnPnp$1 = typeof process === "object" && !!process.versions?.pnp;
|
|
39
|
+
function normalizeBindingWarning(warning) {
|
|
40
|
+
if (warning.type === "JsError") return warning.field0;
|
|
41
|
+
return {
|
|
42
|
+
code: warning.field0.kind,
|
|
43
|
+
message: warning.field0.message,
|
|
44
|
+
id: warning.field0.id,
|
|
45
|
+
exporter: warning.field0.exporter,
|
|
46
|
+
loc: warning.field0.loc,
|
|
47
|
+
pos: warning.field0.pos
|
|
48
|
+
};
|
|
49
|
+
}
|
|
39
50
|
/**
|
|
40
51
|
* Transpile a JavaScript or TypeScript into a target ECMAScript version, asynchronously.
|
|
41
52
|
*
|
|
@@ -59,7 +70,7 @@ async function transform(filename, sourceText, options, cache) {
|
|
|
59
70
|
return {
|
|
60
71
|
...result,
|
|
61
72
|
errors: result.errors.map(normalizeBindingError),
|
|
62
|
-
warnings: result.warnings.map(
|
|
73
|
+
warnings: result.warnings.map(normalizeBindingWarning)
|
|
63
74
|
};
|
|
64
75
|
}
|
|
65
76
|
/**
|
|
@@ -83,7 +94,7 @@ function transformSync(filename, sourceText, options, cache) {
|
|
|
83
94
|
return {
|
|
84
95
|
...result,
|
|
85
96
|
errors: result.errors.map(normalizeBindingError),
|
|
86
|
-
warnings: result.warnings.map(
|
|
97
|
+
warnings: result.warnings.map(normalizeBindingWarning)
|
|
87
98
|
};
|
|
88
99
|
}
|
|
89
100
|
//#endregion
|
|
@@ -69,6 +69,7 @@ const {
|
|
|
69
69
|
},
|
|
70
70
|
})
|
|
71
71
|
export default __napiModule.exports
|
|
72
|
+
export const LegalCommentsMode = __napiModule.exports.LegalCommentsMode
|
|
72
73
|
export const minify = __napiModule.exports.minify
|
|
73
74
|
export const minifySync = __napiModule.exports.minifySync
|
|
74
75
|
export const Severity = __napiModule.exports.Severity
|
|
@@ -108,6 +108,7 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
|
|
|
108
108
|
},
|
|
109
109
|
})
|
|
110
110
|
module.exports = __napiModule.exports
|
|
111
|
+
module.exports.LegalCommentsMode = __napiModule.exports.LegalCommentsMode
|
|
111
112
|
module.exports.minify = __napiModule.exports.minify
|
|
112
113
|
module.exports.minifySync = __napiModule.exports.minifySync
|
|
113
114
|
module.exports.Severity = __napiModule.exports.Severity
|
|
Binary file
|