@rolldown/browser 1.0.0-beta.9-commit.0ec9e7d → 1.0.0-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/cli.mjs +961 -1551
  2. package/dist/config.d.mts +9 -6
  3. package/dist/config.mjs +9 -11
  4. package/dist/constructors-DsfxKD6A.js +68 -0
  5. package/dist/error-BeZaDkS8.js +157 -0
  6. package/dist/experimental-index.browser.mjs +278 -44
  7. package/dist/experimental-index.d.mts +228 -68
  8. package/dist/experimental-index.mjs +274 -55
  9. package/dist/experimental-runtime-types.d.ts +98 -0
  10. package/dist/filter-index.d.mts +104 -2
  11. package/dist/filter-index.mjs +144 -5
  12. package/dist/get-log-filter.d.mts +3 -0
  13. package/dist/get-log-filter.mjs +68 -0
  14. package/dist/index.browser.mjs +238 -3
  15. package/dist/index.d.mts +4 -3
  16. package/dist/index.mjs +53 -6
  17. package/dist/{shared/parse-ast-index-BHaE0ECV.cjs → normalize-string-or-regex-TtAGUp42.js} +74 -147
  18. package/dist/parallel-plugin-worker.mjs +27 -35
  19. package/dist/parallel-plugin.d.mts +7 -7
  20. package/dist/parallel-plugin.mjs +1 -2
  21. package/dist/parse-ast-index.d.mts +28 -5
  22. package/dist/parse-ast-index.mjs +60 -4
  23. package/dist/plugins-index.browser.mjs +40 -0
  24. package/dist/plugins-index.d.mts +33 -0
  25. package/dist/plugins-index.mjs +40 -0
  26. package/dist/resolve-tsconfig-DThkUPSZ.js +112 -0
  27. package/dist/rolldown-binding.wasi-browser.js +46 -24
  28. package/dist/rolldown-binding.wasi.cjs +67 -24
  29. package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
  30. package/dist/rolldown-build-Chx5S-TB.js +5349 -0
  31. package/dist/shared/bindingify-input-options-Czbczr8Z.mjs +2168 -0
  32. package/dist/shared/composable-filters-B2ByPP8y.mjs +224 -0
  33. package/dist/shared/constructors-BVnf_fH1.d.mts +37 -0
  34. package/dist/shared/constructors-CemeNi29.mjs +68 -0
  35. package/dist/shared/define-config-DJOr6Iwt.mjs +6 -0
  36. package/dist/shared/define-config-i6TWE2hm.d.mts +3855 -0
  37. package/dist/shared/error-CQ6njWsV.mjs +86 -0
  38. package/dist/shared/get-log-filter-semyr3Lj.d.mts +35 -0
  39. package/dist/shared/{load-config-D7UduHRZ.mjs → load-config-CxvL5JxT.mjs} +32 -36
  40. package/dist/shared/logging-C6h4g8dA.d.mts +50 -0
  41. package/dist/shared/{parse-ast-index-vu376yZ1.mjs → logs-D80CXhvg.mjs} +25 -123
  42. package/dist/shared/normalize-string-or-regex-CF3Uz6aU.mjs +57 -0
  43. package/dist/shared/parse-CRhjbrcT.mjs +73 -0
  44. package/dist/shared/{prompt-CxjDC0Gn.cjs → prompt-BYQIwEjg.mjs} +301 -310
  45. package/dist/shared/resolve-tsconfig-Cwoo4h_o.mjs +112 -0
  46. package/dist/shared/rolldown-C3wFxOwq.mjs +40 -0
  47. package/dist/shared/rolldown-build-ChZOz6BP.mjs +3318 -0
  48. package/dist/shared/transform-DEgNAQOQ.d.mts +149 -0
  49. package/dist/shared/types-Cx3HYorz.d.mts +1302 -0
  50. package/dist/shared/utils-6wxe_LMG.d.mts +22 -0
  51. package/dist/shared/watch-C1jC1oFT.mjs +373 -0
  52. package/dist/utils-index.browser.mjs +2414 -0
  53. package/dist/utils-index.d.mts +374 -0
  54. package/dist/utils-index.mjs +2415 -0
  55. package/package.json +33 -38
  56. package/dist/cli.cjs +0 -1748
  57. package/dist/cli.d.cts +0 -1
  58. package/dist/config.cjs +0 -12
  59. package/dist/config.d.cts +0 -11
  60. package/dist/experimental-index.cjs +0 -129
  61. package/dist/experimental-index.d.cts +0 -96
  62. package/dist/filter-index.cjs +0 -53
  63. package/dist/filter-index.d.cts +0 -3
  64. package/dist/index.cjs +0 -9
  65. package/dist/index.d.cts +0 -3
  66. package/dist/parallel-plugin-worker.cjs +0 -33
  67. package/dist/parallel-plugin-worker.d.cts +0 -1
  68. package/dist/parallel-plugin.cjs +0 -8
  69. package/dist/parallel-plugin.d.cts +0 -14
  70. package/dist/parse-ast-index.cjs +0 -4
  71. package/dist/parse-ast-index.d.cts +0 -9
  72. package/dist/shared/chunk-DDkG_k5U.cjs +0 -39
  73. package/dist/shared/chunk-DSsiIF1Z.mjs +0 -30
  74. package/dist/shared/define-config.d-D4lKXE9V.d.cts +0 -1165
  75. package/dist/shared/define-config.d-Dm9iNdt9.d.mts +0 -1165
  76. package/dist/shared/dist-BMVjvV-v.cjs +0 -249
  77. package/dist/shared/dist-CAn6dxW6.mjs +0 -153
  78. package/dist/shared/load-config-CtKjQ8Mn.cjs +0 -125
  79. package/dist/shared/prompt-GFYxfPw7.mjs +0 -854
  80. package/dist/shared/src-D0nc44MQ.mjs +0 -4691
  81. package/dist/shared/src-s89s870G.cjs +0 -4647
  82. package/dist/src-CeWghjQt.js +0 -4329
