diff --git a/biome.jsonc b/biome.jsonc index 8c63c530ab8f..8981c0ca25e7 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -35,7 +35,8 @@ "rules": { "recommended": false, "complexity": { - "useArrowFunction": "error" + "useArrowFunction": "error", + "noForEach": "error" }, "style": { "noUnusedTemplateLiteral": "error", @@ -66,4 +67,4 @@ "clientKind": "git", "useIgnoreFile": true } -} +} \ No newline at end of file diff --git a/packages/rspack-dev-server/src/ansiHTML.ts b/packages/rspack-dev-server/src/ansiHTML.ts index dbf1fd57fc05..4594cb014d0d 100644 --- a/packages/rspack-dev-server/src/ansiHTML.ts +++ b/packages/rspack-dev-server/src/ansiHTML.ts @@ -116,9 +116,9 @@ var _closeTags: Record< 29: "" // reset delete }; -[21, 22, 27, 28, 39, 49].forEach(n => { +for (const n of [21, 22, 27, 28, 39, 49]) { _closeTags[n] = ""; -}); +} /** * Normalize ';' | '' -> '' diff --git a/packages/rspack-dev-server/src/server.ts b/packages/rspack-dev-server/src/server.ts index da5ef70674ca..8426fee7f37b 100644 --- a/packages/rspack-dev-server/src/server.ts +++ b/packages/rspack-dev-server/src/server.ts @@ -109,7 +109,7 @@ export class RspackDevServer extends WebpackDevServer { ? this.compiler.compilers : [this.compiler]; - compilers.forEach(compiler => { + for (const compiler of compilers) { const mode = compiler.options.mode || process.env.NODE_ENV; if (this.options.hot) { if (mode === "production") { @@ -140,15 +140,15 @@ export class RspackDevServer extends WebpackDevServer { ...compiler.options.resolve.alias }; } - }); + } if (this.options.webSocketServer) { - compilers.forEach(compiler => { + for (const compiler of compilers) { this.addAdditionalEntries(compiler); new compiler.webpack.ProvidePlugin({ __webpack_dev_server_client__: this.getClientTransport() }).apply(compiler); - }); + } } // @ts-expect-error: `setupHooks` is private function in base class. @@ -173,7 +173,7 @@ export class RspackDevServer extends WebpackDevServer { let needForceShutdown = false; - signals.forEach(signal => { + for (const signal of signals) { const listener = () => { if (needForceShutdown) { process.exit(); @@ -200,15 +200,15 @@ export class RspackDevServer extends WebpackDevServer { this.listeners.push({ name: signal, listener }); process.on(signal, listener); - }); + } } // Proxy WebSocket without the initial http request // https://github.com/chimurai/http-proxy-middleware#external-websocket-upgrade // @ts-expect-error: `webSocketProxies` is private function in base class. - this.webSocketProxies.forEach(webSocketProxy => { + for (const webSocketProxy of this.webSocketProxies) { this.server.on("upgrade", webSocketProxy.upgrade); - }, this); + } } private override setupDevMiddleware() { @@ -218,7 +218,7 @@ export class RspackDevServer extends WebpackDevServer { private override setupMiddlewares() { const middlewares: WebpackDevServer.Middleware[] = []; - middlewares.forEach(middleware => { + for (const middleware of middlewares) { if (typeof middleware === "function") { // @ts-expect-error this.app.use(middleware); @@ -229,7 +229,7 @@ export class RspackDevServer extends WebpackDevServer { // @ts-expect-error this.app.use(middleware.middleware); } - }); + } // @ts-expect-error super.setupMiddlewares(); diff --git a/packages/rspack-plugin-react-refresh/src/index.ts b/packages/rspack-plugin-react-refresh/src/index.ts index 30b0d7498d59..821e90671555 100644 --- a/packages/rspack-plugin-react-refresh/src/index.ts +++ b/packages/rspack-plugin-react-refresh/src/index.ts @@ -56,16 +56,18 @@ class ReactRefreshRspackPlugin { options: this.options }); - addEntries.prependEntries.forEach(entry => { + for (const entry of addEntries.prependEntries) { new compiler.webpack.EntryPlugin(compiler.context, entry, { name: undefined }).apply(compiler); - }); - addEntries.overlayEntries.forEach(entry => { + } + + for (const entry of addEntries.overlayEntries) { new compiler.webpack.EntryPlugin(compiler.context, entry, { name: undefined }).apply(compiler); - }); + } + new compiler.webpack.ProvidePlugin({ $ReactRefreshRuntime$: reactRefreshPath }).apply(compiler); diff --git a/packages/rspack-test-tools/src/helper/legacy/copyDiff.js b/packages/rspack-test-tools/src/helper/legacy/copyDiff.js index 0a1c514a1ae1..da77d376d4d7 100644 --- a/packages/rspack-test-tools/src/helper/legacy/copyDiff.js +++ b/packages/rspack-test-tools/src/helper/legacy/copyDiff.js @@ -6,7 +6,7 @@ const rimraf = require("rimraf"); module.exports = function copyDiff(src, dest, initial) { fs.mkdirSync(dest, { recursive: true }); const files = fs.readdirSync(src); - files.forEach(filename => { + for (const filename of files) { const srcFile = path.join(src, filename); const destFile = path.join(dest, filename); const directory = fs.statSync(srcFile).isDirectory(); @@ -30,5 +30,5 @@ module.exports = function copyDiff(src, dest, initial) { } } } - }); + } }; diff --git a/packages/rspack-test-tools/src/processor/normal.ts b/packages/rspack-test-tools/src/processor/normal.ts index 589759df23e4..a0fe67f317ca 100644 --- a/packages/rspack-test-tools/src/processor/normal.ts +++ b/packages/rspack-test-tools/src/processor/normal.ts @@ -132,18 +132,20 @@ export class NormalProcessor< .concat(testConfig.plugins || []) .concat(function (this: TCompiler) { this.hooks.compilation.tap("TestCasesTest", compilation => { - [ + const hooks: never[] = [ // CHANGE: the follwing hooks are not supported yet, so comment it out // "optimize", // "optimizeModules", // "optimizeChunks", // "afterOptimizeTree", // "afterOptimizeAssets" - ].forEach(hook => { + ]; + + for (const hook of hooks) { (compilation.hooks[hook] as any).tap("TestCasesTest", () => (compilation as any).checkConstraints() ); - }); + } }); }), experiments: { diff --git a/packages/rspack-test-tools/src/processor/stats.ts b/packages/rspack-test-tools/src/processor/stats.ts index b29a90af96f4..71a44bec4f91 100644 --- a/packages/rspack-test-tools/src/processor/stats.ts +++ b/packages/rspack-test-tools/src/processor/stats.ts @@ -46,10 +46,10 @@ export class StatsProcessor< await super.compiler(context); const instance = this.getCompiler(context).getCompiler()! as any; const compilers = instance.compilers ? instance.compilers : [instance]; - compilers.forEach((c: Compiler) => { - const ifs = c.inputFileSystem; - c.inputFileSystem = Object.create(ifs); - c.inputFileSystem.readFile = () => { + for (const compiler of compilers) { + const ifs = compiler.inputFileSystem; + compiler.inputFileSystem = Object.create(ifs); + compiler.inputFileSystem.readFile = () => { const args = Array.prototype.slice.call(arguments); const callback = args.pop(); ifs.readFile.apply( @@ -66,7 +66,7 @@ export class StatsProcessor< }; // CHANGE: The checkConstraints() function is currently not implemented in rspack - // c.hooks.compilation.tap("StatsTestCasesTest", compilation => { + // compiler.hooks.compilation.tap("StatsTestCasesTest", compilation => { // [ // "optimize", // "optimizeModules", @@ -80,7 +80,7 @@ export class StatsProcessor< // ); // }); // }); - }); + } } async check(env: ITestEnv, context: ITestContext) { diff --git a/packages/rspack/etc/api.md b/packages/rspack/etc/api.md index cd1ac6a1cd21..a6b422614bd0 100644 --- a/packages/rspack/etc/api.md +++ b/packages/rspack/etc/api.md @@ -129,11 +129,11 @@ const assetGeneratorDataUrl: z.ZodUnion<[z.ZodObject<{ content: z.ZodString; filename: z.ZodString; }, "strict", z.ZodTypeAny, { - filename: string; content: string; -}, { filename: string; +}, { content: string; + filename: string; }>], z.ZodUnknown>, z.ZodString>]>; // @public (undocumented) @@ -144,11 +144,11 @@ const assetGeneratorDataUrlFunction: z.ZodFunction], z.ZodUnknown>, z.ZodString>; // @public (undocumented) @@ -184,38 +184,38 @@ const assetGeneratorOptions: z.ZodObject], z.ZodUnknown>, z.ZodString>]>>; }, { emit: z.ZodOptional; filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; }>, "strict", z.ZodTypeAny, { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; -}, { publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; +}, { filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; }>; // @public (undocumented) @@ -239,27 +239,27 @@ const assetInlineGeneratorOptions: z.ZodObject<{ content: z.ZodString; filename: z.ZodString; }, "strict", z.ZodTypeAny, { - filename: string; content: string; - }, { filename: string; + }, { content: string; + filename: string; }>], z.ZodUnknown>, z.ZodString>]>>; }, "strict", z.ZodTypeAny, { dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; }, { dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; }>; @@ -324,13 +324,13 @@ const assetResourceGeneratorOptions: z.ZodObject<{ filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; }, "strict", z.ZodTypeAny, { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; -}, { publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; +}, { filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; }>; // @public (undocumented) @@ -352,15 +352,15 @@ const auxiliaryComment: z.ZodUnion<[z.ZodString, z.ZodObject<{ commonjs2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>; // @public (undocumented) @@ -372,43 +372,43 @@ const bail: z.ZodBoolean; // @public (undocumented) export const BannerPlugin: { new (args: string | ((args_0: { - hash: string; - chunk: JsChunk; filename: string; + chunk: JsChunk; + hash: string; }, ...args_1: unknown[]) => string) | { banner: string | ((args_0: { - hash: string; - chunk: JsChunk; filename: string; + chunk: JsChunk; + hash: string; }, ...args_1: unknown[]) => string); test?: string | RegExp | (string | RegExp)[] | undefined; exclude?: string | RegExp | (string | RegExp)[] | undefined; include?: string | RegExp | (string | RegExp)[] | undefined; + stage?: number | undefined; entryOnly?: boolean | undefined; raw?: boolean | undefined; footer?: boolean | undefined; - stage?: number | undefined; }): { name: BuiltinPluginName; _args: [args: string | ((args_0: { - hash: string; - chunk: JsChunk; filename: string; + chunk: JsChunk; + hash: string; }, ...args_1: unknown[]) => string) | { banner: string | ((args_0: { - hash: string; - chunk: JsChunk; filename: string; + chunk: JsChunk; + hash: string; }, ...args_1: unknown[]) => string); test?: string | RegExp | (string | RegExp)[] | undefined; exclude?: string | RegExp | (string | RegExp)[] | undefined; include?: string | RegExp | (string | RegExp)[] | undefined; + stage?: number | undefined; entryOnly?: boolean | undefined; raw?: boolean | undefined; footer?: boolean | undefined; - stage?: number | undefined; }]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -423,26 +423,26 @@ const bannerPluginArgument: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodFunction; filename: z.ZodString; }, "strip", z.ZodTypeAny, { - hash: string; - chunk: JsChunk; filename: string; -}, { - hash: string; chunk: JsChunk; + hash: string; +}, { filename: string; + chunk: JsChunk; + hash: string; }>], z.ZodUnknown>, z.ZodString>]>, z.ZodObject<{ banner: z.ZodUnion<[z.ZodString, z.ZodFunction; filename: z.ZodString; }, "strip", z.ZodTypeAny, { - hash: string; - chunk: JsChunk; filename: string; - }, { - hash: string; chunk: JsChunk; + hash: string; + }, { filename: string; + chunk: JsChunk; + hash: string; }>], z.ZodUnknown>, z.ZodString>]>; entryOnly: z.ZodOptional; exclude: z.ZodOptional]>, z.ZodArray]>, "many">]>>; @@ -453,30 +453,30 @@ const bannerPluginArgument: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodFunction]>, z.ZodArray]>, "many">]>>; }, "strict", z.ZodTypeAny, { banner: string | ((args_0: { - hash: string; - chunk: JsChunk; filename: string; + chunk: JsChunk; + hash: string; }, ...args_1: unknown[]) => string); test?: string | RegExp | (string | RegExp)[] | undefined; exclude?: string | RegExp | (string | RegExp)[] | undefined; include?: string | RegExp | (string | RegExp)[] | undefined; + stage?: number | undefined; entryOnly?: boolean | undefined; raw?: boolean | undefined; footer?: boolean | undefined; - stage?: number | undefined; }, { banner: string | ((args_0: { - hash: string; - chunk: JsChunk; filename: string; + chunk: JsChunk; + hash: string; }, ...args_1: unknown[]) => string); test?: string | RegExp | (string | RegExp)[] | undefined; exclude?: string | RegExp | (string | RegExp)[] | undefined; include?: string | RegExp | (string | RegExp)[] | undefined; + stage?: number | undefined; entryOnly?: boolean | undefined; raw?: boolean | undefined; footer?: boolean | undefined; - stage?: number | undefined; }>]>; // @public (undocumented) @@ -527,13 +527,13 @@ const baseResolveOptions: z.ZodObject<{ restrictions: z.ZodOptional>; roots: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - modules?: string[] | undefined; alias?: Record | undefined; conditionNames?: string[] | undefined; extensions?: string[] | undefined; fallback?: Record | undefined; mainFields?: string[] | undefined; mainFiles?: string[] | undefined; + modules?: string[] | undefined; preferRelative?: boolean | undefined; preferAbsolute?: boolean | undefined; symlinks?: boolean | undefined; @@ -551,13 +551,13 @@ const baseResolveOptions: z.ZodObject<{ restrictions?: string[] | undefined; roots?: string[] | undefined; }, { - modules?: string[] | undefined; alias?: Record | undefined; conditionNames?: string[] | undefined; extensions?: string[] | undefined; fallback?: Record | undefined; mainFields?: string[] | undefined; mainFiles?: string[] | undefined; + modules?: string[] | undefined; preferRelative?: boolean | undefined; preferAbsolute?: boolean | undefined; symlinks?: boolean | undefined; @@ -656,20 +656,20 @@ const baseRuleSetRule: z.ZodObject<{ sideEffects: z.ZodOptional; enforce: z.ZodOptional, z.ZodLiteral<"post">]>>; }, "strict", z.ZodTypeAny, { - type?: string | undefined; - issuer?: RuleSetCondition | undefined; options?: string | Record | undefined; - resource?: RuleSetCondition | undefined; - loader?: string | undefined; + type?: string | undefined; test?: RuleSetCondition | undefined; exclude?: RuleSetCondition | undefined; include?: RuleSetCondition | undefined; + issuer?: RuleSetCondition | undefined; dependency?: RuleSetCondition | undefined; + resource?: RuleSetCondition | undefined; resourceFragment?: RuleSetCondition | undefined; resourceQuery?: RuleSetCondition | undefined; scheme?: RuleSetCondition | undefined; mimetype?: RuleSetCondition | undefined; descriptionData?: Record | undefined; + loader?: string | undefined; use?: string | { loader: string; options?: string | Record | undefined; @@ -689,20 +689,20 @@ const baseRuleSetRule: z.ZodObject<{ sideEffects?: boolean | undefined; enforce?: "pre" | "post" | undefined; }, { - type?: string | undefined; - issuer?: RuleSetCondition | undefined; options?: string | Record | undefined; - resource?: RuleSetCondition | undefined; - loader?: string | undefined; + type?: string | undefined; test?: RuleSetCondition | undefined; exclude?: RuleSetCondition | undefined; include?: RuleSetCondition | undefined; + issuer?: RuleSetCondition | undefined; dependency?: RuleSetCondition | undefined; + resource?: RuleSetCondition | undefined; resourceFragment?: RuleSetCondition | undefined; resourceQuery?: RuleSetCondition | undefined; scheme?: RuleSetCondition | undefined; mimetype?: RuleSetCondition | undefined; descriptionData?: Record | undefined; + loader?: string | undefined; use?: string | { loader: string; options?: string | Record | undefined; @@ -1351,16 +1351,16 @@ class ContainerPlugin extends RspackBuiltinPlugin { library: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; @@ -1395,7 +1395,7 @@ class ContainerReferencePlugin extends RspackBuiltinPlugin { name: BuiltinPluginName; // (undocumented) _options: { - remoteType: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs"; + remoteType: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs"; remotes: [string, { external: string[]; shareScope: string; @@ -1459,7 +1459,7 @@ export const CopyRspackPlugin: { new (copy: CopyRspackPluginOptions): { name: BuiltinPluginName; _args: [copy: CopyRspackPluginOptions]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -1673,7 +1673,7 @@ export const DefinePlugin: { new (define: DefinePluginOptions): { name: BuiltinPluginName; _args: [define: DefinePluginOptions]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -1787,7 +1787,7 @@ export const DynamicEntryPlugin: { new (context: string, entry: EntryDynamicNormalized): { name: BuiltinPluginName; _args: [context: string, entry: EntryDynamicNormalized]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -1807,7 +1807,7 @@ const ElectronTargetPlugin: { new (context?: string | undefined): { name: BuiltinPluginName; _args: [context?: string | undefined]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -1818,7 +1818,7 @@ const EnableChunkLoadingPlugin: { new (type: any): { name: BuiltinPluginName; _args: [type: any]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -1860,7 +1860,7 @@ const EnableWasmLoadingPlugin: { new (type: any): { name: BuiltinPluginName; _args: [type: any]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -1887,15 +1887,15 @@ const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -1903,12 +1903,12 @@ const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -1916,32 +1916,32 @@ const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodFunction, z.ZodUnion<[z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ import: z.ZodUnion<[z.ZodString, z.ZodArray]>; runtime: z.ZodOptional, z.ZodString]>>; @@ -2018,15 +2018,15 @@ const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -2034,12 +2034,12 @@ const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -2047,32 +2047,32 @@ const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodPromise]>, z.ZodObject<{ import: z.ZodUnion<[z.ZodString, z.ZodArray]>; runtime: z.ZodOptional, z.ZodString]>>; @@ -2149,15 +2149,15 @@ const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -2165,12 +2165,12 @@ const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -2178,32 +2178,32 @@ const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>>]>>]>; // @public (undocumented) @@ -2298,15 +2298,15 @@ const entryDescription: z.ZodObject<{ commonjs2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -2314,12 +2314,12 @@ const entryDescription: z.ZodObject<{ commonjs: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -2327,32 +2327,32 @@ const entryDescription: z.ZodObject<{ }, "strict", z.ZodTypeAny, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; }, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; @@ -2361,57 +2361,57 @@ const entryDescription: z.ZodObject<{ }, "strict", z.ZodTypeAny, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>; // @public (undocumented) @@ -2475,15 +2475,15 @@ const entryObject: z.ZodRecord; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -2491,12 +2491,12 @@ const entryObject: z.ZodRecord; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -2504,32 +2504,32 @@ const entryObject: z.ZodRecord string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>]>>; // @public (undocumented) @@ -2619,7 +2619,7 @@ export const EntryPlugin: { new (context: string, entry: string, options?: string | EntryOptions | undefined): { name: BuiltinPluginName; _args: [context: string, entry: string, options?: string | EntryOptions | undefined]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -2661,15 +2661,15 @@ const entryStatic: z.ZodUnion<[z.ZodRecord; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -2677,12 +2677,12 @@ const entryStatic: z.ZodUnion<[z.ZodRecord; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -2690,32 +2690,32 @@ const entryStatic: z.ZodUnion<[z.ZodRecord string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>; // @public (undocumented) @@ -2810,34 +2810,34 @@ const environment: z.ZodObject<{ templateLiteral: z.ZodOptional; }, "strict", z.ZodTypeAny, { module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; + globalThis?: boolean | undefined; bigIntLiteral?: boolean | undefined; const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; destructuring?: boolean | undefined; - document?: boolean | undefined; dynamicImport?: boolean | undefined; dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; optionalChaining?: boolean | undefined; templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; }, { module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; + globalThis?: boolean | undefined; bigIntLiteral?: boolean | undefined; const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; destructuring?: boolean | undefined; - document?: boolean | undefined; dynamicImport?: boolean | undefined; dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; optionalChaining?: boolean | undefined; templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; }>; // @public @@ -2866,7 +2866,7 @@ export const EvalDevToolModulePlugin: { new (options: EvalDevToolModulePluginOptions): { name: BuiltinPluginName; _args: [options: EvalDevToolModulePluginOptions]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -2879,7 +2879,7 @@ export const EvalSourceMapDevToolPlugin: { new (options: SourceMapDevToolPluginOptions): { name: BuiltinPluginName; _args: [options: SourceMapDevToolPluginOptions]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -2945,61 +2945,61 @@ const experiments_2: z.ZodObject<{ bundler: z.ZodOptional; force: z.ZodOptional, "many">]>>; }, "strict", z.ZodTypeAny, { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; - }, { force?: boolean | ("version" | "uniqueId")[] | undefined; + }, { version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; }>>; }, "strict", z.ZodTypeAny, { bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; } | undefined; }, { bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { css?: boolean | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + futureDefaults?: boolean | undefined; lazyCompilation?: boolean | { entries?: boolean | undefined; test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; imports?: boolean | undefined; } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; topLevelAwait?: boolean | undefined; - futureDefaults?: boolean | undefined; rspackFuture?: { bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; } | undefined; } | undefined; }, { css?: boolean | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + futureDefaults?: boolean | undefined; lazyCompilation?: boolean | { entries?: boolean | undefined; test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; imports?: boolean | undefined; } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; topLevelAwait?: boolean | undefined; - futureDefaults?: boolean | undefined; rspackFuture?: { bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; } | undefined; } | undefined; }>; @@ -3256,7 +3256,7 @@ export const ExternalsPlugin: { contextInfo?: { issuer: string; } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { context?: string | undefined; dependencyType?: string | undefined; request?: string | undefined; @@ -3270,7 +3270,7 @@ export const ExternalsPlugin: { contextInfo?: { issuer: string; } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { context?: string | undefined; dependencyType?: string | undefined; request?: string | undefined; @@ -3286,7 +3286,7 @@ export const ExternalsPlugin: { contextInfo?: { issuer: string; } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { context?: string | undefined; dependencyType?: string | undefined; request?: string | undefined; @@ -3300,7 +3300,7 @@ export const ExternalsPlugin: { contextInfo?: { issuer: string; } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { context?: string | undefined; dependencyType?: string | undefined; request?: string | undefined; @@ -3308,7 +3308,7 @@ export const ExternalsPlugin: { issuer: string; } | undefined; }, ...args_1: unknown[]) => Promise>))[]]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -3330,21 +3330,21 @@ const externalsPresets: z.ZodObject<{ }, "strict", z.ZodTypeAny, { node?: boolean | undefined; web?: boolean | undefined; - nwjs?: boolean | undefined; webAsync?: boolean | undefined; electron?: boolean | undefined; electronMain?: boolean | undefined; electronPreload?: boolean | undefined; electronRenderer?: boolean | undefined; + nwjs?: boolean | undefined; }, { node?: boolean | undefined; web?: boolean | undefined; - nwjs?: boolean | undefined; webAsync?: boolean | undefined; electron?: boolean | undefined; electronMain?: boolean | undefined; electronPreload?: boolean | undefined; electronRenderer?: boolean | undefined; + nwjs?: boolean | undefined; }>; // @public (undocumented) @@ -3431,7 +3431,7 @@ const FetchCompileAsyncWasmPlugin: { new (): { name: BuiltinPluginName; _args: []; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -3496,38 +3496,38 @@ const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ content: z.ZodString; filename: z.ZodString; }, "strict", z.ZodTypeAny, { - filename: string; content: string; - }, { filename: string; + }, { content: string; + filename: string; }>], z.ZodUnknown>, z.ZodString>]>>; }, { emit: z.ZodOptional; filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; }>, "strict", z.ZodTypeAny, { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; - }, { publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + }, { filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; }>>; "asset/inline": z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; }, "strict", z.ZodTypeAny, { dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; }, { dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; }>>; "asset/resource": z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; }, "strict", z.ZodTypeAny, { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; - }, { publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + }, { filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; }>>; css: z.ZodOptional; @@ -3622,21 +3622,21 @@ const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ localIdentName?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -3655,31 +3655,31 @@ const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; }, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -3698,14 +3698,14 @@ const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; }>, z.ZodRecord>]>; @@ -3728,38 +3728,38 @@ const generatorOptionsByModuleTypeKnown: z.ZodObject<{ content: z.ZodString; filename: z.ZodString; }, "strict", z.ZodTypeAny, { - filename: string; content: string; - }, { filename: string; + }, { content: string; + filename: string; }>], z.ZodUnknown>, z.ZodString>]>>; }, { emit: z.ZodOptional; filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; }>, "strict", z.ZodTypeAny, { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; - }, { publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + }, { filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; }>>; "asset/inline": z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; }, "strict", z.ZodTypeAny, { dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; }, { dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; }>>; "asset/resource": z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; }, "strict", z.ZodTypeAny, { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; - }, { publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + }, { filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; }>>; css: z.ZodOptional; @@ -3854,21 +3854,21 @@ const generatorOptionsByModuleTypeKnown: z.ZodObject<{ localIdentName?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -3887,31 +3887,31 @@ const generatorOptionsByModuleTypeKnown: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; }, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -3930,14 +3930,14 @@ const generatorOptionsByModuleTypeKnown: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; }>; @@ -4081,9 +4081,9 @@ const hotUpdateMainFilename: z.ZodString; // @public (undocumented) export const HtmlRspackPlugin: { new (c?: { - chunks?: string[] | undefined; - publicPath?: string | undefined; filename?: string | undefined; + publicPath?: string | undefined; + chunks?: string[] | undefined; template?: string | undefined; templateContent?: string | undefined; templateParameters?: Record | undefined; @@ -4098,9 +4098,9 @@ export const HtmlRspackPlugin: { } | undefined): { name: BuiltinPluginName; _args: [c?: { - chunks?: string[] | undefined; - publicPath?: string | undefined; filename?: string | undefined; + publicPath?: string | undefined; + chunks?: string[] | undefined; template?: string | undefined; templateContent?: string | undefined; templateParameters?: Record | undefined; @@ -4113,7 +4113,7 @@ export const HtmlRspackPlugin: { favicon?: string | undefined; meta?: Record> | undefined; } | undefined]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -4139,9 +4139,9 @@ const htmlRspackPluginOptions: z.ZodObject<{ favicon: z.ZodOptional; meta: z.ZodOptional]>>>; }, "strict", z.ZodTypeAny, { - chunks?: string[] | undefined; - publicPath?: string | undefined; filename?: string | undefined; + publicPath?: string | undefined; + chunks?: string[] | undefined; template?: string | undefined; templateContent?: string | undefined; templateParameters?: Record | undefined; @@ -4154,9 +4154,9 @@ const htmlRspackPluginOptions: z.ZodObject<{ favicon?: string | undefined; meta?: Record> | undefined; }, { - chunks?: string[] | undefined; - publicPath?: string | undefined; filename?: string | undefined; + publicPath?: string | undefined; + chunks?: string[] | undefined; template?: string | undefined; templateContent?: string | undefined; templateParameters?: Record | undefined; @@ -4195,7 +4195,7 @@ export const IgnorePlugin: { new (options: IgnorePluginOptions): { name: BuiltinPluginName; _args: [options: IgnorePluginOptions]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -4242,18 +4242,18 @@ const infrastructureLogging: z.ZodObject<{ level: z.ZodOptional>; stream: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - colors?: boolean | undefined; - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; appendOnly?: boolean | undefined; + colors?: boolean | undefined; console?: Console | undefined; - level?: "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + level?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; stream?: NodeJS.WritableStream | undefined; }, { - colors?: boolean | undefined; - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; appendOnly?: boolean | undefined; + colors?: boolean | undefined; console?: Console | undefined; - level?: "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + level?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; stream?: NodeJS.WritableStream | undefined; }>; @@ -4357,13 +4357,13 @@ const javascriptParserOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -4371,13 +4371,13 @@ const javascriptParserOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -4633,12 +4633,12 @@ const library_2: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>, z.ZodObject<{ amdContainer: z.ZodOptional; @@ -4648,15 +4648,15 @@ const library_2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -4664,12 +4664,12 @@ const library_2: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -4677,32 +4677,32 @@ const library_2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>; // @public (undocumented) @@ -4738,12 +4738,12 @@ const libraryCustomUmdObject: z.ZodObject<{ commonjs: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>; @@ -4762,12 +4762,12 @@ const libraryName: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>; @@ -4783,15 +4783,15 @@ const libraryOptions: z.ZodObject<{ commonjs2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -4799,12 +4799,12 @@ const libraryOptions: z.ZodObject<{ commonjs: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -4812,32 +4812,32 @@ const libraryOptions: z.ZodObject<{ }, "strict", z.ZodTypeAny, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; }, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; @@ -4879,7 +4879,7 @@ export const LightningCssMinimizerRspackPlugin: { new (options?: Partial | undefined): { name: BuiltinPluginName; _args: [options?: Partial | undefined]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -4900,7 +4900,7 @@ const LimitChunkCountPlugin: { new (options: LimitChunkCountOptions): { name: BuiltinPluginName; _args: [options: LimitChunkCountOptions]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -5360,13 +5360,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5374,13 +5374,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5403,13 +5403,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5417,13 +5417,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5446,13 +5446,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5460,13 +5460,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5489,13 +5489,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5503,26 +5503,26 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; }>>; }, "strict", z.ZodTypeAny, { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -5533,13 +5533,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5548,13 +5548,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5563,13 +5563,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5578,26 +5578,26 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; } | undefined; }, { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -5608,13 +5608,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5623,13 +5623,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5638,13 +5638,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5653,13 +5653,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5680,38 +5680,38 @@ const moduleOptions: z.ZodObject<{ content: z.ZodString; filename: z.ZodString; }, "strict", z.ZodTypeAny, { - filename: string; content: string; - }, { filename: string; + }, { content: string; + filename: string; }>], z.ZodUnknown>, z.ZodString>]>>; }, { emit: z.ZodOptional; filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; }>, "strict", z.ZodTypeAny, { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; - }, { publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + }, { filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; }>>; "asset/inline": z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; }, "strict", z.ZodTypeAny, { dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; }, { dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; }>>; "asset/resource": z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; }, "strict", z.ZodTypeAny, { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; - }, { publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + }, { filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; }>>; css: z.ZodOptional; @@ -5806,21 +5806,21 @@ const moduleOptions: z.ZodObject<{ localIdentName?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -5839,31 +5839,31 @@ const moduleOptions: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; }, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -5882,27 +5882,27 @@ const moduleOptions: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; }>, z.ZodRecord>]>>; noParse: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodArray]>, z.ZodFunction, z.ZodBoolean>]>, "many">]>>; }, "strict", z.ZodTypeAny, { parser?: { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -5913,13 +5913,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5928,13 +5928,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5943,13 +5943,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -5958,34 +5958,34 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; } | undefined; } | Record> | undefined; generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -6004,29 +6004,29 @@ const moduleOptions: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; } | undefined; - rules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; }, { parser?: { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -6037,13 +6037,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -6052,13 +6052,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -6067,13 +6067,13 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -6082,34 +6082,34 @@ const moduleOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; } | undefined; } | Record> | undefined; generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -6128,18 +6128,18 @@ const moduleOptions: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; } | undefined; - rules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; }>; @@ -6273,13 +6273,13 @@ const node_2: z.ZodUnion<[z.ZodLiteral, z.ZodObject<{ __filename: z.ZodOptional]>>; global: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - global?: boolean | "warn" | undefined; __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; -}, { global?: boolean | "warn" | undefined; +}, { __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + global?: boolean | "warn" | undefined; }>]>; // @public (undocumented) @@ -6322,13 +6322,13 @@ const nodeOptions: z.ZodObject<{ __filename: z.ZodOptional]>>; global: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - global?: boolean | "warn" | undefined; __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; -}, { global?: boolean | "warn" | undefined; +}, { __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + global?: boolean | "warn" | undefined; }>; // @public (undocumented) @@ -6336,7 +6336,7 @@ const NodeTargetPlugin: { new (): { name: BuiltinPluginName; _args: []; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -6454,34 +6454,34 @@ const optimization: z.ZodObject<{ idHint: z.ZodOptional; }, "strict", z.ZodTypeAny, { type?: string | RegExp | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; }, { type?: string | RegExp | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -6497,15 +6497,15 @@ const optimization: z.ZodObject<{ maxInitialSize: z.ZodOptional; automaticNameDelimiter: z.ZodOptional; }, "strict", z.ZodTypeAny, { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; automaticNameDelimiter?: string | undefined; }, { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -6513,28 +6513,28 @@ const optimization: z.ZodObject<{ }>>; hidePathInfo: z.ZodOptional; }, "strict", z.ZodTypeAny, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -6543,8 +6543,8 @@ const optimization: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -6552,28 +6552,28 @@ const optimization: z.ZodObject<{ } | undefined; hidePathInfo?: boolean | undefined; }, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -6582,8 +6582,8 @@ const optimization: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -6619,8 +6619,6 @@ const optimization: z.ZodObject<{ mangleExports: z.ZodOptional, z.ZodBoolean]>>; nodeEnv: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - usedExports?: boolean | "global" | undefined; - providedExports?: boolean | undefined; sideEffects?: boolean | "flag" | undefined; moduleIds?: "named" | "natural" | "deterministic" | undefined; chunkIds?: "named" | "natural" | "deterministic" | undefined; @@ -6628,28 +6626,28 @@ const optimization: z.ZodObject<{ minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; mergeDuplicateChunks?: boolean | undefined; splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -6658,8 +6656,8 @@ const optimization: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -6675,13 +6673,13 @@ const optimization: z.ZodObject<{ removeAvailableModules?: boolean | undefined; removeEmptyChunks?: boolean | undefined; realContentHash?: boolean | undefined; + providedExports?: boolean | undefined; concatenateModules?: boolean | undefined; innerGraph?: boolean | undefined; - mangleExports?: boolean | "size" | "deterministic" | undefined; + usedExports?: boolean | "global" | undefined; + mangleExports?: boolean | "deterministic" | "size" | undefined; nodeEnv?: string | false | undefined; }, { - usedExports?: boolean | "global" | undefined; - providedExports?: boolean | undefined; sideEffects?: boolean | "flag" | undefined; moduleIds?: "named" | "natural" | "deterministic" | undefined; chunkIds?: "named" | "natural" | "deterministic" | undefined; @@ -6689,28 +6687,28 @@ const optimization: z.ZodObject<{ minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; mergeDuplicateChunks?: boolean | undefined; splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -6719,8 +6717,8 @@ const optimization: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -6736,9 +6734,11 @@ const optimization: z.ZodObject<{ removeAvailableModules?: boolean | undefined; removeEmptyChunks?: boolean | undefined; realContentHash?: boolean | undefined; + providedExports?: boolean | undefined; concatenateModules?: boolean | undefined; innerGraph?: boolean | undefined; - mangleExports?: boolean | "size" | "deterministic" | undefined; + usedExports?: boolean | "global" | undefined; + mangleExports?: boolean | "deterministic" | "size" | undefined; nodeEnv?: string | false | undefined; }>; @@ -6794,34 +6794,34 @@ const optimizationSplitChunksCacheGroup: z.ZodObject<{ idHint: z.ZodOptional; }, "strict", z.ZodTypeAny, { type?: string | RegExp | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; }, { type?: string | RegExp | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -6867,34 +6867,34 @@ const optimizationSplitChunksOptions: z.ZodObject<{ idHint: z.ZodOptional; }, "strict", z.ZodTypeAny, { type?: string | RegExp | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; }, { type?: string | RegExp | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -6910,15 +6910,15 @@ const optimizationSplitChunksOptions: z.ZodObject<{ maxInitialSize: z.ZodOptional; automaticNameDelimiter: z.ZodOptional; }, "strict", z.ZodTypeAny, { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; automaticNameDelimiter?: string | undefined; }, { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -6926,28 +6926,28 @@ const optimizationSplitChunksOptions: z.ZodObject<{ }>>; hidePathInfo: z.ZodOptional; }, "strict", z.ZodTypeAny, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -6956,8 +6956,8 @@ const optimizationSplitChunksOptions: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -6965,28 +6965,28 @@ const optimizationSplitChunksOptions: z.ZodObject<{ } | undefined; hidePathInfo?: boolean | undefined; }, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -6995,8 +6995,8 @@ const optimizationSplitChunksOptions: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -7053,12 +7053,12 @@ const output: z.ZodObject<{ commonjs: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>, z.ZodObject<{ amdContainer: z.ZodOptional; @@ -7068,15 +7068,15 @@ const output: z.ZodObject<{ commonjs2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -7084,12 +7084,12 @@ const output: z.ZodObject<{ commonjs: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -7097,32 +7097,32 @@ const output: z.ZodObject<{ }, "strict", z.ZodTypeAny, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; }, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; @@ -7136,15 +7136,15 @@ const output: z.ZodObject<{ commonjs2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; module: z.ZodOptional; strictModuleExceptionHandling: z.ZodOptional; @@ -7197,71 +7197,87 @@ const output: z.ZodObject<{ templateLiteral: z.ZodOptional; }, "strict", z.ZodTypeAny, { module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; + globalThis?: boolean | undefined; bigIntLiteral?: boolean | undefined; const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; destructuring?: boolean | undefined; - document?: boolean | undefined; dynamicImport?: boolean | undefined; dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; optionalChaining?: boolean | undefined; templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; }, { module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; + globalThis?: boolean | undefined; bigIntLiteral?: boolean | undefined; const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; destructuring?: boolean | undefined; - document?: boolean | undefined; dynamicImport?: boolean | undefined; dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; optionalChaining?: boolean | undefined; templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { path?: string | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - module?: boolean | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; + environment?: { + module?: boolean | undefined; + globalThis?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; + destructuring?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; } | undefined; - umdNamedDefine?: boolean | undefined; + module?: boolean | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; library?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + uniqueName?: string | undefined; pathinfo?: boolean | "verbose" | undefined; clean?: boolean | undefined; chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; @@ -7272,16 +7288,13 @@ const output: z.ZodObject<{ hotUpdateChunkFilename?: string | undefined; hotUpdateGlobal?: string | undefined; assetModuleFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; chunkLoadingGlobal?: string | undefined; enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; strictModuleErrorHandling?: boolean | undefined; globalObject?: string | undefined; importFunctionName?: string | undefined; iife?: boolean | undefined; + wasmLoading?: string | false | undefined; enabledWasmLoadingTypes?: string[] | undefined; webassemblyModuleFilename?: string | undefined; chunkFormat?: string | false | undefined; @@ -7292,7 +7305,7 @@ const output: z.ZodObject<{ sourceMapFilename?: string | undefined; hashDigest?: string | undefined; hashDigestLength?: number | undefined; - hashFunction?: "md4" | "xxhash64" | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; hashSalt?: string | undefined; workerChunkLoading?: string | false | undefined; workerWasmLoading?: string | false | undefined; @@ -7301,60 +7314,63 @@ const output: z.ZodObject<{ devtoolNamespace?: string | undefined; devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; - chunkLoadTimeout?: number | undefined; charset?: boolean | undefined; + chunkLoadTimeout?: number | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; +}, { + path?: string | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; environment?: { module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; + globalThis?: boolean | undefined; bigIntLiteral?: boolean | undefined; const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; destructuring?: boolean | undefined; - document?: boolean | undefined; dynamicImport?: boolean | undefined; dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; optionalChaining?: boolean | undefined; templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; } | undefined; -}, { - path?: string | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; module?: boolean | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; library?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + uniqueName?: string | undefined; pathinfo?: boolean | "verbose" | undefined; clean?: boolean | undefined; chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; @@ -7365,16 +7381,13 @@ const output: z.ZodObject<{ hotUpdateChunkFilename?: string | undefined; hotUpdateGlobal?: string | undefined; assetModuleFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; chunkLoadingGlobal?: string | undefined; enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; strictModuleErrorHandling?: boolean | undefined; globalObject?: string | undefined; importFunctionName?: string | undefined; iife?: boolean | undefined; + wasmLoading?: string | false | undefined; enabledWasmLoadingTypes?: string[] | undefined; webassemblyModuleFilename?: string | undefined; chunkFormat?: string | false | undefined; @@ -7385,7 +7398,7 @@ const output: z.ZodObject<{ sourceMapFilename?: string | undefined; hashDigest?: string | undefined; hashDigestLength?: number | undefined; - hashFunction?: "md4" | "xxhash64" | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; hashSalt?: string | undefined; workerChunkLoading?: string | false | undefined; workerWasmLoading?: string | false | undefined; @@ -7394,24 +7407,11 @@ const output: z.ZodObject<{ devtoolNamespace?: string | undefined; devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; - chunkLoadTimeout?: number | undefined; charset?: boolean | undefined; - environment?: { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - } | undefined; + chunkLoadTimeout?: number | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; }>; // @public (undocumented) @@ -7619,13 +7619,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7633,13 +7633,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7662,13 +7662,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7676,13 +7676,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7705,13 +7705,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7719,13 +7719,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7748,13 +7748,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7762,26 +7762,26 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; }>>; }, "strict", z.ZodTypeAny, { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -7792,13 +7792,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7807,13 +7807,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7822,13 +7822,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7837,26 +7837,26 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; } | undefined; }, { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -7867,13 +7867,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7882,13 +7882,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7897,13 +7897,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7912,13 +7912,13 @@ const parserOptionsByModuleType: z.ZodUnion<[z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -7986,13 +7986,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8000,13 +8000,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8029,13 +8029,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8043,13 +8043,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8072,13 +8072,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8086,13 +8086,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8115,13 +8115,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8129,26 +8129,26 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; }>>; }, "strict", z.ZodTypeAny, { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -8159,13 +8159,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8174,13 +8174,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8189,13 +8189,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8204,26 +8204,26 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; } | undefined; }, { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -8234,13 +8234,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8249,13 +8249,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8264,13 +8264,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8279,13 +8279,13 @@ const parserOptionsByModuleTypeKnown: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -8381,7 +8381,7 @@ export const ProgressPlugin: { new (progress?: ProgressPluginArgument): { name: BuiltinPluginName; _args: [progress?: ProgressPluginArgument]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -8395,7 +8395,7 @@ export const ProvidePlugin: { new (provide: ProvidePluginOptions): { name: BuiltinPluginName; _args: [provide: ProvidePluginOptions]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -8972,25 +8972,25 @@ const rspackFutureOptions: z.ZodObject<{ bundler: z.ZodOptional; force: z.ZodOptional, "many">]>>; }, "strict", z.ZodTypeAny, { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; - }, { force?: boolean | ("version" | "uniqueId")[] | undefined; + }, { version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; }>>; }, "strict", z.ZodTypeAny, { bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; } | undefined; }, { bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; } | undefined; }>; @@ -9018,15 +9018,15 @@ export const rspackOptions: z.ZodObject<{ commonjs2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -9034,12 +9034,12 @@ export const rspackOptions: z.ZodObject<{ commonjs: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -9047,32 +9047,32 @@ export const rspackOptions: z.ZodObject<{ }, "strict", z.ZodTypeAny, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; }, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; @@ -9081,57 +9081,57 @@ export const rspackOptions: z.ZodObject<{ }, "strict", z.ZodTypeAny, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodFunction, z.ZodUnion<[z.ZodUnion<[z.ZodRecord]>, z.ZodObject<{ import: z.ZodUnion<[z.ZodString, z.ZodArray]>; runtime: z.ZodOptional, z.ZodString]>>; @@ -9149,15 +9149,15 @@ export const rspackOptions: z.ZodObject<{ commonjs2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -9165,12 +9165,12 @@ export const rspackOptions: z.ZodObject<{ commonjs: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -9178,32 +9178,32 @@ export const rspackOptions: z.ZodObject<{ }, "strict", z.ZodTypeAny, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; }, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; @@ -9212,57 +9212,57 @@ export const rspackOptions: z.ZodObject<{ }, "strict", z.ZodTypeAny, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>, z.ZodPromise]>, z.ZodObject<{ import: z.ZodUnion<[z.ZodString, z.ZodArray]>; runtime: z.ZodOptional, z.ZodString]>>; @@ -9280,15 +9280,15 @@ export const rspackOptions: z.ZodObject<{ commonjs2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -9296,12 +9296,12 @@ export const rspackOptions: z.ZodObject<{ commonjs: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -9309,32 +9309,32 @@ export const rspackOptions: z.ZodObject<{ }, "strict", z.ZodTypeAny, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; }, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; @@ -9343,57 +9343,57 @@ export const rspackOptions: z.ZodObject<{ }, "strict", z.ZodTypeAny, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }, { import: string | string[]; runtime?: string | false | undefined; + filename?: string | undefined; publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>]>>, z.ZodUnion<[z.ZodString, z.ZodArray]>]>>]>>]>>; output: z.ZodOptional; @@ -9417,12 +9417,12 @@ export const rspackOptions: z.ZodObject<{ commonjs: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>, z.ZodObject<{ amdContainer: z.ZodOptional; @@ -9432,15 +9432,15 @@ export const rspackOptions: z.ZodObject<{ commonjs2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; export: z.ZodOptional]>>; name: z.ZodOptional]>, z.ZodObject<{ @@ -9448,12 +9448,12 @@ export const rspackOptions: z.ZodObject<{ commonjs: z.ZodOptional; root: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; }>]>>; type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>; @@ -9461,32 +9461,32 @@ export const rspackOptions: z.ZodObject<{ }, "strict", z.ZodTypeAny, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; }, { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; @@ -9500,15 +9500,15 @@ export const rspackOptions: z.ZodObject<{ commonjs2: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }, { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; }>]>>; module: z.ZodOptional; strictModuleExceptionHandling: z.ZodOptional; @@ -9561,71 +9561,87 @@ export const rspackOptions: z.ZodObject<{ templateLiteral: z.ZodOptional; }, "strict", z.ZodTypeAny, { module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; + globalThis?: boolean | undefined; bigIntLiteral?: boolean | undefined; const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; destructuring?: boolean | undefined; - document?: boolean | undefined; dynamicImport?: boolean | undefined; dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; optionalChaining?: boolean | undefined; templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; }, { module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; + globalThis?: boolean | undefined; bigIntLiteral?: boolean | undefined; const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; destructuring?: boolean | undefined; - document?: boolean | undefined; dynamicImport?: boolean | undefined; dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; optionalChaining?: boolean | undefined; templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { path?: string | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - module?: boolean | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - library?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + environment?: { + module?: boolean | undefined; + globalThis?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; + destructuring?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; + } | undefined; + module?: boolean | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + library?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; } | { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + uniqueName?: string | undefined; pathinfo?: boolean | "verbose" | undefined; clean?: boolean | undefined; chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; @@ -9636,16 +9652,13 @@ export const rspackOptions: z.ZodObject<{ hotUpdateChunkFilename?: string | undefined; hotUpdateGlobal?: string | undefined; assetModuleFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; chunkLoadingGlobal?: string | undefined; enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; strictModuleErrorHandling?: boolean | undefined; globalObject?: string | undefined; importFunctionName?: string | undefined; iife?: boolean | undefined; + wasmLoading?: string | false | undefined; enabledWasmLoadingTypes?: string[] | undefined; webassemblyModuleFilename?: string | undefined; chunkFormat?: string | false | undefined; @@ -9656,7 +9669,7 @@ export const rspackOptions: z.ZodObject<{ sourceMapFilename?: string | undefined; hashDigest?: string | undefined; hashDigestLength?: number | undefined; - hashFunction?: "md4" | "xxhash64" | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; hashSalt?: string | undefined; workerChunkLoading?: string | false | undefined; workerWasmLoading?: string | false | undefined; @@ -9665,60 +9678,63 @@ export const rspackOptions: z.ZodObject<{ devtoolNamespace?: string | undefined; devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; - chunkLoadTimeout?: number | undefined; charset?: boolean | undefined; + chunkLoadTimeout?: number | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; + }, { + path?: string | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; environment?: { module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; + globalThis?: boolean | undefined; bigIntLiteral?: boolean | undefined; const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; destructuring?: boolean | undefined; - document?: boolean | undefined; dynamicImport?: boolean | undefined; dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; optionalChaining?: boolean | undefined; templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; } | undefined; - }, { - path?: string | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; module?: boolean | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; library?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + uniqueName?: string | undefined; pathinfo?: boolean | "verbose" | undefined; clean?: boolean | undefined; chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; @@ -9729,16 +9745,13 @@ export const rspackOptions: z.ZodObject<{ hotUpdateChunkFilename?: string | undefined; hotUpdateGlobal?: string | undefined; assetModuleFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; chunkLoadingGlobal?: string | undefined; enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; strictModuleErrorHandling?: boolean | undefined; globalObject?: string | undefined; importFunctionName?: string | undefined; iife?: boolean | undefined; + wasmLoading?: string | false | undefined; enabledWasmLoadingTypes?: string[] | undefined; webassemblyModuleFilename?: string | undefined; chunkFormat?: string | false | undefined; @@ -9749,7 +9762,7 @@ export const rspackOptions: z.ZodObject<{ sourceMapFilename?: string | undefined; hashDigest?: string | undefined; hashDigestLength?: number | undefined; - hashFunction?: "md4" | "xxhash64" | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; hashSalt?: string | undefined; workerChunkLoading?: string | false | undefined; workerWasmLoading?: string | false | undefined; @@ -9758,24 +9771,11 @@ export const rspackOptions: z.ZodObject<{ devtoolNamespace?: string | undefined; devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; - chunkLoadTimeout?: number | undefined; charset?: boolean | undefined; - environment?: { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - } | undefined; + chunkLoadTimeout?: number | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; }>>; target: z.ZodOptional, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>]>, z.ZodArray, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>]>, "many">]>>; mode: z.ZodOptional>; @@ -9804,61 +9804,61 @@ export const rspackOptions: z.ZodObject<{ bundler: z.ZodOptional; force: z.ZodOptional, "many">]>>; }, "strict", z.ZodTypeAny, { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; - }, { force?: boolean | ("version" | "uniqueId")[] | undefined; + }, { version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; }>>; }, "strict", z.ZodTypeAny, { bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; } | undefined; }, { bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { css?: boolean | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + futureDefaults?: boolean | undefined; lazyCompilation?: boolean | { entries?: boolean | undefined; test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; imports?: boolean | undefined; } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; topLevelAwait?: boolean | undefined; - futureDefaults?: boolean | undefined; rspackFuture?: { bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; } | undefined; } | undefined; }, { css?: boolean | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + futureDefaults?: boolean | undefined; lazyCompilation?: boolean | { entries?: boolean | undefined; test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; imports?: boolean | undefined; } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; topLevelAwait?: boolean | undefined; - futureDefaults?: boolean | undefined; rspackFuture?: { bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; version?: string | undefined; bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; } | undefined; } | undefined; }>>; @@ -9976,21 +9976,21 @@ export const rspackOptions: z.ZodObject<{ }, "strict", z.ZodTypeAny, { node?: boolean | undefined; web?: boolean | undefined; - nwjs?: boolean | undefined; webAsync?: boolean | undefined; electron?: boolean | undefined; electronMain?: boolean | undefined; electronPreload?: boolean | undefined; electronRenderer?: boolean | undefined; + nwjs?: boolean | undefined; }, { node?: boolean | undefined; web?: boolean | undefined; - nwjs?: boolean | undefined; webAsync?: boolean | undefined; electron?: boolean | undefined; electronMain?: boolean | undefined; electronPreload?: boolean | undefined; electronRenderer?: boolean | undefined; + nwjs?: boolean | undefined; }>>; infrastructureLogging: z.ZodOptional; @@ -10000,18 +10000,18 @@ export const rspackOptions: z.ZodObject<{ level: z.ZodOptional>; stream: z.ZodOptional>; }, "strict", z.ZodTypeAny, { - colors?: boolean | undefined; - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; appendOnly?: boolean | undefined; + colors?: boolean | undefined; console?: Console | undefined; - level?: "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + level?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; stream?: NodeJS.WritableStream | undefined; }, { - colors?: boolean | undefined; - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; appendOnly?: boolean | undefined; + colors?: boolean | undefined; console?: Console | undefined; - level?: "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + level?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; stream?: NodeJS.WritableStream | undefined; }>>; cache: z.ZodOptional; @@ -10022,13 +10022,13 @@ export const rspackOptions: z.ZodObject<{ __filename: z.ZodOptional]>>; global: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - global?: boolean | "warn" | undefined; __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; - }, { global?: boolean | "warn" | undefined; + }, { __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + global?: boolean | "warn" | undefined; }>]>>; loader: z.ZodOptional>; ignoreWarnings: z.ZodOptional, z.ZodFunction, z.ZodType], z.ZodUnknown>, z.ZodBoolean>]>, "many">>; @@ -10125,13 +10125,16 @@ export const rspackOptions: z.ZodObject<{ errorStack: z.ZodOptional; moduleTrace: z.ZodOptional; }, "strict", z.ZodTypeAny, { - hash?: boolean | undefined; - children?: boolean | undefined; runtime?: boolean | undefined; + colors?: boolean | undefined; modules?: boolean | undefined; + publicPath?: boolean | undefined; + all?: boolean | undefined; chunks?: boolean | undefined; - usedExports?: boolean | undefined; providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + performance?: boolean | undefined; + version?: boolean | undefined; optimizationBailout?: boolean | undefined; depth?: boolean | undefined; assets?: boolean | undefined; @@ -10139,15 +10142,12 @@ export const rspackOptions: z.ZodObject<{ errors?: boolean | undefined; warnings?: boolean | undefined; reasons?: boolean | undefined; - all?: boolean | undefined; - preset?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; entrypoints?: boolean | "auto" | undefined; chunkGroups?: boolean | undefined; warningsCount?: boolean | undefined; errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - publicPath?: boolean | undefined; + hash?: boolean | undefined; outputPath?: boolean | undefined; chunkModules?: boolean | undefined; chunkRelations?: boolean | undefined; @@ -10156,10 +10156,11 @@ export const rspackOptions: z.ZodObject<{ builtAt?: boolean | undefined; moduleAssets?: boolean | undefined; nestedModules?: boolean | undefined; - logging?: boolean | "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + logging?: boolean | "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; loggingTrace?: boolean | undefined; runtimeModules?: boolean | undefined; + children?: boolean | undefined; groupModulesByType?: boolean | undefined; groupModulesByCacheStatus?: boolean | undefined; groupModulesByLayer?: boolean | undefined; @@ -10184,7 +10185,6 @@ export const rspackOptions: z.ZodObject<{ nestedModulesSort?: string | undefined; chunksSort?: string | undefined; assetsSort?: string | undefined; - performance?: boolean | undefined; env?: boolean | undefined; chunkGroupAuxiliary?: boolean | undefined; chunkGroupChildren?: boolean | undefined; @@ -10197,13 +10197,16 @@ export const rspackOptions: z.ZodObject<{ errorStack?: boolean | undefined; moduleTrace?: boolean | undefined; }, { - hash?: boolean | undefined; - children?: boolean | undefined; runtime?: boolean | undefined; + colors?: boolean | undefined; modules?: boolean | undefined; + publicPath?: boolean | undefined; + all?: boolean | undefined; chunks?: boolean | undefined; - usedExports?: boolean | undefined; providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + performance?: boolean | undefined; + version?: boolean | undefined; optimizationBailout?: boolean | undefined; depth?: boolean | undefined; assets?: boolean | undefined; @@ -10211,15 +10214,12 @@ export const rspackOptions: z.ZodObject<{ errors?: boolean | undefined; warnings?: boolean | undefined; reasons?: boolean | undefined; - all?: boolean | undefined; - preset?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; entrypoints?: boolean | "auto" | undefined; chunkGroups?: boolean | undefined; warningsCount?: boolean | undefined; errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - publicPath?: boolean | undefined; + hash?: boolean | undefined; outputPath?: boolean | undefined; chunkModules?: boolean | undefined; chunkRelations?: boolean | undefined; @@ -10228,10 +10228,11 @@ export const rspackOptions: z.ZodObject<{ builtAt?: boolean | undefined; moduleAssets?: boolean | undefined; nestedModules?: boolean | undefined; - logging?: boolean | "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + logging?: boolean | "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; loggingTrace?: boolean | undefined; runtimeModules?: boolean | undefined; + children?: boolean | undefined; groupModulesByType?: boolean | undefined; groupModulesByCacheStatus?: boolean | undefined; groupModulesByLayer?: boolean | undefined; @@ -10256,7 +10257,6 @@ export const rspackOptions: z.ZodObject<{ nestedModulesSort?: string | undefined; chunksSort?: string | undefined; assetsSort?: string | undefined; - performance?: boolean | undefined; env?: boolean | undefined; chunkGroupAuxiliary?: boolean | undefined; chunkGroupChildren?: boolean | undefined; @@ -10305,34 +10305,34 @@ export const rspackOptions: z.ZodObject<{ idHint: z.ZodOptional; }, "strict", z.ZodTypeAny, { type?: string | RegExp | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; }, { type?: string | RegExp | undefined; - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -10348,15 +10348,15 @@ export const rspackOptions: z.ZodObject<{ maxInitialSize: z.ZodOptional; automaticNameDelimiter: z.ZodOptional; }, "strict", z.ZodTypeAny, { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; automaticNameDelimiter?: string | undefined; }, { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -10364,28 +10364,28 @@ export const rspackOptions: z.ZodObject<{ }>>; hidePathInfo: z.ZodOptional; }, "strict", z.ZodTypeAny, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -10394,8 +10394,8 @@ export const rspackOptions: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -10403,28 +10403,28 @@ export const rspackOptions: z.ZodObject<{ } | undefined; hidePathInfo?: boolean | undefined; }, { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -10433,8 +10433,8 @@ export const rspackOptions: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -10470,8 +10470,6 @@ export const rspackOptions: z.ZodObject<{ mangleExports: z.ZodOptional, z.ZodBoolean]>>; nodeEnv: z.ZodOptional]>>; }, "strict", z.ZodTypeAny, { - usedExports?: boolean | "global" | undefined; - providedExports?: boolean | undefined; sideEffects?: boolean | "flag" | undefined; moduleIds?: "named" | "natural" | "deterministic" | undefined; chunkIds?: "named" | "natural" | "deterministic" | undefined; @@ -10479,28 +10477,28 @@ export const rspackOptions: z.ZodObject<{ minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; mergeDuplicateChunks?: boolean | undefined; splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -10509,8 +10507,8 @@ export const rspackOptions: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -10526,13 +10524,13 @@ export const rspackOptions: z.ZodObject<{ removeAvailableModules?: boolean | undefined; removeEmptyChunks?: boolean | undefined; realContentHash?: boolean | undefined; + providedExports?: boolean | undefined; concatenateModules?: boolean | undefined; innerGraph?: boolean | undefined; - mangleExports?: boolean | "size" | "deterministic" | undefined; + usedExports?: boolean | "global" | undefined; + mangleExports?: boolean | "deterministic" | "size" | undefined; nodeEnv?: string | false | undefined; }, { - usedExports?: boolean | "global" | undefined; - providedExports?: boolean | undefined; sideEffects?: boolean | "flag" | undefined; moduleIds?: "named" | "natural" | "deterministic" | undefined; chunkIds?: "named" | "natural" | "deterministic" | undefined; @@ -10540,28 +10538,28 @@ export const rspackOptions: z.ZodObject<{ minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; mergeDuplicateChunks?: boolean | undefined; splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -10570,8 +10568,8 @@ export const rspackOptions: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -10587,9 +10585,11 @@ export const rspackOptions: z.ZodObject<{ removeAvailableModules?: boolean | undefined; removeEmptyChunks?: boolean | undefined; realContentHash?: boolean | undefined; + providedExports?: boolean | undefined; concatenateModules?: boolean | undefined; innerGraph?: boolean | undefined; - mangleExports?: boolean | "size" | "deterministic" | undefined; + usedExports?: boolean | "global" | undefined; + mangleExports?: boolean | "deterministic" | "size" | undefined; nodeEnv?: string | false | undefined; }>>; resolve: z.ZodOptional>; @@ -10656,13 +10656,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10670,13 +10670,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10699,13 +10699,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10713,13 +10713,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10742,13 +10742,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10756,13 +10756,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10785,13 +10785,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10799,26 +10799,26 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; }>>; }, "strict", z.ZodTypeAny, { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -10829,13 +10829,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10844,13 +10844,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10859,13 +10859,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10874,26 +10874,26 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; } | undefined; }, { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -10904,13 +10904,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10919,13 +10919,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10934,13 +10934,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10949,13 +10949,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -10976,38 +10976,38 @@ export const rspackOptions: z.ZodObject<{ content: z.ZodString; filename: z.ZodString; }, "strict", z.ZodTypeAny, { - filename: string; content: string; - }, { filename: string; + }, { content: string; + filename: string; }>], z.ZodUnknown>, z.ZodString>]>>; }, { emit: z.ZodOptional; filename: z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; }>, "strict", z.ZodTypeAny, { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; - }, { publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + }, { filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; }>>; "asset/inline": z.ZodOptional], z.ZodUnknown>, z.ZodString>]>>; }, "strict", z.ZodTypeAny, { dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; }, { dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; }>>; "asset/resource": z.ZodOptional, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>>; publicPath: z.ZodOptional, z.ZodUnion<[z.ZodString, z.ZodFunction, z.ZodOptional>], z.ZodUnknown>, z.ZodString>]>]>>; }, "strict", z.ZodTypeAny, { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; - }, { publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + }, { filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; }>>; css: z.ZodOptional; @@ -11102,21 +11102,21 @@ export const rspackOptions: z.ZodObject<{ localIdentName?: string | undefined; }>>; }, "strict", z.ZodTypeAny, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -11135,31 +11135,31 @@ export const rspackOptions: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; }, { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -11178,27 +11178,27 @@ export const rspackOptions: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; }>, z.ZodRecord>]>>; noParse: z.ZodOptional]>, z.ZodFunction, z.ZodBoolean>]>, z.ZodArray]>, z.ZodFunction, z.ZodBoolean>]>, "many">]>>; }, "strict", z.ZodTypeAny, { parser?: { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -11209,13 +11209,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -11224,13 +11224,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -11239,13 +11239,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -11254,34 +11254,34 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; } | undefined; } | Record> | undefined; generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -11300,29 +11300,29 @@ export const rspackOptions: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; } | undefined; - rules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; }, { parser?: { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -11333,13 +11333,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -11348,13 +11348,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -11363,13 +11363,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -11378,34 +11378,34 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; } | undefined; } | Record> | undefined; generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -11424,18 +11424,18 @@ export const rspackOptions: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; } | undefined; - rules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; }>>; profile: z.ZodOptional; @@ -11457,107 +11457,204 @@ export const rspackOptions: z.ZodObject<{ maxEntrypointSize?: number | undefined; }>, z.ZodLiteral]>>; }, "strict", z.ZodTypeAny, { + loader?: Record | undefined; + resolve?: ResolveOptions | undefined; context?: string | undefined; entry?: string | string[] | Record string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }> | ((...args: unknown[]) => string | string[] | Record string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }> | Promise string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>>) | undefined; + node?: false | { + __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + global?: boolean | "warn" | undefined; + } | undefined; name?: string | undefined; - profile?: boolean | undefined; - performance?: false | { - assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; - hints?: false | "error" | "warning" | undefined; - maxAssetSize?: number | undefined; - maxEntrypointSize?: number | undefined; + mode?: "none" | "development" | "production" | undefined; + dependencies?: string[] | undefined; + output?: { + path?: string | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + environment?: { + module?: boolean | undefined; + globalThis?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; + destructuring?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; + } | undefined; + module?: boolean | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + library?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | { + type: string; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + uniqueName?: string | undefined; + pathinfo?: boolean | "verbose" | undefined; + clean?: boolean | undefined; + chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; + cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + cssChunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + hotUpdateMainFilename?: string | undefined; + hotUpdateChunkFilename?: string | undefined; + hotUpdateGlobal?: string | undefined; + assetModuleFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + chunkLoadingGlobal?: string | undefined; + enabledLibraryTypes?: string[] | undefined; + strictModuleErrorHandling?: boolean | undefined; + globalObject?: string | undefined; + importFunctionName?: string | undefined; + iife?: boolean | undefined; + wasmLoading?: string | false | undefined; + enabledWasmLoadingTypes?: string[] | undefined; + webassemblyModuleFilename?: string | undefined; + chunkFormat?: string | false | undefined; + enabledChunkLoadingTypes?: string[] | undefined; + trustedTypes?: string | true | { + policyName?: string | undefined; + } | undefined; + sourceMapFilename?: string | undefined; + hashDigest?: string | undefined; + hashDigestLength?: number | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; + hashSalt?: string | undefined; + workerChunkLoading?: string | false | undefined; + workerWasmLoading?: string | false | undefined; + workerPublicPath?: string | undefined; + scriptType?: false | "module" | "text/javascript" | undefined; + devtoolNamespace?: string | undefined; + devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; + devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; + charset?: boolean | undefined; + chunkLoadTimeout?: number | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; } | undefined; + resolveLoader?: ResolveOptions | undefined; module?: { parser?: { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -11568,13 +11665,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -11583,13 +11680,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -11598,13 +11695,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -11613,34 +11710,34 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; } | undefined; } | Record> | undefined; generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + } | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; "css/auto"?: { exportsOnly?: boolean | undefined; @@ -11659,144 +11756,21 @@ export const rspackOptions: z.ZodObject<{ mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; + filename: string; }, ...args_1: unknown[]) => string) | undefined; } | undefined; "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; } | undefined; - rules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; } | undefined; - node?: false | { - global?: boolean | "warn" | undefined; - __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; - __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; - } | undefined; - cache?: boolean | undefined; - loader?: Record | undefined; - resolve?: ResolveOptions | undefined; - dependencies?: string[] | undefined; - output?: { - path?: string | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - module?: boolean | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - library?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - pathinfo?: boolean | "verbose" | undefined; - clean?: boolean | undefined; - chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; - cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - cssChunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - hotUpdateMainFilename?: string | undefined; - hotUpdateChunkFilename?: string | undefined; - hotUpdateGlobal?: string | undefined; - assetModuleFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; - chunkLoadingGlobal?: string | undefined; - enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; - strictModuleErrorHandling?: boolean | undefined; - globalObject?: string | undefined; - importFunctionName?: string | undefined; - iife?: boolean | undefined; - enabledWasmLoadingTypes?: string[] | undefined; - webassemblyModuleFilename?: string | undefined; - chunkFormat?: string | false | undefined; - enabledChunkLoadingTypes?: string[] | undefined; - trustedTypes?: string | true | { - policyName?: string | undefined; - } | undefined; - sourceMapFilename?: string | undefined; - hashDigest?: string | undefined; - hashDigestLength?: number | undefined; - hashFunction?: "md4" | "xxhash64" | undefined; - hashSalt?: string | undefined; - workerChunkLoading?: string | false | undefined; - workerWasmLoading?: string | false | undefined; - workerPublicPath?: string | undefined; - scriptType?: false | "module" | "text/javascript" | undefined; - devtoolNamespace?: string | undefined; - devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; - devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; - chunkLoadTimeout?: number | undefined; - charset?: boolean | undefined; - environment?: { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - } | undefined; - } | undefined; - target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}`)[] | undefined; - mode?: "development" | "none" | "production" | undefined; - experiments?: { - css?: boolean | undefined; - lazyCompilation?: boolean | { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - imports?: boolean | undefined; - } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; - topLevelAwait?: boolean | undefined; - futureDefaults?: boolean | undefined; - rspackFuture?: { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; - } | undefined; - } | undefined; - } | undefined; + target?: false | "node" | "web" | "nwjs" | "browserslist" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | ("node" | "web" | "nwjs" | "browserslist" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}`)[] | undefined; externals?: string | RegExp | Record> | ((args_0: { context?: string | undefined; dependencyType?: string | undefined; @@ -11804,7 +11778,7 @@ export const rspackOptions: z.ZodObject<{ contextInfo?: { issuer: string; } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { context?: string | undefined; dependencyType?: string | undefined; request?: string | undefined; @@ -11818,7 +11792,7 @@ export const rspackOptions: z.ZodObject<{ contextInfo?: { issuer: string; } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { context?: string | undefined; dependencyType?: string | undefined; request?: string | undefined; @@ -11826,43 +11800,39 @@ export const rspackOptions: z.ZodObject<{ issuer: string; } | undefined; }, ...args_1: unknown[]) => Promise>))[] | undefined; - externalsType?: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined; + externalsType?: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined; externalsPresets?: { node?: boolean | undefined; web?: boolean | undefined; - nwjs?: boolean | undefined; webAsync?: boolean | undefined; electron?: boolean | undefined; electronMain?: boolean | undefined; electronPreload?: boolean | undefined; electronRenderer?: boolean | undefined; + nwjs?: boolean | undefined; } | undefined; infrastructureLogging?: { - colors?: boolean | undefined; - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; appendOnly?: boolean | undefined; + colors?: boolean | undefined; console?: Console | undefined; - level?: "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + level?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; stream?: NodeJS.WritableStream | undefined; } | undefined; devtool?: false | "eval" | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined; - ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args_2: unknown[]) => boolean))[] | undefined; - watchOptions?: { - aggregateTimeout?: number | undefined; - followSymlinks?: boolean | undefined; - ignored?: string | RegExp | string[] | undefined; - poll?: number | boolean | undefined; - stdin?: boolean | undefined; - } | undefined; - watch?: boolean | undefined; - stats?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | { - hash?: boolean | undefined; - children?: boolean | undefined; + snapshot?: {} | undefined; + cache?: boolean | undefined; + stats?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | { runtime?: boolean | undefined; + colors?: boolean | undefined; modules?: boolean | undefined; + publicPath?: boolean | undefined; + all?: boolean | undefined; chunks?: boolean | undefined; - usedExports?: boolean | undefined; providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + performance?: boolean | undefined; + version?: boolean | undefined; optimizationBailout?: boolean | undefined; depth?: boolean | undefined; assets?: boolean | undefined; @@ -11870,15 +11840,12 @@ export const rspackOptions: z.ZodObject<{ errors?: boolean | undefined; warnings?: boolean | undefined; reasons?: boolean | undefined; - all?: boolean | undefined; - preset?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; entrypoints?: boolean | "auto" | undefined; chunkGroups?: boolean | undefined; warningsCount?: boolean | undefined; errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - publicPath?: boolean | undefined; + hash?: boolean | undefined; outputPath?: boolean | undefined; chunkModules?: boolean | undefined; chunkRelations?: boolean | undefined; @@ -11887,10 +11854,11 @@ export const rspackOptions: z.ZodObject<{ builtAt?: boolean | undefined; moduleAssets?: boolean | undefined; nestedModules?: boolean | undefined; - logging?: boolean | "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + logging?: boolean | "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; loggingTrace?: boolean | undefined; runtimeModules?: boolean | undefined; + children?: boolean | undefined; groupModulesByType?: boolean | undefined; groupModulesByCacheStatus?: boolean | undefined; groupModulesByLayer?: boolean | undefined; @@ -11915,7 +11883,6 @@ export const rspackOptions: z.ZodObject<{ nestedModulesSort?: string | undefined; chunksSort?: string | undefined; assetsSort?: string | undefined; - performance?: boolean | undefined; env?: boolean | undefined; chunkGroupAuxiliary?: boolean | undefined; chunkGroupChildren?: boolean | undefined; @@ -11928,10 +11895,7 @@ export const rspackOptions: z.ZodObject<{ errorStack?: boolean | undefined; moduleTrace?: boolean | undefined; } | undefined; - snapshot?: {} | undefined; optimization?: { - usedExports?: boolean | "global" | undefined; - providedExports?: boolean | undefined; sideEffects?: boolean | "flag" | undefined; moduleIds?: "named" | "natural" | "deterministic" | undefined; chunkIds?: "named" | "natural" | "deterministic" | undefined; @@ -11939,28 +11903,28 @@ export const rspackOptions: z.ZodObject<{ minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; mergeDuplicateChunks?: boolean | undefined; splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -11969,8 +11933,8 @@ export const rspackOptions: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -11986,117 +11950,250 @@ export const rspackOptions: z.ZodObject<{ removeAvailableModules?: boolean | undefined; removeEmptyChunks?: boolean | undefined; realContentHash?: boolean | undefined; + providedExports?: boolean | undefined; concatenateModules?: boolean | undefined; innerGraph?: boolean | undefined; - mangleExports?: boolean | "size" | "deterministic" | undefined; + usedExports?: boolean | "global" | undefined; + mangleExports?: boolean | "deterministic" | "size" | undefined; nodeEnv?: string | false | undefined; } | undefined; - resolveLoader?: ResolveOptions | undefined; plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; + experiments?: { + css?: boolean | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + futureDefaults?: boolean | undefined; + lazyCompilation?: boolean | { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + imports?: boolean | undefined; + } | undefined; + topLevelAwait?: boolean | undefined; + rspackFuture?: { + bundlerInfo?: { + version?: string | undefined; + bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; + } | undefined; + } | undefined; + } | undefined; + watch?: boolean | undefined; + watchOptions?: { + aggregateTimeout?: number | undefined; + followSymlinks?: boolean | undefined; + ignored?: string | RegExp | string[] | undefined; + poll?: number | boolean | undefined; + stdin?: boolean | undefined; + } | undefined; devServer?: DevServer | undefined; + ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args_2: unknown[]) => boolean))[] | undefined; + performance?: false | { + assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; + hints?: false | "error" | "warning" | undefined; + maxAssetSize?: number | undefined; + maxEntrypointSize?: number | undefined; + } | undefined; + profile?: boolean | undefined; bail?: boolean | undefined; }, { + loader?: Record | undefined; + resolve?: ResolveOptions | undefined; context?: string | undefined; entry?: string | string[] | Record string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }> | ((...args: unknown[]) => string | string[] | Record string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }> | Promise string) | undefined; - baseUri?: string | undefined; chunkLoading?: string | false | undefined; asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | undefined; + baseUri?: string | undefined; library?: { type: string; name?: string | string[] | { - commonjs?: string | undefined; amd?: string | undefined; + commonjs?: string | undefined; root?: string | string[] | undefined; } | undefined; amdContainer?: string | undefined; auxiliaryComment?: string | { - commonjs?: string | undefined; amd?: string | undefined; - root?: string | undefined; + commonjs?: string | undefined; commonjs2?: string | undefined; + root?: string | undefined; } | undefined; export?: string | string[] | undefined; umdNamedDefine?: boolean | undefined; } | undefined; dependOn?: string | string[] | undefined; + wasmLoading?: string | false | undefined; }>>) | undefined; + node?: false | { + __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; + global?: boolean | "warn" | undefined; + } | undefined; name?: string | undefined; - profile?: boolean | undefined; - performance?: false | { - assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; - hints?: false | "error" | "warning" | undefined; - maxAssetSize?: number | undefined; - maxEntrypointSize?: number | undefined; + mode?: "none" | "development" | "production" | undefined; + dependencies?: string[] | undefined; + output?: { + path?: string | undefined; + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + environment?: { + module?: boolean | undefined; + globalThis?: boolean | undefined; + bigIntLiteral?: boolean | undefined; + const?: boolean | undefined; + arrowFunction?: boolean | undefined; + forOf?: boolean | undefined; + destructuring?: boolean | undefined; + dynamicImport?: boolean | undefined; + dynamicImportInWorker?: boolean | undefined; + optionalChaining?: boolean | undefined; + templateLiteral?: boolean | undefined; + asyncFunction?: boolean | undefined; + nodePrefixForCoreModules?: boolean | undefined; + document?: boolean | undefined; + } | undefined; + module?: boolean | undefined; + chunkLoading?: string | false | undefined; + asyncChunks?: boolean | undefined; + library?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | { + type: string; + name?: string | string[] | { + amd?: string | undefined; + commonjs?: string | undefined; + root?: string | string[] | undefined; + } | undefined; + amdContainer?: string | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + export?: string | string[] | undefined; + umdNamedDefine?: boolean | undefined; + } | undefined; + auxiliaryComment?: string | { + amd?: string | undefined; + commonjs?: string | undefined; + commonjs2?: string | undefined; + root?: string | undefined; + } | undefined; + umdNamedDefine?: boolean | undefined; + uniqueName?: string | undefined; + pathinfo?: boolean | "verbose" | undefined; + clean?: boolean | undefined; + chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; + cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + cssChunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + hotUpdateMainFilename?: string | undefined; + hotUpdateChunkFilename?: string | undefined; + hotUpdateGlobal?: string | undefined; + assetModuleFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + chunkLoadingGlobal?: string | undefined; + enabledLibraryTypes?: string[] | undefined; + strictModuleErrorHandling?: boolean | undefined; + globalObject?: string | undefined; + importFunctionName?: string | undefined; + iife?: boolean | undefined; + wasmLoading?: string | false | undefined; + enabledWasmLoadingTypes?: string[] | undefined; + webassemblyModuleFilename?: string | undefined; + chunkFormat?: string | false | undefined; + enabledChunkLoadingTypes?: string[] | undefined; + trustedTypes?: string | true | { + policyName?: string | undefined; + } | undefined; + sourceMapFilename?: string | undefined; + hashDigest?: string | undefined; + hashDigestLength?: number | undefined; + hashFunction?: "xxhash64" | "md4" | undefined; + hashSalt?: string | undefined; + workerChunkLoading?: string | false | undefined; + workerWasmLoading?: string | false | undefined; + workerPublicPath?: string | undefined; + scriptType?: false | "module" | "text/javascript" | undefined; + devtoolNamespace?: string | undefined; + devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; + devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; + charset?: boolean | undefined; + chunkLoadTimeout?: number | undefined; + libraryExport?: string | string[] | undefined; + libraryTarget?: string | undefined; + strictModuleExceptionHandling?: boolean | undefined; } | undefined; + resolveLoader?: ResolveOptions | undefined; module?: { parser?: { - css?: { - namedExports?: boolean | undefined; - } | undefined; asset?: { dataUrlCondition?: { maxSize?: number | undefined; } | undefined; } | undefined; + css?: { + namedExports?: boolean | undefined; + } | undefined; "css/auto"?: { namedExports?: boolean | undefined; } | undefined; @@ -12107,13 +12204,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -12122,13 +12219,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -12137,13 +12234,13 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; @@ -12152,190 +12249,67 @@ export const rspackOptions: z.ZodObject<{ dynamicImportMode?: "eager" | "lazy" | "weak" | "lazy-once" | undefined; dynamicImportPreload?: number | boolean | undefined; dynamicImportPrefetch?: number | boolean | undefined; - dynamicImportFetchPriority?: "auto" | "low" | "high" | undefined; + dynamicImportFetchPriority?: "low" | "high" | "auto" | undefined; url?: boolean | "relative" | undefined; exprContextCritical?: boolean | undefined; wrappedContextCritical?: boolean | undefined; - exportsPresence?: false | "auto" | "error" | "warn" | undefined; - importExportsPresence?: false | "auto" | "error" | "warn" | undefined; - reexportExportsPresence?: false | "auto" | "error" | "warn" | undefined; + exportsPresence?: false | "error" | "warn" | "auto" | undefined; + importExportsPresence?: false | "error" | "warn" | "auto" | undefined; + reexportExportsPresence?: false | "error" | "warn" | "auto" | undefined; strictExportPresence?: boolean | undefined; worker?: boolean | string[] | undefined; overrideStrict?: "strict" | "non-strict" | undefined; } | undefined; } | Record> | undefined; generator?: Record> | { - css?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - } | undefined; asset?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; dataUrl?: { mimetype?: string | undefined; encoding?: false | "base64" | undefined; } | ((args_0: { - filename: string; content: string; - }, ...args_1: unknown[]) => string) | undefined; - emit?: boolean | undefined; - } | undefined; - "css/auto"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "css/module"?: { - exportsOnly?: boolean | undefined; - esModule?: boolean | undefined; - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; - localIdentName?: string | undefined; - } | undefined; - "asset/inline"?: { - dataUrl?: { - mimetype?: string | undefined; - encoding?: false | "base64" | undefined; - } | ((args_0: { filename: string; - content: string; }, ...args_1: unknown[]) => string) | undefined; - } | undefined; - "asset/resource"?: { - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; - } | undefined; - rules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; - defaultRules?: (false | "" | 0 | RuleSetRule | "..." | null | undefined)[] | undefined; - noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; - } | undefined; - node?: false | { - global?: boolean | "warn" | undefined; - __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; - __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined; - } | undefined; - cache?: boolean | undefined; - loader?: Record | undefined; - resolve?: ResolveOptions | undefined; - dependencies?: string[] | undefined; - output?: { - path?: string | undefined; - publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - module?: boolean | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; - } | undefined; - umdNamedDefine?: boolean | undefined; - chunkLoading?: string | false | undefined; - asyncChunks?: boolean | undefined; - wasmLoading?: string | false | undefined; - filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - library?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | { - type: string; - name?: string | string[] | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | string[] | undefined; - } | undefined; - amdContainer?: string | undefined; - auxiliaryComment?: string | { - commonjs?: string | undefined; - amd?: string | undefined; - root?: string | undefined; - commonjs2?: string | undefined; + css?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; } | undefined; - export?: string | string[] | undefined; - umdNamedDefine?: boolean | undefined; - } | undefined; - pathinfo?: boolean | "verbose" | undefined; - clean?: boolean | undefined; - chunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined; - cssFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - cssChunkFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - hotUpdateMainFilename?: string | undefined; - hotUpdateChunkFilename?: string | undefined; - hotUpdateGlobal?: string | undefined; - assetModuleFilename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; - uniqueName?: string | undefined; - chunkLoadingGlobal?: string | undefined; - enabledLibraryTypes?: string[] | undefined; - libraryExport?: string | string[] | undefined; - libraryTarget?: string | undefined; - strictModuleExceptionHandling?: boolean | undefined; - strictModuleErrorHandling?: boolean | undefined; - globalObject?: string | undefined; - importFunctionName?: string | undefined; - iife?: boolean | undefined; - enabledWasmLoadingTypes?: string[] | undefined; - webassemblyModuleFilename?: string | undefined; - chunkFormat?: string | false | undefined; - enabledChunkLoadingTypes?: string[] | undefined; - trustedTypes?: string | true | { - policyName?: string | undefined; - } | undefined; - sourceMapFilename?: string | undefined; - hashDigest?: string | undefined; - hashDigestLength?: number | undefined; - hashFunction?: "md4" | "xxhash64" | undefined; - hashSalt?: string | undefined; - workerChunkLoading?: string | false | undefined; - workerWasmLoading?: string | false | undefined; - workerPublicPath?: string | undefined; - scriptType?: false | "module" | "text/javascript" | undefined; - devtoolNamespace?: string | undefined; - devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; - devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined; - chunkLoadTimeout?: number | undefined; - charset?: boolean | undefined; - environment?: { - module?: boolean | undefined; - arrowFunction?: boolean | undefined; - asyncFunction?: boolean | undefined; - bigIntLiteral?: boolean | undefined; - const?: boolean | undefined; - destructuring?: boolean | undefined; - document?: boolean | undefined; - dynamicImport?: boolean | undefined; - dynamicImportInWorker?: boolean | undefined; - forOf?: boolean | undefined; - globalThis?: boolean | undefined; - nodePrefixForCoreModules?: boolean | undefined; - optionalChaining?: boolean | undefined; - templateLiteral?: boolean | undefined; - } | undefined; - } | undefined; - target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}`)[] | undefined; - mode?: "development" | "none" | "production" | undefined; - experiments?: { - css?: boolean | undefined; - lazyCompilation?: boolean | { - entries?: boolean | undefined; - test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; - imports?: boolean | undefined; - } | undefined; - asyncWebAssembly?: boolean | undefined; - outputModule?: boolean | undefined; - topLevelAwait?: boolean | undefined; - futureDefaults?: boolean | undefined; - rspackFuture?: { - bundlerInfo?: { - force?: boolean | ("version" | "uniqueId")[] | undefined; - version?: string | undefined; - bundler?: string | undefined; + "css/auto"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "css/module"?: { + exportsOnly?: boolean | undefined; + esModule?: boolean | undefined; + exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined; + localIdentName?: string | undefined; + } | undefined; + "asset/inline"?: { + dataUrl?: { + mimetype?: string | undefined; + encoding?: false | "base64" | undefined; + } | ((args_0: { + content: string; + filename: string; + }, ...args_1: unknown[]) => string) | undefined; + } | undefined; + "asset/resource"?: { + filename?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; + emit?: boolean | undefined; + publicPath?: string | ((args_0: JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined; } | undefined; } | undefined; + defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined; + noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; } | undefined; + target?: false | "node" | "web" | "nwjs" | "browserslist" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | ("node" | "web" | "nwjs" | "browserslist" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}`)[] | undefined; externals?: string | RegExp | Record> | ((args_0: { context?: string | undefined; dependencyType?: string | undefined; @@ -12343,7 +12317,7 @@ export const rspackOptions: z.ZodObject<{ contextInfo?: { issuer: string; } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { context?: string | undefined; dependencyType?: string | undefined; request?: string | undefined; @@ -12357,7 +12331,7 @@ export const rspackOptions: z.ZodObject<{ contextInfo?: { issuer: string; } | undefined; - }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { + }, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record | undefined, args_2: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: { context?: string | undefined; dependencyType?: string | undefined; request?: string | undefined; @@ -12365,43 +12339,39 @@ export const rspackOptions: z.ZodObject<{ issuer: string; } | undefined; }, ...args_1: unknown[]) => Promise>))[] | undefined; - externalsType?: "promise" | "module" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined; + externalsType?: "promise" | "global" | "module" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined; externalsPresets?: { node?: boolean | undefined; web?: boolean | undefined; - nwjs?: boolean | undefined; webAsync?: boolean | undefined; electron?: boolean | undefined; electronMain?: boolean | undefined; electronPreload?: boolean | undefined; electronRenderer?: boolean | undefined; + nwjs?: boolean | undefined; } | undefined; infrastructureLogging?: { - colors?: boolean | undefined; - debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; appendOnly?: boolean | undefined; + colors?: boolean | undefined; console?: Console | undefined; - level?: "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; + level?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; stream?: NodeJS.WritableStream | undefined; } | undefined; devtool?: false | "eval" | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined; - ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args_2: unknown[]) => boolean))[] | undefined; - watchOptions?: { - aggregateTimeout?: number | undefined; - followSymlinks?: boolean | undefined; - ignored?: string | RegExp | string[] | undefined; - poll?: number | boolean | undefined; - stdin?: boolean | undefined; - } | undefined; - watch?: boolean | undefined; - stats?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | { - hash?: boolean | undefined; - children?: boolean | undefined; + snapshot?: {} | undefined; + cache?: boolean | undefined; + stats?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | { runtime?: boolean | undefined; + colors?: boolean | undefined; modules?: boolean | undefined; + publicPath?: boolean | undefined; + all?: boolean | undefined; chunks?: boolean | undefined; - usedExports?: boolean | undefined; providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + performance?: boolean | undefined; + version?: boolean | undefined; optimizationBailout?: boolean | undefined; depth?: boolean | undefined; assets?: boolean | undefined; @@ -12409,15 +12379,12 @@ export const rspackOptions: z.ZodObject<{ errors?: boolean | undefined; warnings?: boolean | undefined; reasons?: boolean | undefined; - all?: boolean | undefined; - preset?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; entrypoints?: boolean | "auto" | undefined; chunkGroups?: boolean | undefined; warningsCount?: boolean | undefined; errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - publicPath?: boolean | undefined; + hash?: boolean | undefined; outputPath?: boolean | undefined; chunkModules?: boolean | undefined; chunkRelations?: boolean | undefined; @@ -12426,10 +12393,11 @@ export const rspackOptions: z.ZodObject<{ builtAt?: boolean | undefined; moduleAssets?: boolean | undefined; nestedModules?: boolean | undefined; - logging?: boolean | "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + logging?: boolean | "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; loggingTrace?: boolean | undefined; runtimeModules?: boolean | undefined; + children?: boolean | undefined; groupModulesByType?: boolean | undefined; groupModulesByCacheStatus?: boolean | undefined; groupModulesByLayer?: boolean | undefined; @@ -12454,7 +12422,6 @@ export const rspackOptions: z.ZodObject<{ nestedModulesSort?: string | undefined; chunksSort?: string | undefined; assetsSort?: string | undefined; - performance?: boolean | undefined; env?: boolean | undefined; chunkGroupAuxiliary?: boolean | undefined; chunkGroupChildren?: boolean | undefined; @@ -12467,10 +12434,7 @@ export const rspackOptions: z.ZodObject<{ errorStack?: boolean | undefined; moduleTrace?: boolean | undefined; } | undefined; - snapshot?: {} | undefined; optimization?: { - usedExports?: boolean | "global" | undefined; - providedExports?: boolean | undefined; sideEffects?: boolean | "flag" | undefined; moduleIds?: "named" | "natural" | "deterministic" | undefined; chunkIds?: "named" | "natural" | "deterministic" | undefined; @@ -12478,28 +12442,28 @@ export const rspackOptions: z.ZodObject<{ minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; mergeDuplicateChunks?: boolean | undefined; splitChunks?: false | { - name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | Record | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; automaticNameDelimiter?: string | undefined; cacheGroups?: Record unknown) | undefined; - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; - filename?: string | undefined; test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined; enforce?: boolean | undefined; maxSize?: number | Record | undefined; + filename?: string | undefined; priority?: number | undefined; reuseExistingChunk?: boolean | undefined; idHint?: string | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; defaultSizeTypes?: string[] | undefined; minChunks?: number | undefined; + name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined; minSize?: number | Record | undefined; maxAsyncSize?: number | Record | undefined; maxInitialSize?: number | Record | undefined; @@ -12508,8 +12472,8 @@ export const rspackOptions: z.ZodObject<{ maxAsyncRequests?: number | undefined; maxInitialRequests?: number | undefined; fallbackCacheGroup?: { - chunks?: RegExp | "initial" | "all" | "async" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; maxSize?: number | undefined; + chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined; minSize?: number | undefined; maxAsyncSize?: number | undefined; maxInitialSize?: number | undefined; @@ -12525,14 +12489,50 @@ export const rspackOptions: z.ZodObject<{ removeAvailableModules?: boolean | undefined; removeEmptyChunks?: boolean | undefined; realContentHash?: boolean | undefined; + providedExports?: boolean | undefined; concatenateModules?: boolean | undefined; innerGraph?: boolean | undefined; - mangleExports?: boolean | "size" | "deterministic" | undefined; + usedExports?: boolean | "global" | undefined; + mangleExports?: boolean | "deterministic" | "size" | undefined; nodeEnv?: string | false | undefined; } | undefined; - resolveLoader?: ResolveOptions | undefined; plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined; + experiments?: { + css?: boolean | undefined; + asyncWebAssembly?: boolean | undefined; + outputModule?: boolean | undefined; + futureDefaults?: boolean | undefined; + lazyCompilation?: boolean | { + entries?: boolean | undefined; + test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined; + imports?: boolean | undefined; + } | undefined; + topLevelAwait?: boolean | undefined; + rspackFuture?: { + bundlerInfo?: { + version?: string | undefined; + bundler?: string | undefined; + force?: boolean | ("version" | "uniqueId")[] | undefined; + } | undefined; + } | undefined; + } | undefined; + watch?: boolean | undefined; + watchOptions?: { + aggregateTimeout?: number | undefined; + followSymlinks?: boolean | undefined; + ignored?: string | RegExp | string[] | undefined; + poll?: number | boolean | undefined; + stdin?: boolean | undefined; + } | undefined; devServer?: DevServer | undefined; + ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args_2: unknown[]) => boolean))[] | undefined; + performance?: false | { + assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined; + hints?: false | "error" | "warning" | undefined; + maxAssetSize?: number | undefined; + maxEntrypointSize?: number | undefined; + } | undefined; + profile?: boolean | undefined; bail?: boolean | undefined; }>; @@ -12757,7 +12757,7 @@ const RuntimeChunkPlugin: { new (options: RawRuntimeChunkOptions): { name: BuiltinPluginName; _args: [options: RawRuntimeChunkOptions]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -12970,7 +12970,7 @@ export const SourceMapDevToolPlugin: { new (options: SourceMapDevToolPluginOptions): { name: BuiltinPluginName; _args: [options: SourceMapDevToolPluginOptions]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -13150,13 +13150,16 @@ const statsOptions: z.ZodObject<{ errorStack: z.ZodOptional; moduleTrace: z.ZodOptional; }, "strict", z.ZodTypeAny, { - hash?: boolean | undefined; - children?: boolean | undefined; runtime?: boolean | undefined; + colors?: boolean | undefined; modules?: boolean | undefined; + publicPath?: boolean | undefined; + all?: boolean | undefined; chunks?: boolean | undefined; - usedExports?: boolean | undefined; providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + performance?: boolean | undefined; + version?: boolean | undefined; optimizationBailout?: boolean | undefined; depth?: boolean | undefined; assets?: boolean | undefined; @@ -13164,15 +13167,12 @@ const statsOptions: z.ZodObject<{ errors?: boolean | undefined; warnings?: boolean | undefined; reasons?: boolean | undefined; - all?: boolean | undefined; - preset?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; entrypoints?: boolean | "auto" | undefined; chunkGroups?: boolean | undefined; warningsCount?: boolean | undefined; errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - publicPath?: boolean | undefined; + hash?: boolean | undefined; outputPath?: boolean | undefined; chunkModules?: boolean | undefined; chunkRelations?: boolean | undefined; @@ -13181,10 +13181,11 @@ const statsOptions: z.ZodObject<{ builtAt?: boolean | undefined; moduleAssets?: boolean | undefined; nestedModules?: boolean | undefined; - logging?: boolean | "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + logging?: boolean | "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; loggingTrace?: boolean | undefined; runtimeModules?: boolean | undefined; + children?: boolean | undefined; groupModulesByType?: boolean | undefined; groupModulesByCacheStatus?: boolean | undefined; groupModulesByLayer?: boolean | undefined; @@ -13209,7 +13210,6 @@ const statsOptions: z.ZodObject<{ nestedModulesSort?: string | undefined; chunksSort?: string | undefined; assetsSort?: string | undefined; - performance?: boolean | undefined; env?: boolean | undefined; chunkGroupAuxiliary?: boolean | undefined; chunkGroupChildren?: boolean | undefined; @@ -13222,13 +13222,16 @@ const statsOptions: z.ZodObject<{ errorStack?: boolean | undefined; moduleTrace?: boolean | undefined; }, { - hash?: boolean | undefined; - children?: boolean | undefined; runtime?: boolean | undefined; + colors?: boolean | undefined; modules?: boolean | undefined; + publicPath?: boolean | undefined; + all?: boolean | undefined; chunks?: boolean | undefined; - usedExports?: boolean | undefined; providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + performance?: boolean | undefined; + version?: boolean | undefined; optimizationBailout?: boolean | undefined; depth?: boolean | undefined; assets?: boolean | undefined; @@ -13236,15 +13239,12 @@ const statsOptions: z.ZodObject<{ errors?: boolean | undefined; warnings?: boolean | undefined; reasons?: boolean | undefined; - all?: boolean | undefined; - preset?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; entrypoints?: boolean | "auto" | undefined; chunkGroups?: boolean | undefined; warningsCount?: boolean | undefined; errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - publicPath?: boolean | undefined; + hash?: boolean | undefined; outputPath?: boolean | undefined; chunkModules?: boolean | undefined; chunkRelations?: boolean | undefined; @@ -13253,10 +13253,11 @@ const statsOptions: z.ZodObject<{ builtAt?: boolean | undefined; moduleAssets?: boolean | undefined; nestedModules?: boolean | undefined; - logging?: boolean | "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + logging?: boolean | "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; loggingTrace?: boolean | undefined; runtimeModules?: boolean | undefined; + children?: boolean | undefined; groupModulesByType?: boolean | undefined; groupModulesByCacheStatus?: boolean | undefined; groupModulesByLayer?: boolean | undefined; @@ -13281,7 +13282,6 @@ const statsOptions: z.ZodObject<{ nestedModulesSort?: string | undefined; chunksSort?: string | undefined; assetsSort?: string | undefined; - performance?: boolean | undefined; env?: boolean | undefined; chunkGroupAuxiliary?: boolean | undefined; chunkGroupChildren?: boolean | undefined; @@ -13399,13 +13399,16 @@ const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "no errorStack: z.ZodOptional; moduleTrace: z.ZodOptional; }, "strict", z.ZodTypeAny, { - hash?: boolean | undefined; - children?: boolean | undefined; runtime?: boolean | undefined; + colors?: boolean | undefined; modules?: boolean | undefined; + publicPath?: boolean | undefined; + all?: boolean | undefined; chunks?: boolean | undefined; - usedExports?: boolean | undefined; providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + performance?: boolean | undefined; + version?: boolean | undefined; optimizationBailout?: boolean | undefined; depth?: boolean | undefined; assets?: boolean | undefined; @@ -13413,15 +13416,12 @@ const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "no errors?: boolean | undefined; warnings?: boolean | undefined; reasons?: boolean | undefined; - all?: boolean | undefined; - preset?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; entrypoints?: boolean | "auto" | undefined; chunkGroups?: boolean | undefined; warningsCount?: boolean | undefined; errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - publicPath?: boolean | undefined; + hash?: boolean | undefined; outputPath?: boolean | undefined; chunkModules?: boolean | undefined; chunkRelations?: boolean | undefined; @@ -13430,10 +13430,11 @@ const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "no builtAt?: boolean | undefined; moduleAssets?: boolean | undefined; nestedModules?: boolean | undefined; - logging?: boolean | "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + logging?: boolean | "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; loggingTrace?: boolean | undefined; runtimeModules?: boolean | undefined; + children?: boolean | undefined; groupModulesByType?: boolean | undefined; groupModulesByCacheStatus?: boolean | undefined; groupModulesByLayer?: boolean | undefined; @@ -13458,7 +13459,6 @@ const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "no nestedModulesSort?: string | undefined; chunksSort?: string | undefined; assetsSort?: string | undefined; - performance?: boolean | undefined; env?: boolean | undefined; chunkGroupAuxiliary?: boolean | undefined; chunkGroupChildren?: boolean | undefined; @@ -13471,13 +13471,16 @@ const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "no errorStack?: boolean | undefined; moduleTrace?: boolean | undefined; }, { - hash?: boolean | undefined; - children?: boolean | undefined; runtime?: boolean | undefined; + colors?: boolean | undefined; modules?: boolean | undefined; + publicPath?: boolean | undefined; + all?: boolean | undefined; chunks?: boolean | undefined; - usedExports?: boolean | undefined; providedExports?: boolean | undefined; + usedExports?: boolean | undefined; + performance?: boolean | undefined; + version?: boolean | undefined; optimizationBailout?: boolean | undefined; depth?: boolean | undefined; assets?: boolean | undefined; @@ -13485,15 +13488,12 @@ const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "no errors?: boolean | undefined; warnings?: boolean | undefined; reasons?: boolean | undefined; - all?: boolean | undefined; - preset?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; + preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined; entrypoints?: boolean | "auto" | undefined; chunkGroups?: boolean | undefined; warningsCount?: boolean | undefined; errorsCount?: boolean | undefined; - colors?: boolean | undefined; - version?: boolean | undefined; - publicPath?: boolean | undefined; + hash?: boolean | undefined; outputPath?: boolean | undefined; chunkModules?: boolean | undefined; chunkRelations?: boolean | undefined; @@ -13502,10 +13502,11 @@ const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "no builtAt?: boolean | undefined; moduleAssets?: boolean | undefined; nestedModules?: boolean | undefined; - logging?: boolean | "info" | "none" | "verbose" | "error" | "warn" | "log" | undefined; + logging?: boolean | "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined; loggingTrace?: boolean | undefined; runtimeModules?: boolean | undefined; + children?: boolean | undefined; groupModulesByType?: boolean | undefined; groupModulesByCacheStatus?: boolean | undefined; groupModulesByLayer?: boolean | undefined; @@ -13530,7 +13531,6 @@ const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "no nestedModulesSort?: string | undefined; chunksSort?: string | undefined; assetsSort?: string | undefined; - performance?: boolean | undefined; env?: boolean | undefined; chunkGroupAuxiliary?: boolean | undefined; chunkGroupChildren?: boolean | undefined; @@ -13564,7 +13564,7 @@ export const SwcCssMinimizerRspackPlugin: { new (options?: SwcCssMinimizerRspackPluginOptions | undefined): { name: BuiltinPluginName; _args: [options?: SwcCssMinimizerRspackPluginOptions | undefined]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -13582,7 +13582,7 @@ export const SwcJsMinimizerRspackPlugin: { new (options?: SwcJsMinimizerRspackPluginOptions | undefined): { name: BuiltinPluginName; _args: [options?: SwcJsMinimizerRspackPluginOptions | undefined]; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; @@ -13943,7 +13943,7 @@ const uniqueName: z.ZodString; // @public (undocumented) export const util: { - createHash: (algorithm: "debug" | "md4" | "xxhash64" | (string & {}) | "native-md4" | (new () => default_2)) => default_2; + createHash: (algorithm: "debug" | "xxhash64" | "md4" | (string & {}) | "native-md4" | (new () => default_2)) => default_2; cleverMerge: (first: First, second: Second) => First | Second | (First & Second); }; @@ -14226,7 +14226,7 @@ const WebWorkerTemplatePlugin: { new (): { name: BuiltinPluginName; _args: []; - affectedHooks: "done" | "compilation" | "failed" | "environment" | "emit" | "make" | "compile" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; + affectedHooks: "emit" | "environment" | "done" | "afterDone" | "thisCompilation" | "compilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined; raw(compiler: Compiler_2): BuiltinPlugin; apply(compiler: Compiler_2): void; }; diff --git a/packages/rspack/src/Compilation.ts b/packages/rspack/src/Compilation.ts index 8d2401c7b3b0..ec6f6002a517 100644 --- a/packages/rspack/src/Compilation.ts +++ b/packages/rspack/src/Compilation.ts @@ -738,12 +738,13 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si } } ]; - proxyMethod.forEach(item => { + + for (const item of proxyMethod) { const proxyedMethod = new Proxy(errors[item.method as any], { apply: item.handler as any }); errors[item.method as any] = proxyedMethod; - }); + } return errors; } @@ -822,12 +823,13 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si } } ]; - proxyMethod.forEach(item => { + + for (const item of proxyMethod) { const proxyedMethod = new Proxy(warnings[item.method as any], { apply: item.handler as any }); warnings[item.method as any] = proxyedMethod; - }); + } return warnings; } diff --git a/packages/rspack/src/Compiler.ts b/packages/rspack/src/Compiler.ts index 3001994cf622..855fe3cd6846 100644 --- a/packages/rspack/src/Compiler.ts +++ b/packages/rspack/src/Compiler.ts @@ -891,9 +891,9 @@ class Compiler { require: __webpack_require__ }; - interceptModuleExecution.forEach( - (handler: (execOptions: any) => void) => handler(execOptions) - ); + for (const handler of interceptModuleExecution) { + handler(execOptions); + } const result = codegenResults.map[id]["build time"]; const moduleObject = execOptions.module; @@ -921,12 +921,13 @@ class Compiler { "" ) ] = {}); - const interceptModuleExecution = (__webpack_require__[ - RuntimeGlobals.interceptModuleExecution.replace( - `${RuntimeGlobals.require}.`, - "" - ) - ] = []); + const interceptModuleExecution: ((execOptions: any) => void)[] = + (__webpack_require__[ + RuntimeGlobals.interceptModuleExecution.replace( + `${RuntimeGlobals.require}.`, + "" + ) + ] = []); for (const runtimeModule of runtimeModules) { __webpack_require__(runtimeModule); diff --git a/packages/rspack/src/builtin-plugin/css-extract/loader.ts b/packages/rspack/src/builtin-plugin/css-extract/loader.ts index 967fd2c7c9c5..3f385e69a290 100644 --- a/packages/rspack/src/builtin-plugin/css-extract/loader.ts +++ b/packages/rspack/src/builtin-plugin/css-extract/loader.ts @@ -141,7 +141,7 @@ export const pitch: LoaderDefinition["pitch"] = function (request, _, data) { | Record ) => { /** @type {Locals | undefined} */ - let locals: Record; + let locals: Record | undefined; let namedExport; const esModule = @@ -160,7 +160,7 @@ export const pitch: LoaderDefinition["pitch"] = function (request, _, data) { (!originalExports.default || !("locals" in originalExports.default)); if (namedExport) { - Object.keys(originalExports).forEach(key => { + for (const key of Object.keys(originalExports)) { if (key !== "default") { if (!locals) { locals = {}; @@ -170,7 +170,7 @@ export const pitch: LoaderDefinition["pitch"] = function (request, _, data) { originalExports as Record )[key]; } - }); + } } else { locals = exports && exports.locals; } @@ -211,7 +211,7 @@ export const pitch: LoaderDefinition["pitch"] = function (request, _, data) { } const result = (function makeResult() { - if (locals!) { + if (locals) { if (namedExport) { const identifiers = Array.from( (function* generateIdentifiers() { @@ -229,7 +229,7 @@ export const pitch: LoaderDefinition["pitch"] = function (request, _, data) { .map( ([id, key]) => `\nvar ${id} = ${stringifyLocal( - /** @type {Locals} */ locals[key] + /** @type {Locals} */ locals![key] )};` ) .join(""); diff --git a/packages/rspack/src/util/fs.ts b/packages/rspack/src/util/fs.ts index b8de2473fde2..3a90afa383b9 100644 --- a/packages/rspack/src/util/fs.ts +++ b/packages/rspack/src/util/fs.ts @@ -132,7 +132,7 @@ export function rmrf( if (count === 0) { fs.rmdir(p, callback); } else { - files!.forEach(file => { + for (const file of files!) { assert(typeof file === "string"); const fullPath = join(fs, p, file); rmrf(fs, fullPath, err => { @@ -144,7 +144,7 @@ export function rmrf( fs.rmdir(p, callback); } }); - }); + } } }); } else { diff --git a/scripts/build-npm.cjs b/scripts/build-npm.cjs index a5e4f8f3c65b..75f0bb762307 100644 --- a/scripts/build-npm.cjs +++ b/scripts/build-npm.cjs @@ -183,13 +183,14 @@ Rspack is [MIT licensed](https://github.com/web-infra-dev/rspack/blob/main/LICEN // Determine whether to release or not based on the CI build result. // Validating not releasable bindings -fs.readdirSync(NPM, { +const dirent = fs.readdirSync(NPM, { withFileTypes: true -}) - .filter(item => item.isDirectory()) - .map(item => path.join(NPM, item.name)) - .forEach(dir => { +}); +for (const item of dirent) { + if (item.isDirectory()) { + const dir = path.join(NPM, item.name); const pkg = require(`${dir}/package.json`); + if (releasingPackages.includes(pkg.name)) { // releasing console.info(`Releasing package: ${pkg.name}`); @@ -200,7 +201,8 @@ fs.readdirSync(NPM, { ); fs.writeFileSync(`${dir}/package.json`, JSON.stringify(pkg, null, 2)); } - }); + } +} const bindingJsonPath = path.resolve( __dirname, diff --git a/website/components/builtIns/Table.tsx b/website/components/builtIns/Table.tsx index c6e27156b804..12ad2893ba9e 100644 --- a/website/components/builtIns/Table.tsx +++ b/website/components/builtIns/Table.tsx @@ -44,11 +44,11 @@ export function Table(props: TableProps) { const { body = [], tableStyle, header = [] } = props; // Support markdown syntax in table cell const compiledValue = body.map((item: any) => { - Object.keys(item).forEach(key => { + for (const key of Object.keys(item)) { if (typeof item[key] === 'string') { item[key] = {item[key]}; } - }); + } return item; });