@@ -1,96 +1,256 @@
1
- import { BuiltinPlugin$1 as BuiltinPlugin, InputOptions, RolldownPlugin, assetPlugin$1 as assetPlugin, 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, reporterPlugin$1 as reporterPlugin, viteResolvePlugin$1 as viteResolvePlugin, wasmFallbackPlugin$1 as wasmFallbackPlugin, wasmHelperPlugin$1 as wasmHelperPlugin, webWorkerPostPlugin$1 as webWorkerPostPlugin } from "./shared/define-config.d-Dm9iNdt9.mjs";
2
- import { BindingReplacePluginConfig, BindingTransformPluginConfig, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions as ResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, isolatedDeclaration, moduleRunnerTransform, transform } from "./rolldown-binding.wasi.cjs";
1
+ import { Tt as NormalizedOutputOptions, c as InputOptions, ln as freeExternalMemory, mt as defineParallelPlugin, sn as RolldownOutput, tn as OutputOptions } from "./shared/define-config-i6TWE2hm.mjs";
2
+ import { t as BuiltinPlugin } from "./shared/utils-6wxe_LMG.mjs";
3
+ import { a as transform$1, c as MinifyResult$2, d as ParseResult$3, f as ParserOptions$3, g as resolveTsconfig, h as TsconfigCache$2, i as TsconfigRawOptions$1, l as minify$1, m as parseSync$1, n as TransformResult$1, o as transformSync$1, p as parse$1, r as TsconfigCompilerOptions$1, s as MinifyOptions$2, t as TransformOptions$2, u as minifySync$1 } from "./shared/transform-DEgNAQOQ.mjs";
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 "./shared/constructors-BVnf_fH1.mjs";
5
+ import { BindingBundleAnalyzerPluginConfig, BindingViteManifestPluginConfig, BindingViteTransformPluginConfig } from "../binding.cjs";
6
+ import { BindingBundleState, BindingClientHmrUpdate as BindingClientHmrUpdate$1 } from "../../binding.cjs";
7
+ import { BindingClientHmrUpdate, BindingRebuildStrategy, IsolatedDeclarationsOptions, IsolatedDeclarationsResult, NapiResolveOptions as ResolveOptions, ResolveResult, ResolverFactory, isolatedDeclaration, isolatedDeclarationSync, moduleRunnerTransform } from "./binding.cjs";
3
8
 
9
+ //#region src/api/dev/dev-options.d.ts
10
+ type DevOnHmrUpdates = (result: Error | {
11
+ updates: BindingClientHmrUpdate$1[];
12
+ changedFiles: string[];
13
+ }) => void | Promise<void>;
14
+ type DevOnOutput = (result: Error | RolldownOutput) => void | Promise<void>;
15
+ interface DevWatchOptions {
16
+ /**
17
+ * If `true`, files are not written to disk.
18
+ * @default false
19
+ */
20
+ skipWrite?: boolean;
21
+ /**
22
+ * If `true`, use polling instead of native file system events for watching.
23
+ * @default false
24
+ */
25
+ usePolling?: boolean;
26
+ /**
27
+ * Poll interval in milliseconds (only used when usePolling is true).
28
+ * @default 100
29
+ */
30
+ pollInterval?: number;
31
+ /**
32
+ * If `true`, use debounced watcher. If `false`, use non-debounced watcher for immediate responses.
33
+ * @default true
34
+ */
35
+ useDebounce?: boolean;
36
+ /**
37
+ * Debounce duration in milliseconds (only used when useDebounce is true).
38
+ * @default 10
39
+ */
40
+ debounceDuration?: number;
41
+ /**
42
+ * Whether to compare file contents for poll-based watchers (only used when usePolling is true).
43
+ * When enabled, poll watchers will check file contents to determine if they actually changed.
44
+ * @default false
45
+ */
46
+ compareContentsForPolling?: boolean;
47
+ /**
48
+ * Tick rate in milliseconds for debounced watchers (only used when useDebounce is true).
49
+ * Controls how frequently the debouncer checks for events to process.
50
+ * When not specified, the debouncer will auto-select an appropriate tick rate (1/4 of the debounce duration).
51
+ * @default undefined (auto-select)
52
+ */
53
+ debounceTickRate?: number;
54
+ }
55
+ interface DevOptions {
56
+ onHmrUpdates?: DevOnHmrUpdates;
57
+ onOutput?: DevOnOutput;
58
+ /**
59
+ * Strategy for triggering rebuilds after HMR updates.
60
+ * - `'always'`: Always trigger a rebuild after HMR updates
61
+ * - `'auto'`: Trigger rebuild only if HMR updates contain full reload updates
62
+ * - `'never'`: Never trigger rebuild after HMR updates (default)
63
+ * @default 'auto'
64
+ */
65
+ rebuildStrategy?: "always" | "auto" | "never";
66
+ watch?: DevWatchOptions;
67
+ }
68
+ //#endregion
69
+ //#region src/api/dev/dev-engine.d.ts
70
+ declare class DevEngine {
71
+ #private;
72
+ static create(inputOptions: InputOptions, outputOptions?: OutputOptions, devOptions?: DevOptions): Promise<DevEngine>;
73
+ private constructor();
74
+ run(): Promise<void>;
75
+ ensureCurrentBuildFinish(): Promise<void>;
76
+ getBundleState(): Promise<BindingBundleState>;
77
+ ensureLatestBuildOutput(): Promise<void>;
78
+ invalidate(file: string, firstInvalidatedBy?: string): Promise<BindingClientHmrUpdate$1[]>;
79
+ registerModules(clientId: string, modules: string[]): Promise<void>;
80
+ removeClient(clientId: string): Promise<void>;
81
+ close(): Promise<void>;
82
+ /**
83
+ * Compile a lazy entry module and return HMR-style patch code.
84
+ *
85
+ * This is called when a dynamically imported module is first requested at runtime.
86
+ * The module was previously stubbed with a proxy, and now we need to compile the
87
+ * actual module and its dependencies.
88
+ *
89
+ * @param moduleId - The absolute file path of the module to compile
90
+ * @param clientId - The client ID requesting this compilation
91
+ * @returns The compiled JavaScript code as a string (HMR patch format)
92
+ */
93
+ compileEntry(moduleId: string, clientId: string): Promise<string>;
94
+ }
95
+ //#endregion
96
+ //#region src/api/dev/index.d.ts
97
+ declare const dev: typeof DevEngine.create;
98
+ //#endregion
4
99
  //#region src/api/experimental.d.ts
5
100
  /**
6
- * This is an experimental API. It's behavior may change in the future.
101
+ * This is an experimental API. Its behavior may change in the future.
7
102
  *
8
- * Calling this API will only execute the scan stage of rolldown.
9
- */
10
- /**
11
- * This is an experimental API. It's behavior may change in the future.
103
+ * - Calling this API will only execute the `scan/build` stage of rolldown.
104
+ * - `scan` will clean up all resources automatically, but if you want to ensure timely cleanup, you need to wait for the returned promise to resolve.
12
105
  *
13
- * Calling this API will only execute the scan stage of rolldown.
106
+ * @example To ensure cleanup of resources, use the returned promise to wait for the scan to complete.
107
+ * ```ts
108
+ * import { scan } from 'rolldown/api/experimental';
109
+ *
110
+ * const cleanupPromise = await scan(...);
111
+ * await cleanupPromise;
112
+ * // Now all resources have been cleaned up.
113
+ * ```
14
114
  */
15
- declare const experimental_scan: (input: InputOptions) => Promise<void>;
16
-
17
- //#endregion
18
- //#region src/utils/compose-js-plugins.d.ts
19
- declare function composeJsPlugins(plugins: RolldownPlugin[]): RolldownPlugin[];
20
-
115
+ declare const scan: (rawInputOptions: InputOptions, rawOutputOptions?: {}) => Promise<Promise<void>>;
21
116
  //#endregion
22
117
  //#region src/builtin-plugin/alias-plugin.d.ts
23
- type AliasPluginAlias = {
24
- find: string | RegExp
25
- replacement: string
118
+ type ViteAliasPluginConfig = {
119
+ entries: {
120
+ find: string | RegExp;
121
+ replacement: string;
122
+ }[];
26
123
  };
27
- type AliasPluginConfig = {
28
- entries: AliasPluginAlias[]
29
- };
30
- declare function aliasPlugin(config: AliasPluginConfig): BuiltinPlugin;
31
-
124
+ declare function viteAliasPlugin(config: ViteAliasPluginConfig): BuiltinPlugin;
32
125
  //#endregion
33
- //#region src/builtin-plugin/replace-plugin.d.ts
126
+ //#region src/builtin-plugin/bundle-analyzer-plugin.d.ts
34
127
  /**
35
- * Replaces targeted strings in files while bundling.
128
+ * A plugin that analyzes bundle composition and generates detailed reports.
129
+ *
130
+ * The plugin outputs a file containing detailed information about:
131
+ * - All chunks and their relationships
132
+ * - Modules bundled in each chunk
133
+ * - Import dependencies between chunks
134
+ * - Reachable modules from each entry point
36
135
  *
37
136
  * @example
38
- * // Basic usage
39
- * ```js
40
- * replacePlugin({
41
- * 'process.env.NODE_ENV': JSON.stringify('production'),
42
- * __buildDate__: () => JSON.stringify(new Date()),
43
- * __buildVersion: 15
44
- * })
45
- * ```
46
- * @example
47
- * // With options
48
137
  * ```js
49
- * replacePlugin({
50
- * 'process.env.NODE_ENV': JSON.stringify('production'),
51
- * __buildDate__: () => JSON.stringify(new Date()),
52
- * __buildVersion: 15
53
- * }, {
54
- * preventAssignment: false,
55
- * })
138
+ * import { bundleAnalyzerPlugin } from 'rolldown/experimental';
139
+ *
140
+ * export default {
141
+ * plugins: [
142
+ * bundleAnalyzerPlugin()
143
+ * ]
144
+ * }
56
145
  * ```
57
- */
58
- /**
59
- * Replaces targeted strings in files while bundling.
60
146
  *
61
147
  * @example
62
- * // Basic usage
148
+ * **Custom filename**
63
149
  * ```js
64
- * replacePlugin({
65
- * 'process.env.NODE_ENV': JSON.stringify('production'),
66
- * __buildDate__: () => JSON.stringify(new Date()),
67
- * __buildVersion: 15
68
- * })
150
+ * import { bundleAnalyzerPlugin } from 'rolldown/experimental';
151
+ *
152
+ * export default {
153
+ * plugins: [
154
+ * bundleAnalyzerPlugin({
155
+ * fileName: 'bundle-analysis.json'
156
+ * })
157
+ * ]
158
+ * }
69
159
  * ```
160
+ *
70
161
  * @example
71
- * // With options
162
+ * **LLM-friendly markdown output**
72
163
  * ```js
73
- * replacePlugin({
74
- * 'process.env.NODE_ENV': JSON.stringify('production'),
75
- * __buildDate__: () => JSON.stringify(new Date()),
76
- * __buildVersion: 15
77
- * }, {
78
- * preventAssignment: false,
79
- * })
164
+ * import { bundleAnalyzerPlugin } from 'rolldown/experimental';
165
+ *
166
+ * export default {
167
+ * plugins: [
168
+ * bundleAnalyzerPlugin({
169
+ * format: 'md'
170
+ * })
171
+ * ]
172
+ * }
80
173
  * ```
81
174
  */
82
- declare function replacePlugin(values?: BindingReplacePluginConfig["values"], options?: Omit<BindingReplacePluginConfig, "values">): BuiltinPlugin;
83
-
175
+ declare function bundleAnalyzerPlugin(config?: BindingBundleAnalyzerPluginConfig): BuiltinPlugin;
84
176
  //#endregion
85
177
  //#region src/builtin-plugin/transform-plugin.d.ts
86
178
  type TransformPattern = string | RegExp | readonly (RegExp | string)[];
87
- type TransformPluginConfig = Omit<BindingTransformPluginConfig, "include" | "exclude" | "jsxRefreshInclude" | "jsxRefreshExclude"> & {
88
- include?: TransformPattern
89
- exclude?: TransformPattern
90
- jsxRefreshInclude?: TransformPattern
91
- jsxRefreshExclude?: TransformPattern
179
+ type TransformPluginConfig = Omit<BindingViteTransformPluginConfig, "include" | "exclude" | "jsxRefreshInclude" | "jsxRefreshExclude" | "yarnPnp"> & {
180
+ include?: TransformPattern;
181
+ exclude?: TransformPattern;
182
+ jsxRefreshInclude?: TransformPattern;
183
+ jsxRefreshExclude?: TransformPattern;
92
184
  };
93
- declare function transformPlugin(config?: TransformPluginConfig): BuiltinPlugin;
94
-
185
+ declare function viteTransformPlugin(config: TransformPluginConfig): BuiltinPlugin;
186
+ //#endregion
187
+ //#region src/builtin-plugin/vite-manifest-plugin.d.ts
188
+ type ViteManifestPluginConfig = Omit<BindingViteManifestPluginConfig, "isLegacy"> & {
189
+ isOutputOptionsForLegacyChunks?: (outputOptions: NormalizedOutputOptions) => boolean;
190
+ };
191
+ declare function viteManifestPlugin(config: ViteManifestPluginConfig): BuiltinPlugin;
192
+ //#endregion
193
+ //#region src/experimental-index.d.ts
194
+ /**
195
+ * In-memory file system for browser builds.
196
+ *
197
+ * This is a re-export of the {@link https://github.com/streamich/memfs | memfs} package used by the WASI runtime.
198
+ * It allows you to read and write files to a virtual filesystem when using rolldown in browser environments.
199
+ *
200
+ * - `fs`: A Node.js-compatible filesystem API (`IFs` from memfs)
201
+ * - `volume`: The underlying `Volume` instance that stores the filesystem state
202
+ *
203
+ * Returns `undefined` in Node.js builds (only available in browser builds via `@rolldown/browser`).
204
+ *
205
+ * @example
206
+ * ```typescript
207
+ * import { memfs } from 'rolldown/experimental';
208
+ *
209
+ * // Write files to virtual filesystem before bundling
210
+ * memfs?.volume.fromJSON({
211
+ * '/src/index.js': 'export const foo = 42;',
212
+ * '/package.json': '{"name": "my-app"}'
213
+ * });
214
+ *
215
+ * // Read files from the virtual filesystem
216
+ * const content = memfs?.fs.readFileSync('/src/index.js', 'utf8');
217
+ * ```
218
+ *
219
+ * @see {@link https://github.com/streamich/memfs} for more information on the memfs API.
220
+ */
221
+ declare const memfs: {
222
+ fs: any;
223
+ volume: any;
224
+ } | undefined;
225
+ /** @deprecated Use from `rolldown/utils` instead. */
226
+ declare const parse: typeof parse$1;
227
+ /** @deprecated Use from `rolldown/utils` instead. */
228
+ declare const parseSync: typeof parseSync$1;
229
+ /** @deprecated Use from `rolldown/utils` instead. */
230
+ type ParseResult = ParseResult$3;
231
+ /** @deprecated Use from `rolldown/utils` instead. */
232
+ type ParserOptions = ParserOptions$3;
233
+ /** @deprecated Use from `rolldown/utils` instead. */
234
+ declare const minify: typeof minify$1;
235
+ /** @deprecated Use from `rolldown/utils` instead. */
236
+ declare const minifySync: typeof minifySync$1;
237
+ /** @deprecated Use from `rolldown/utils` instead. */
238
+ type MinifyOptions = MinifyOptions$2;
239
+ /** @deprecated Use from `rolldown/utils` instead. */
240
+ type MinifyResult = MinifyResult$2;
241
+ /** @deprecated Use from `rolldown/utils` instead. */
242
+ declare const transform: typeof transform$1;
243
+ /** @deprecated Use from `rolldown/utils` instead. */
244
+ declare const transformSync: typeof transformSync$1;
245
+ /** @deprecated Use from `rolldown/utils` instead. */
246
+ type TransformOptions = TransformOptions$2;
247
+ /** @deprecated Use from `rolldown/utils` instead. */
248
+ type TransformResult = TransformResult$1;
249
+ /** @deprecated Use from `rolldown/utils` instead. */
250
+ declare const TsconfigCache: typeof TsconfigCache$2;
251
+ /** @deprecated Use from `rolldown/utils` instead. */
252
+ type TsconfigRawOptions = TsconfigRawOptions$1;
253
+ /** @deprecated Use from `rolldown/utils` instead. */
254
+ type TsconfigCompilerOptions = TsconfigCompilerOptions$1;
95
255
  //#endregion
96
- export { IsolatedDeclarationsOptions, IsolatedDeclarationsResult, ResolveOptions, ResolveResult, ResolverFactory, TransformOptions, TransformResult, aliasPlugin, assetPlugin, buildImportAnalysisPlugin, composeJsPlugins as composePlugins, defineParallelPlugin, dynamicImportVarsPlugin, importGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, moduleFederationPlugin, modulePreloadPolyfillPlugin, moduleRunnerTransform, replacePlugin, reporterPlugin, experimental_scan as scan, transform, transformPlugin, viteResolvePlugin, wasmFallbackPlugin, wasmHelperPlugin, webWorkerPostPlugin };
256
+ export { type BindingClientHmrUpdate, BindingRebuildStrategy, DevEngine, type DevOptions, type DevWatchOptions, type IsolatedDeclarationsOptions, type IsolatedDeclarationsResult, MinifyOptions, MinifyResult, ParseResult, ParserOptions, type ResolveOptions, type ResolveResult, ResolverFactory, TransformOptions, TransformResult, TsconfigCache, TsconfigCompilerOptions, TsconfigRawOptions, bundleAnalyzerPlugin, defineParallelPlugin, dev, viteDynamicImportVarsPlugin as dynamicImportVarsPlugin, viteDynamicImportVarsPlugin, freeExternalMemory, viteImportGlobPlugin as importGlobPlugin, viteImportGlobPlugin, isolatedDeclaration, isolatedDeclarationPlugin, isolatedDeclarationSync, memfs, minify, minifySync, moduleRunnerTransform, oxcRuntimePlugin, parse, parseSync, resolveTsconfig, scan, transform, transformSync, viteAliasPlugin, viteBuildImportAnalysisPlugin, viteJsonPlugin, viteLoadFallbackPlugin, viteManifestPlugin, viteModulePreloadPolyfillPlugin, viteReactRefreshWrapperPlugin, viteReporterPlugin, viteResolvePlugin, viteTransformPlugin, viteWasmFallbackPlugin, viteWebWorkerPostPlugin };