From b9cd8ae785687716c530e46a3d18e0d7a3da7ae3 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Tue, 14 Apr 2026 15:16:15 +0300 Subject: [PATCH 01/15] feat(help): implement UI renderer for structured help output Introduce ui-renderer.ts to handle renderOptionHelp and renderFooter. This replaces ad-hoc logger.raw calls in the help syntax branch with structured OptionHelpData. Key changes: - Added #renderOptions() bridge method. - Implemented automatic documentation URL generation based on option flags. - Improved help output styling and consistency. Manual testing verified via: - npx webpack help --config - npx webpack help -c --- packages/webpack-cli/src/ui-renderer.ts | 147 ++++++++++++++++++++++++ packages/webpack-cli/src/webpack-cli.ts | 62 +++++----- 2 files changed, 180 insertions(+), 29 deletions(-) create mode 100644 packages/webpack-cli/src/ui-renderer.ts diff --git a/packages/webpack-cli/src/ui-renderer.ts b/packages/webpack-cli/src/ui-renderer.ts new file mode 100644 index 00000000000..007b4dc7a2d --- /dev/null +++ b/packages/webpack-cli/src/ui-renderer.ts @@ -0,0 +1,147 @@ +/** + * webpack-cli UI renderer + * Fully decoupled from CLI logic + */ + +export interface Colors { + bold: (str: string) => string; + cyan: (str: string) => string; + blue: (str: string) => string; + yellow: (str: string) => string; + green: (str: string) => string; + red: (str: string) => string; +} + +export interface FooterOptions { + verbose?: boolean; +} + +export interface Row { + label: string; + value: string; + color?: (str: string) => string; +} + +export interface OptionHelpData { + optionName: string; + usage: string; + short?: string; + description?: string; + docUrl: string; + possibleValues?: string; +} + +export interface RenderOptions { + colors: Colors; + log: (line: string) => void; + columns: number; +} + +// ─── Layout constants ───────────────────────────────────────────── +export const MAX_WIDTH = 80; +export const INDENT = 2; +export const COL_GAP = 2; +export const MIN_DIVIDER = 10; + +const indent = (n: number) => " ".repeat(n); + +function divider(width: number, colors: Colors): string { + const len = Math.max(MIN_DIVIDER, Math.min(width, MAX_WIDTH) - INDENT * 2 - 2); + return `${indent(INDENT)}${colors.blue("─".repeat(len))}`; +} + +function wrapValue(text: string, width: number): string[] { + if (text.length <= width) return [text]; + + const words = text.split(" "); + const lines: string[] = []; + let current = ""; + + for (const word of words) { + if (word.length > width) { + if (current) { + lines.push(current); + current = ""; + } + let remaining = word; + while (remaining.length > width) { + lines.push(remaining.slice(0, width)); + remaining = remaining.slice(width); + } + current = remaining; + continue; + } + if (current.length + (current ? 1 : 0) + word.length > width) { + if (current) lines.push(current); + current = word; + } else { + current = current ? `${current} ${word}` : word; + } + } + + if (current) lines.push(current); + return lines; +} + +export function renderRows( + rows: Row[], + colors: Colors, + log: (s: string) => void, + termWidth: number, +): void { + const labelWidth = Math.max(...rows.map((r) => r.label.length)); + const valueWidth = termWidth - INDENT - labelWidth - COL_GAP; + const continuation = indent(INDENT + labelWidth + COL_GAP); + + for (const { label, value, color } of rows) { + const lines = wrapValue(value, valueWidth); + const colorFn = color ?? ((str: string) => str); + log( + `${indent(INDENT)}${colors.bold(label.padEnd(labelWidth))}${indent(COL_GAP)}${colorFn(lines[0])}`, + ); + for (let i = 1; i < lines.length; i++) { + log(`${continuation}${colorFn(lines[i])}`); + } + } +} + +export function renderOptionHelp(data: OptionHelpData, opts: RenderOptions): void { + const { colors, log } = opts; + const termWidth = Math.min(opts.columns, MAX_WIDTH); + + const rows: Row[] = [{ label: "Usage", value: data.usage, color: colors.green }]; + if (data.short) rows.push({ label: "Short", value: data.short, color: colors.green }); + if (data.description) rows.push({ label: "Description", value: data.description }); + rows.push({ label: "Documentation", value: data.docUrl, color: colors.cyan }); + if (data.possibleValues) { + rows.push({ label: "Possible values", value: data.possibleValues, color: colors.yellow }); + } + + const div = divider(termWidth, colors); + log(""); + log( + `${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(colors.cyan(data.optionName))}`, + ); + log(div); + renderRows(rows, colors, log, termWidth); + log(div); + log(""); +} + +export function renderFooter(opts: RenderOptions, footer: FooterOptions = {}): void { + const { colors, log } = opts; + + if (!footer.verbose) { + log( + ` ${colors.cyan("ℹ")} Run ${colors.bold("'webpack --help=verbose'")} to see all available commands and options.`, + ); + } + + log(""); + log(` ${colors.bold("Webpack documentation:")} ${colors.cyan("https://webpack.js.org/")}`); + log( + ` ${colors.bold("CLI documentation:")} ${colors.cyan("https://webpack.js.org/api/cli/")}`, + ); + log(` ${colors.bold("Made with")} ${colors.red("♥")} ${colors.bold("by the webpack team")}`); + log(""); +} diff --git a/packages/webpack-cli/src/webpack-cli.ts b/packages/webpack-cli/src/webpack-cli.ts index ecdd3196373..c12fb5521b4 100644 --- a/packages/webpack-cli/src/webpack-cli.ts +++ b/packages/webpack-cli/src/webpack-cli.ts @@ -31,6 +31,7 @@ import { default as webpack, } from "webpack"; import { type Configuration as DevServerConfiguration } from "webpack-dev-server"; +import { RenderOptions, renderFooter, renderOptionHelp } from "./ui-renderer.js"; const WEBPACK_PACKAGE_IS_CUSTOM = Boolean(process.env.WEBPACK_PACKAGE); const WEBPACK_PACKAGE = WEBPACK_PACKAGE_IS_CUSTOM @@ -990,6 +991,16 @@ class WebpackCLI { } } + #renderOptions(): RenderOptions { + return { + colors: this.colors, + log: (line) => this.logger.raw(line), + // process.stdout.columns can be undefined in non-TTY environments + // (CI, test runners, pipes). Fall back to 80 which fits most terminals. + columns: process.stdout.columns ?? 80, + }; + } + async #outputHelp( options: string[], isVerbose: boolean, @@ -1213,48 +1224,41 @@ class WebpackCLI { (option.variadic === true ? "..." : ""); const value = option.required ? `<${nameOutput}>` : option.optional ? `[${nameOutput}]` : ""; - this.logger.raw( - `${bold("Usage")}: webpack${isCommandSpecified ? ` ${commandName}` : ""} ${option.long}${ - value ? ` ${value}` : "" - }`, - ); - - if (option.short) { - this.logger.raw( - `${bold("Short:")} webpack${isCommandSpecified ? ` ${commandName}` : ""} ${ - option.short - }${value ? ` ${value}` : ""}`, - ); - } - - if (option.description) { - this.logger.raw(`${bold("Description:")} ${option.description}`); - } - const { configs } = option as Option & { configs?: ArgumentConfig[] }; + let possibleValues: string | undefined; if (configs) { - const possibleValues = configs.reduce((accumulator, currentValue) => { - if (currentValue.values) { - return [...accumulator, ...currentValue.values]; - } - + const values = configs.reduce((accumulator, currentValue) => { + if (currentValue.values) return [...accumulator, ...currentValue.values]; return accumulator; }, [] as EnumValue[]); - if (possibleValues.length > 0) { + if (values.length > 0) { // Convert the possible values to a union type string // ['mode', 'development', 'production'] => "'mode' | 'development' | 'production'" // [false, 'eval'] => "false | 'eval'" - const possibleValuesUnionTypeString = possibleValues + possibleValues = values .map((value) => (typeof value === "string" ? `'${value}'` : value)) .join(" | "); - - this.logger.raw(`${bold("Possible values:")} ${possibleValuesUnionTypeString}`); } } - this.logger.raw(""); + const canonicalName = option.long ?? optionName; + const docUrl = `https://webpack.js.org/option/${canonicalName.replace(/^--/, "")}/`; + const base = `webpack${isCommandSpecified ? ` ${commandName}` : ""}`; + + const optionHelpData = { + optionName: canonicalName, + usage: `${base} ${canonicalName}${value ? ` ${value}` : ""}`, + short: option.short ? `${base} ${option.short}${value ? ` ${value}` : ""}` : undefined, + description: option.description || undefined, + docUrl, + possibleValues, + }; + + renderOptionHelp(optionHelpData, this.#renderOptions()); + renderFooter(this.#renderOptions(), { verbose: isVerbose }); + process.exit(0); // TODO implement this after refactor cli arguments // logger.raw('Documentation: https://webpack.js.org/option/name/'); @@ -1953,7 +1957,7 @@ class WebpackCLI { async run(args: readonly string[], parseOptions: ParseOptions) { // Default `--color` and `--no-color` options - // eslint-disable-next-line @typescript-eslint/no-this-alias + const self: WebpackCLI = this; // Register own exit From 98b507e7e362956ddc359b4b0c1826b3d4692b14 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Tue, 14 Apr 2026 15:26:17 +0300 Subject: [PATCH 02/15] feat(help): add alias redirect banner for short flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enhance help output for short flags (e.g., -c, -d) by implementing a 'renderAliasHelp' banner.This displays a styled ⬡ header above the option details to clearly distinguish aliases from primary options. - Provides immediate visual context when users request help for shorthand commands. --- packages/webpack-cli/src/ui-renderer.ts | 22 ++++++++++++++++++++++ packages/webpack-cli/src/webpack-cli.ts | 14 ++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/packages/webpack-cli/src/ui-renderer.ts b/packages/webpack-cli/src/ui-renderer.ts index 007b4dc7a2d..39b5ece4d13 100644 --- a/packages/webpack-cli/src/ui-renderer.ts +++ b/packages/webpack-cli/src/ui-renderer.ts @@ -37,6 +37,12 @@ export interface RenderOptions { columns: number; } +export interface AliasHelpData { + alias: string; + canonical: string; + optionHelp: OptionHelpData; +} + // ─── Layout constants ───────────────────────────────────────────── export const MAX_WIDTH = 80; export const INDENT = 2; @@ -128,6 +134,22 @@ export function renderOptionHelp(data: OptionHelpData, opts: RenderOptions): voi log(""); } +export function renderAliasHelp(data: AliasHelpData, opts: RenderOptions): void { + const { colors, log } = opts; + const termWidth = Math.min(opts.columns, MAX_WIDTH); + const div = divider(termWidth, colors); + + log(""); + log( + `${indent(INDENT)}${colors.bold(colors.yellow("⬡"))} ${colors.bold(colors.yellow(data.alias))}` + + ` ${colors.yellow("→")} ` + + `${colors.bold(colors.cyan(data.canonical))}`, + ); + log(`${indent(INDENT)}${colors.yellow("alias for")} ${colors.bold(data.canonical)}`); + log(div); + renderOptionHelp(data.optionHelp, opts); +} + export function renderFooter(opts: RenderOptions, footer: FooterOptions = {}): void { const { colors, log } = opts; diff --git a/packages/webpack-cli/src/webpack-cli.ts b/packages/webpack-cli/src/webpack-cli.ts index c12fb5521b4..3ba0d0648e2 100644 --- a/packages/webpack-cli/src/webpack-cli.ts +++ b/packages/webpack-cli/src/webpack-cli.ts @@ -31,7 +31,7 @@ import { default as webpack, } from "webpack"; import { type Configuration as DevServerConfiguration } from "webpack-dev-server"; -import { RenderOptions, renderFooter, renderOptionHelp } from "./ui-renderer.js"; +import { RenderOptions, renderAliasHelp, renderFooter, renderOptionHelp } from "./ui-renderer.js"; const WEBPACK_PACKAGE_IS_CUSTOM = Boolean(process.env.WEBPACK_PACKAGE); const WEBPACK_PACKAGE = WEBPACK_PACKAGE_IS_CUSTOM @@ -1256,7 +1256,17 @@ class WebpackCLI { possibleValues, }; - renderOptionHelp(optionHelpData, this.#renderOptions()); + const isShortAlias = optionName.startsWith("-") && !optionName.startsWith("--"); + + if (isShortAlias) { + renderAliasHelp( + { alias: optionName, canonical: canonicalName, optionHelp: optionHelpData }, + this.#renderOptions(), + ); + } else { + renderOptionHelp(optionHelpData, this.#renderOptions()); + } + renderFooter(this.#renderOptions(), { verbose: isVerbose }); process.exit(0); From b7f24a9a7a7021a9b4b314baf8aa69c4a988e344 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Tue, 14 Apr 2026 16:35:08 +0300 Subject: [PATCH 03/15] feat(help): implement styled command help with optional pager Introduce renderCommandHelp to ui-renderer.ts and migrate Commander Command data into the structured CommandHelpData format. Key architectural changes: - Replaced helpInformation() calls with renderCommandHelp for consistent styling. - Added a preAction hook in makeCommand to intercept '--help' before action execution, preventing side effects (e.g., 'watch' starting during help). - Centralized self-exit logic for all help paths (global, command, option). - Removed legacy trailing footer blocks in favor of integrated renderer footers. --- packages/webpack-cli/src/ui-renderer.ts | 200 ++++++++++++++++++++++++ packages/webpack-cli/src/webpack-cli.ts | 92 +++++++++-- 2 files changed, 282 insertions(+), 10 deletions(-) diff --git a/packages/webpack-cli/src/ui-renderer.ts b/packages/webpack-cli/src/ui-renderer.ts index 39b5ece4d13..b9fd934e027 100644 --- a/packages/webpack-cli/src/ui-renderer.ts +++ b/packages/webpack-cli/src/ui-renderer.ts @@ -43,6 +43,22 @@ export interface AliasHelpData { optionHelp: OptionHelpData; } +export interface HelpOption { + /** e.g. "-c, --config " */ + flags: string; + description: string; +} + +export interface CommandHelpData { + /** e.g. "build", "serve", "info" */ + name: string; + /** e.g. "webpack build|bundle|b [entries...] [options]" */ + usage: string; + description: string; + options: HelpOption[]; + globalOptions: HelpOption[]; +} + // ─── Layout constants ───────────────────────────────────────────── export const MAX_WIDTH = 80; export const INDENT = 2; @@ -111,6 +127,190 @@ export function renderRows( } } +function _renderHelpOptions( + options: HelpOption[], + colors: Colors, + push: (line: string) => void, + termWidth: number, + flagsWidth: number, +): void { + const descWidth = termWidth - INDENT - flagsWidth - COL_GAP; + const continuation = indent(INDENT + flagsWidth + COL_GAP); + + for (const { flags, description } of options) { + const descLines = wrapValue(description || "", descWidth); + const flagsPadded = flags.padEnd(flagsWidth); + push(`${indent(INDENT)}${colors.cyan(flagsPadded)}${indent(COL_GAP)}${descLines[0] ?? ""}`); + for (let i = 1; i < descLines.length; i++) { + push(`${continuation}${descLines[i]}`); + } + } +} + +async function _page(lines: string[], opts: RenderOptions): Promise { + const { colors, log } = opts; + + if ( + !process.stdin.isTTY || + typeof (process.stdin as NodeJS.ReadStream & { setRawMode?: unknown }).setRawMode !== "function" + ) { + for (const line of lines) log(line); + return; + } + + const termHeight: number = (process.stdout as NodeJS.WriteStream & { rows?: number }).rows ?? 24; + const pageSize = termHeight - 2; + let pos = 0; + + const flush = (count: number) => { + const end = Math.min(pos + count, lines.length); + for (let i = pos; i < end; i++) log(lines[i]); + pos = end; + }; + + flush(pageSize); + if (pos >= lines.length) return; + + process.stdin.setRawMode(true); + process.stdin.resume(); + process.stdin.setEncoding("utf8"); + + const hint = + `${indent(INDENT)}${colors.cyan("─")} ` + + `${colors.bold("Enter")} next line ` + + `${colors.bold("Space")} next page ` + + `${colors.bold("q")} quit`; + + process.stdout.write(`\n${hint}\r`); + + await new Promise((resolve) => { + const clearHint = () => process.stdout.write(`\r${" ".repeat(process.stdout.columns ?? 80)}\r`); + const printHint = () => process.stdout.write(`${hint}`); + const onKey = (key: string) => { + if (key === "\u0003") { + // eslint-disable-next-line @typescript-eslint/no-use-before-define + cleanup(); + process.exit(0); + } + + if (key === "q" || key === "Q" || key === "\u001B") { + clearHint(); + // eslint-disable-next-line @typescript-eslint/no-use-before-define + cleanup(); + resolve(); + return; + } + + if (key === " " || key === "d") { + clearHint(); + flush(Math.floor(pageSize / 2)); + if (pos < lines.length) { + process.stdout.write("\n"); + printHint(); + } else { + // eslint-disable-next-line @typescript-eslint/no-use-before-define + cleanup(); + resolve(); + } + return; + } + + if ((key === "\r" || key === "\n" || key === "\u001B[B") && pos < lines.length) { + clearHint(); + process.stdout.write(`${lines[pos]}\n`); + pos++; + if (pos < lines.length) { + printHint(); + } else { + // eslint-disable-next-line @typescript-eslint/no-use-before-define + cleanup(); + resolve(); + } + } + }; + + const cleanup = () => { + process.stdin.removeListener("data", onKey); + process.stdin.setRawMode(false); + process.stdin.pause(); + process.stdout.write("\n"); + }; + + process.stdin.on("data", onKey); + }); +} + +export async function renderCommandHelp( + data: CommandHelpData, + opts: RenderOptions, + paginate = true, +): Promise { + const { colors } = opts; + const termWidth = Math.min(opts.columns || MAX_WIDTH, MAX_WIDTH); + const div = divider(termWidth, colors); + + const lines: string[] = []; + const push = (line: string) => lines.push(line); + + push(""); + push(`${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(`webpack ${data.name}`)}`); + push(div); + + const descWidth = termWidth - INDENT * 2; + for (const line of wrapValue(data.description, descWidth)) { + push(`${indent(INDENT)}${line}`); + } + + push(""); + const usageLabel = `${colors.bold("Usage:")} `; + const usageIndent = indent(INDENT + "Usage: ".length); + const usageWidth = termWidth - INDENT - "Usage: ".length; + const usageLines = wrapValue(data.usage, usageWidth); + push(`${indent(INDENT)}${usageLabel}${usageLines[0]}`); + for (let i = 1; i < usageLines.length; i++) push(`${usageIndent}${usageLines[i]}`); + + push(""); + + const allFlags = [...data.options, ...data.globalOptions].map((opt) => opt.flags.length); + const flagsWidth = Math.min(38, allFlags.length > 0 ? Math.max(...allFlags) + COL_GAP : 20); + + if (data.options.length > 0) { + push(`${indent(INDENT)}${colors.bold(colors.cyan("Options"))}`); + push(div); + _renderHelpOptions(data.options, colors, push, termWidth, flagsWidth); + push(""); + } + + if (data.globalOptions.length > 0) { + push(`${indent(INDENT)}${colors.bold(colors.cyan("Global options"))}`); + push(div); + _renderHelpOptions(data.globalOptions, colors, push, termWidth, flagsWidth); + push(""); + } + + push(div); + push( + ` ${colors.cyan("ℹ")} Run ${colors.bold(`'webpack help ${data.name} --verbose'`)} to see all available options.`, + ); + push(""); + + const termHeight = (process.stdout as NodeJS.WriteStream & { rows?: number }).rows ?? 24; + const canPage = + paginate && + process.stdout.isTTY && + process.stdin.isTTY && + typeof (process.stdin as NodeJS.ReadStream & { setRawMode?: unknown }).setRawMode === + "function"; + const shouldPage = canPage && lines.length > termHeight - 2; + + if (!shouldPage) { + for (const line of lines) opts.log(line); + return; + } + + await _page(lines, opts); +} + export function renderOptionHelp(data: OptionHelpData, opts: RenderOptions): void { const { colors, log } = opts; const termWidth = Math.min(opts.columns, MAX_WIDTH); diff --git a/packages/webpack-cli/src/webpack-cli.ts b/packages/webpack-cli/src/webpack-cli.ts index 3ba0d0648e2..51f07331270 100644 --- a/packages/webpack-cli/src/webpack-cli.ts +++ b/packages/webpack-cli/src/webpack-cli.ts @@ -31,7 +31,15 @@ import { default as webpack, } from "webpack"; import { type Configuration as DevServerConfiguration } from "webpack-dev-server"; -import { RenderOptions, renderAliasHelp, renderFooter, renderOptionHelp } from "./ui-renderer.js"; +import { + CommandHelpData, + HelpOption, + RenderOptions, + renderAliasHelp, + renderCommandHelp, + renderFooter, + renderOptionHelp, +} from "./ui-renderer.js"; const WEBPACK_PACKAGE_IS_CUSTOM = Boolean(process.env.WEBPACK_PACKAGE); const WEBPACK_PACKAGE = WEBPACK_PACKAGE_IS_CUSTOM @@ -656,6 +664,36 @@ class WebpackCLI { } } + // Without this, `webpack watch --help` would start the watcher (never exits). + command.addOption(new Option("-h, --help [verbose]", "Display help for commands and options.")); + command.hook("preAction", async (thisCommand) => { + const opts = thisCommand.opts(); + + if (typeof opts.help === "undefined") { + return; + } + + const isVerbose = opts.help === "verbose"; + + this.program.forHelp = true; + + const commandHelpData = this.#buildCommandHelpData( + thisCommand as Command, + this.program, + isVerbose, + ); + + const canPaginate = + Boolean(process.stdout.isTTY) && + Boolean(process.stdin.isTTY) && + typeof (process.stdin as NodeJS.ReadStream & { setRawMode?: unknown }).setRawMode === + "function"; + + await renderCommandHelp(commandHelpData, this.#renderOptions(), canPaginate); + renderFooter(this.#renderOptions(), { verbose: isVerbose }); + process.exit(0); + }); + command.action(options.action); return command; @@ -1001,6 +1039,35 @@ class WebpackCLI { }; } + #buildCommandHelpData(command: Command, program: Command, isVerbose: boolean): CommandHelpData { + const visibleOptions: HelpOption[] = command.options + .filter((opt) => { + if ((opt as Option & { internal?: boolean }).internal) return false; + return isVerbose || !opt.hidden; + }) + .map((opt) => ({ + flags: opt.flags, + description: opt.description ?? "", + })); + + const globalOptions: HelpOption[] = program.options.map((opt) => ({ + flags: opt.flags, + description: opt.description ?? "", + })); + + const aliases = command.aliases(); + const usageParts = [command.name(), ...aliases].join("|"); + const usage = `webpack ${usageParts} ${command.usage()}`; + + return { + name: command.name(), + usage, + description: command.description(), + options: visibleOptions, + globalOptions, + }; + } + async #outputHelp( options: string[], isVerbose: boolean, @@ -1167,6 +1234,9 @@ class WebpackCLI { if (buildCommand) { this.logger.raw(buildCommand.helpInformation()); } + + renderFooter(this.#renderOptions(), { verbose: isVerbose }); + process.exit(0); } else { const [name] = options; @@ -1178,7 +1248,16 @@ class WebpackCLI { process.exit(2); } - this.logger.raw(command.helpInformation()); + const commandHelpData = this.#buildCommandHelpData(command, program, isVerbose); + const canPaginate = + Boolean(process.stdout.isTTY) && + Boolean(process.stdin.isTTY) && + typeof (process.stdin as NodeJS.ReadStream & { setRawMode?: unknown }).setRawMode === + "function"; + + await renderCommandHelp(commandHelpData, this.#renderOptions(), canPaginate); + renderFooter(this.#renderOptions(), { verbose: isVerbose }); + process.exit(0); } } else if (isHelpCommandSyntax) { let isCommandSpecified = false; @@ -1275,14 +1354,7 @@ class WebpackCLI { } else { outputIncorrectUsageOfHelp(); } - - this.logger.raw( - "To see list of all supported commands and options run 'webpack --help=verbose'.\n", - ); - this.logger.raw(`${bold("Webpack documentation:")} https://webpack.js.org/.`); - this.logger.raw(`${bold("CLI documentation:")} https://webpack.js.org/api/cli/.`); - this.logger.raw(`${bold("Made with ♥ by the webpack team")}.`); - process.exit(0); + // all branches now exit themselves so no need logger and process.exit } async #renderVersion(options: { output?: string } = {}): Promise { From 92cd68e769da824ad2dd534b0b17c8b9bc12f244 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Tue, 14 Apr 2026 18:08:50 +0300 Subject: [PATCH 04/15] feat(output): implement visual chrome for all commands via ui-renderer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Standardize command lifecycle with renderCommandHeader and contextual footers/status glyphs (✔ / ✖ / ⚠). Key enhancements: - build/watch: Deferred header/footer logic ensures visual chrome wraps the actual stats output with timing summaries. - serve: Integrated header/error handling into the DevServer validation lifecycle. - version/info: Replaced raw output with styled alignment, colored tables, and arrow-mapped resolutions. - configtest: Added semantic success, warning, and error reporting for validated files. - runWebpack: Introduced headerFn callback for granular control over emission timing relative to compiler events. --- packages/webpack-cli/src/ui-renderer.ts | 179 ++++++++++++++++++++ packages/webpack-cli/src/webpack-cli.ts | 206 +++++++++++++++++++++--- 2 files changed, 364 insertions(+), 21 deletions(-) diff --git a/packages/webpack-cli/src/ui-renderer.ts b/packages/webpack-cli/src/ui-renderer.ts index b9fd934e027..f8da2542382 100644 --- a/packages/webpack-cli/src/ui-renderer.ts +++ b/packages/webpack-cli/src/ui-renderer.ts @@ -59,6 +59,24 @@ export interface CommandHelpData { globalOptions: HelpOption[]; } +/** Passed to `renderCommandHeader` to describe the running command. */ +export interface CommandMeta { + name: string; + description: string; +} + +/** Summary line shown at the bottom of a build output block. */ +export interface BuildSummary { + success: boolean; + message: string; +} + +/** One section emitted by `renderInfoOutput`, e.g. "System" or "Binaries". */ +export interface InfoSection { + title: string; + rows: Row[]; +} + // ─── Layout constants ───────────────────────────────────────────── export const MAX_WIDTH = 80; export const INDENT = 2; @@ -127,6 +145,29 @@ export function renderRows( } } +export function renderCommandHeader(meta: CommandMeta, opts: RenderOptions): void { + const { colors, log } = opts; + const termWidth = Math.min(opts.columns || MAX_WIDTH, MAX_WIDTH); + + log(""); + log(`${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(`webpack ${meta.name}`)}`); + log(divider(termWidth, colors)); + + if (meta.description) { + const descWidth = termWidth - INDENT * 2; + for (const line of wrapValue(meta.description, descWidth)) { + log(`${indent(INDENT)}${line}`); + } + log(""); + } +} + +export function renderCommandFooter(opts: RenderOptions): void { + const termWidth = Math.min(opts.columns, MAX_WIDTH); + opts.log(divider(termWidth, opts.colors)); + opts.log(""); +} + function _renderHelpOptions( options: HelpOption[], colors: Colors, @@ -350,6 +391,144 @@ export function renderAliasHelp(data: AliasHelpData, opts: RenderOptions): void renderOptionHelp(data.optionHelp, opts); } +export function renderError(message: string, opts: RenderOptions): void { + const { colors, log } = opts; + log(`${indent(INDENT)}${colors.red("✖")} ${colors.bold(message)}`); +} + +export function renderSuccess(message: string, opts: RenderOptions): void { + const { colors, log } = opts; + log(`${indent(INDENT)}${colors.green("✔")} ${colors.bold(message)}`); +} + +export function renderWarning(message: string, opts: RenderOptions): void { + const { colors, log } = opts; + log(`${indent(INDENT)}${colors.yellow("⚠")} ${message}`); +} + +export function renderInfo(message: string, opts: RenderOptions): void { + const { colors, log } = opts; + log(`${indent(INDENT)}${colors.cyan("ℹ")} ${message}`); +} + +export function parseEnvinfoSections(raw: string): InfoSection[] { + const sections: InfoSection[] = []; + let current: InfoSection | null = null; + + for (const line of raw.split("\n")) { + const sectionMatch = line.match(/^ {2}([^:]+):\s*$/); + if (sectionMatch) { + if (current) sections.push(current); + current = { title: sectionMatch[1].trim(), rows: [] }; + continue; + } + + const rowMatch = line.match(/^ {4}([^:]+):\s+(.+)$/); + if (rowMatch && current) { + current.rows.push({ label: rowMatch[1].trim(), value: rowMatch[2].trim() }); + continue; + } + + const emptyRowMatch = line.match(/^ {4}([^:]+):\s*$/); + if (emptyRowMatch && current) { + current.rows.push({ label: emptyRowMatch[1].trim(), value: "N/A", color: (str) => str }); + } + } + + if (current) sections.push(current); + return sections.filter((section) => section.rows.length > 0); +} + +export function renderInfoOutput(rawEnvinfo: string, opts: RenderOptions): void { + const { colors, log } = opts; + const termWidth = Math.min(opts.columns, MAX_WIDTH); + const div = divider(termWidth, colors); + const sections = parseEnvinfoSections(rawEnvinfo); + + log(""); + + for (const section of sections) { + log( + `${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(colors.cyan(section.title))}`, + ); + log(div); + renderRows(section.rows, colors, log, termWidth); + log(div); + log(""); + } +} + +export function renderVersionOutput(rawEnvinfo: string, opts: RenderOptions): void { + const { colors, log } = opts; + const termWidth = Math.min(opts.columns, MAX_WIDTH); + const div = divider(termWidth, colors); + const sections = parseEnvinfoSections(rawEnvinfo); + + for (const section of sections) { + log(""); + log( + `${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(colors.cyan(section.title))}`, + ); + log(div); + + const labelWidth = Math.max(...section.rows.map((row) => row.label.length)); + + for (const { label, value } of section.rows) { + const arrowIdx = value.indexOf("=>"); + + if (arrowIdx !== -1) { + const requested = value.slice(0, arrowIdx).trim(); + const resolved = value.slice(arrowIdx + 2).trim(); + log( + `${indent(INDENT)}${colors.bold(label.padEnd(labelWidth))}${indent(COL_GAP)}` + + `${colors.cyan(requested.padEnd(12))} ${colors.cyan("→")} ${colors.green(colors.bold(resolved))}`, + ); + } else { + log( + `${indent(INDENT)}${colors.bold(label.padEnd(labelWidth))}${indent(COL_GAP)}${colors.green(value)}`, + ); + } + } + log(div); + } +} + +export function renderStatsOutput( + statsString: string, + summary: BuildSummary | null, + opts: RenderOptions, +): void { + const { log } = opts; + const trimmed = statsString.trim(); + + if (trimmed) { + // Output the entire indented stats block as a single log() call so all + // lines arrive in one stdout chunk, watch mode tests depend on this. + const indented = trimmed + .split("\n") + .map((line) => `${indent(INDENT)}${line}`) + .join("\n"); + log(`\n${indented}`); + } + + if (summary) { + log(""); + if (summary.success) { + renderSuccess(summary.message, opts); + } else { + renderError(summary.message, opts); + } + } +} + +export function renderSection(title: string, opts: RenderOptions): void { + const { colors, log } = opts; + const termWidth = Math.min(opts.columns, MAX_WIDTH); + log(""); + log(`${indent(INDENT)}${colors.bold(title)}`); + log(divider(termWidth, colors)); +} + export function renderFooter(opts: RenderOptions, footer: FooterOptions = {}): void { const { colors, log } = opts; diff --git a/packages/webpack-cli/src/webpack-cli.ts b/packages/webpack-cli/src/webpack-cli.ts index 51f07331270..3e96ce76318 100644 --- a/packages/webpack-cli/src/webpack-cli.ts +++ b/packages/webpack-cli/src/webpack-cli.ts @@ -36,9 +36,18 @@ import { HelpOption, RenderOptions, renderAliasHelp, + renderCommandFooter, + renderCommandHeader, renderCommandHelp, + renderError, renderFooter, + renderInfo, + renderInfoOutput, renderOptionHelp, + renderStatsOutput, + renderSuccess, + renderVersionOutput, + renderWarning, } from "./ui-renderer.js"; const WEBPACK_PACKAGE_IS_CUSTOM = Boolean(process.env.WEBPACK_PACKAGE); @@ -1653,6 +1662,7 @@ class WebpackCLI { this.schemaToOptions(cmd.context.webpack, undefined, this.#CLIOptions), action: async (entries, options, cmd) => { const { webpack } = cmd.context; + const renderOpts = this.#renderOptions(); if (entries.length > 0) { options.entry = [...entries, ...(options.entry || [])]; @@ -1660,7 +1670,19 @@ class WebpackCLI { options.webpack = webpack; - await this.runWebpack(options as Options, false); + let headerWasPrinted = false; + + await this.runWebpack(options as Options, false, () => { + headerWasPrinted = true; + renderCommandHeader( + { name: "build", description: "Compiling your application…" }, + renderOpts, + ); + }); + + if (headerWasPrinted && !options.json) { + renderCommandFooter(renderOpts); + } }, }, watch: { @@ -1678,6 +1700,7 @@ class WebpackCLI { this.schemaToOptions(cmd.context.webpack, undefined, this.#CLIOptions), action: async (entries, options, cmd) => { const { webpack } = cmd.context; + const renderOpts = this.#renderOptions(); if (entries.length > 0) { options.entry = [...entries, ...(options.entry || [])]; @@ -1685,7 +1708,12 @@ class WebpackCLI { options.webpack = webpack; - await this.runWebpack(options as Options, true); + await this.runWebpack(options as Options, true, () => + renderCommandHeader( + { name: "watch", description: "Watching for file changes…" }, + renderOpts, + ), + ); }, }, serve: { @@ -1714,6 +1742,8 @@ class WebpackCLI { }, action: async (entries: string[], options: CommanderArgs, cmd) => { const { webpack, webpackOptions, devServerOptions } = cmd.context; + const renderOpts = this.#renderOptions(); + let serveHeaderPrinted = false; const webpackCLIOptions: Options = { webpack, isWatchingLikeCommand: true }; const devServerCLIOptions: CommanderArgs = {}; @@ -1798,6 +1828,18 @@ class WebpackCLI { const portNumber = Number(devServerConfiguration.port); if (usedPorts.includes(portNumber)) { + renderError( + `Port ${portNumber} is already in use by another devServer configuration.`, + renderOpts, + ); + renderInfo( + "Each devServer entry must use a unique port, or use --config-name to run a single configuration.", + renderOpts, + ); + renderInfo( + "Documentation: https://webpack.js.org/configuration/dev-server/#devserverport", + renderOpts, + ); throw new Error( "Unique ports must be specified for each devServer option in your webpack configuration. Alternatively, run only 1 devServer config using the --config-name flag to specify your desired config.", ); @@ -1806,6 +1848,15 @@ class WebpackCLI { usedPorts.push(portNumber); } + // All validation passed for this compiler, safe to print the header. + if (!serveHeaderPrinted) { + renderCommandHeader( + { name: "serve", description: "Starting the development server…" }, + renderOpts, + ); + serveHeaderPrinted = true; + } + try { const server = new DevServer(devServerConfiguration, compiler); @@ -1814,11 +1865,14 @@ class WebpackCLI { servers.push(server as unknown as InstanceType); } catch (error) { if (this.isValidationError(error as Error)) { - this.logger.error((error as Error).message); + renderError((error as Error).message, renderOpts); } else { - this.logger.error(error); + renderError(String(error), renderOpts); } - + renderInfo( + "Documentation: https://webpack.js.org/configuration/dev-server/", + renderOpts, + ); process.exit(2); } } @@ -1859,9 +1913,28 @@ class WebpackCLI { }, ], action: async (options: { output?: string }) => { - const info = await this.#renderVersion(options); + const renderOpts = this.#renderOptions(); - this.logger.raw(info); + if (options.output) { + // Machine-readable output requested, bypass the visual renderer entirely. + const info = await this.#renderVersion(options); + this.logger.raw(info); + return; + } + + renderCommandHeader( + { name: "version", description: "Installed package versions." }, + renderOpts, + ); + + const rawInfo = await this.#getInfoOutput({ + information: { + npmPackages: `{${DEFAULT_WEBPACK_PACKAGES.map((item) => `*${item}*`).join(",")}}`, + }, + }); + + renderVersionOutput(rawInfo, renderOpts); + renderFooter(renderOpts); }, }, info: { @@ -1892,9 +1965,23 @@ class WebpackCLI { }, ], action: async (options: { output?: string; additionalPackage?: string[] }) => { + const renderOpts = this.#renderOptions(); + + if (!options.output) { + renderCommandHeader( + { name: "info", description: "System and environment information." }, + renderOpts, + ); + } + const info = await this.#getInfoOutput(options); - this.logger.raw(info); + if (options.output) { + this.logger.raw(info); + return; + } + + renderInfoOutput(info, renderOpts); }, }, configtest: { @@ -1916,6 +2003,7 @@ class WebpackCLI { configPath ? { env, argv, webpack, config: [configPath] } : { env, argv, webpack }, ); const configPaths = new Set(); + const renderOpts = this.#renderOptions(); if (Array.isArray(config.options)) { for (const options of config.options) { @@ -1934,25 +2022,31 @@ class WebpackCLI { } if (configPaths.size === 0) { - this.logger.error("No configuration found."); + renderError("No configuration found.", renderOpts); process.exit(2); } - this.logger.info(`Validate '${[...configPaths].join(" ,")}'.`); + renderCommandHeader( + { name: "configtest", description: "Validating your webpack configuration." }, + renderOpts, + ); + + const pathList = [...configPaths].join(", "); + renderWarning(`Validating: ${pathList}`, renderOpts); try { cmd.context.webpack.validate(config.options); } catch (error) { if (this.isValidationError(error as Error)) { - this.logger.error((error as Error).message); + renderError((error as Error).message, renderOpts); } else { - this.logger.error(error); + renderError(String(error), renderOpts); } - process.exit(2); } - this.logger.success("There are no validation errors in the given webpack configuration."); + renderSuccess("No validation errors found.", renderOpts); + renderCommandFooter(renderOpts); }, }, }; @@ -2816,7 +2910,11 @@ class WebpackCLI { return Boolean(compiler.options.watchOptions?.stdin); } - async runWebpack(options: Options, isWatchCommand: boolean): Promise { + async runWebpack( + options: Options, + isWatchCommand: boolean, + headerFn?: () => void, + ): Promise { let compiler: Compiler | MultiCompiler; let stringifyChunked: typeof stringifyChunkedType; let Readable: typeof ReadableType; @@ -2826,13 +2924,29 @@ class WebpackCLI { ({ Readable } = await import("node:stream")); } + // For non-watch builds, resolve only after the first compilation so + // the caller (build action) can safely call renderCommandFooter() knowing + // the stats have already been output. + let onFirstBuildComplete: (() => void) | undefined; + const firstBuildComplete = + !isWatchCommand && !options.watch + ? new Promise((resolve) => { + onFirstBuildComplete = resolve; + }) + : null; + + const renderOpts = this.#renderOptions(); + const callback: WebpackCallback = (error, stats): void => { if (error) { this.logger.error(error); process.exit(2); } - if (stats && (stats.hasErrors() || (options.failOnWarnings && stats.hasWarnings()))) { + const hasCompilationErrors = + stats && (stats.hasErrors() || (options.failOnWarnings && stats.hasWarnings())); + + if (hasCompilationErrors) { process.exitCode = 1; } @@ -2857,28 +2971,72 @@ class WebpackCLI { .on("error", handleWriteError) .pipe(process.stdout) .on("error", handleWriteError) - .on("close", () => process.stdout.write("\n")); + .on("close", () => { + process.stdout.write("\n"); + onFirstBuildComplete?.(); + }); } else { Readable.from(stringifyChunked(stats.toJson(statsOptions as StatsOptions))) .on("error", handleWriteError) .pipe(fs.createWriteStream(options.json)) .on("error", handleWriteError) - // Use stderr to logging .on("close", () => { + // Use stderr to logging process.stderr.write( `[webpack-cli] ${this.colors.green( `stats are successfully stored as json to ${options.json}`, )}\n`, ); + onFirstBuildComplete?.(); }); } } else { const printedStats = stats.toString(statsOptions); - // Avoid extra empty line when `stats: 'none'` - if (printedStats) { - this.logger.raw(printedStats); + // Only emit header+chrome when there is something meaningful to frame. + // stats: none produces an empty string, matching the old behavior. + const hasOutput = printedStats.trim().length > 0; + + if (!hasCompilationErrors && hasOutput) { + headerFn?.(); } + + // ...summary computation unchanged... + let summary: { success: boolean; message: string } | null = null; + if (!this.isMultipleCompiler(compiler)) { + try { + const json = (stats as Stats).toJson({ + all: false, + timings: true, + errorsCount: true, + warningsCount: true, + }); + const time = typeof json.time === "number" ? ` in ${json.time}ms` : ""; + const errCount = json.errorsCount ?? 0; + const warnCount = json.warningsCount ?? 0; + + if (errCount > 0) { + summary = { + success: false, + message: `Compilation failed: ${errCount} error${errCount !== 1 ? "s" : ""}${ + warnCount > 0 ? `, ${warnCount} warning${warnCount !== 1 ? "s" : ""}` : "" + }${time}`, + }; + } else if (warnCount > 0) { + summary = { + success: true, + message: `Compiled with ${warnCount} warning${warnCount !== 1 ? "s" : ""}${time}`, + }; + } else { + summary = { success: true, message: `Compiled successfully${time}` }; + } + } catch { + // proceed without summary + } + } + + renderStatsOutput(printedStats, summary, renderOpts); + onFirstBuildComplete?.(); } }; @@ -2947,6 +3105,12 @@ class WebpackCLI { process.stdin.resume(); } } + + // For non-watch builds, block until the first compilation callback fires + // so callers can rely on all output being flushed before continuing. + if (firstBuildComplete) { + await firstBuildComplete; + } } } From 4bb8c3c68828fe6f5c086af798ba74ff21185d61 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Tue, 14 Apr 2026 20:07:01 +0300 Subject: [PATCH 05/15] test(cli): implement full coverage for ui-renderer and update CLI snapshots Comprehensive test suite addition for ui-renderer.ts Changes: - Added unit tests for all UI. - Updated existing CLI integration snapshots. - Added new snapshots for command-specific renders (version, info, and configtest etc..). --- test/api/CLI.test.js | 42 +- .../__snapshots__/CLI.test.js.snap.webpack5 | 199 ++++- .../ui-renderer.test.js.snap.webpack5 | 289 +++++++ test/api/ui-renderer.test.js | 749 ++++++++++++++++++ 4 files changed, 1269 insertions(+), 10 deletions(-) create mode 100644 test/api/__snapshots__/ui-renderer.test.js.snap.webpack5 create mode 100644 test/api/ui-renderer.test.js diff --git a/test/api/CLI.test.js b/test/api/CLI.test.js index 2dd11521a72..15883a0de26 100644 --- a/test/api/CLI.test.js +++ b/test/api/CLI.test.js @@ -1543,7 +1543,7 @@ describe("CLI API", () => { command.parseAsync(["--boolean"], { from: "user" }); - expect(command.helpInformation()).toContain("--boolean Description"); + expect(command.helpInformation()).toMatch(/--boolean\s+Description/); }); it("should make command with Boolean option and negative value and use negatedDescription", async () => { @@ -1569,7 +1569,7 @@ describe("CLI API", () => { command.parseAsync(["--no-boolean"], { from: "user" }); - expect(command.helpInformation()).toContain("--no-boolean Negated description"); + expect(command.helpInformation()).toMatch(/--no-boolean\s+Negated description/); }); }); @@ -1578,6 +1578,22 @@ describe("CLI API", () => { let exitSpy; beforeEach(async () => { + // should be new program for each test + // eslint-disable-next-line import/no-extraneous-dependencies + const { Command } = require("commander"); + + cli = new CLI(); + const freshProgram = new Command(); + freshProgram.name("webpack"); + freshProgram.configureOutput({ + writeErr: (str) => { + cli.logger.error(str); + }, + outputError: (str, write) => { + write(`Error: ${cli.capitalizeFirstLetter(str.replace(/^error:/, "").trim())}`); + }, + }); + cli.program = freshProgram; consoleSpy = jest.spyOn(globalThis.console, "log"); exitSpy = jest.spyOn(process, "exit").mockImplementation(() => {}); }); @@ -1597,5 +1613,27 @@ describe("CLI API", () => { expect(exitSpy).toHaveBeenCalledWith(0); expect(consoleSpy.mock.calls).toMatchSnapshot(); }); + + it("should display help for a short alias flag", async () => { + try { + await cli.run(["help", "-c"], { from: "user" }); + } catch { + // Nothing for tests + } + + expect(exitSpy).toHaveBeenCalledWith(0); + expect(consoleSpy.mock.calls).toMatchSnapshot(); + }); + + it("should display help for a command", async () => { + try { + await cli.run(["help", "version"], { from: "user" }); + } catch { + // Nothing for tests + } + + expect(exitSpy).toHaveBeenCalledWith(0); + expect(consoleSpy.mock.calls).toMatchSnapshot(); + }); }); }); diff --git a/test/api/__snapshots__/CLI.test.js.snap.webpack5 b/test/api/__snapshots__/CLI.test.js.snap.webpack5 index 1416f8f80b0..7fe7209f554 100644 --- a/test/api/__snapshots__/CLI.test.js.snap.webpack5 +++ b/test/api/__snapshots__/CLI.test.js.snap.webpack5 @@ -1,31 +1,214 @@ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing +exports[`CLI API custom help output should display help for a command 1`] = ` +[ + [ + "", + ], + [ + " ⬡ webpack version", + ], + [ + " ──────────────────────────────────────────────────────────────────────────", + ], + [ + " Output the version number of 'webpack', 'webpack-cli' and", + ], + [ + " 'webpack-dev-server' and other packages.", + ], + [ + "", + ], + [ + " Usage: webpack version|v [options]", + ], + [ + "", + ], + [ + " Options", + ], + [ + " ──────────────────────────────────────────────────────────────────────────", + ], + [ + " -o, --output To get the output in a specified format (accept json", + ], + [ + " or markdown)", + ], + [ + " -h, --help [verbose] Display help for commands and options.", + ], + [ + "", + ], + [ + " Global options", + ], + [ + " ──────────────────────────────────────────────────────────────────────────", + ], + [ + " --color Enable colors on console.", + ], + [ + " --no-color Disable colors on console.", + ], + [ + " -v, --version Output the version number of 'webpack', 'webpack-cli'", + ], + [ + " and 'webpack-dev-server' and other packages.", + ], + [ + " -h, --help [verbose] Display help for commands and options.", + ], + [ + "", + ], + [ + " ──────────────────────────────────────────────────────────────────────────", + ], + [ + " ℹ Run 'webpack help version --verbose' to see all available options.", + ], + [ + "", + ], + [ + " ℹ Run 'webpack --help=verbose' to see all available commands and options.", + ], + [ + "", + ], + [ + " Webpack documentation: https://webpack.js.org/", + ], + [ + " CLI documentation: https://webpack.js.org/api/cli/", + ], + [ + " Made with ♥ by the webpack team", + ], + [ + "", + ], +] +`; + +exports[`CLI API custom help output should display help for a short alias flag 1`] = ` +[ + [ + "", + ], + [ + " ⬡ -c → --config", + ], + [ + " alias for --config", + ], + [ + " ──────────────────────────────────────────────────────────────────────────", + ], + [ + "", + ], + [ + " ⬡ --config", + ], + [ + " ──────────────────────────────────────────────────────────────────────────", + ], + [ + " Usage webpack --config ", + ], + [ + " Short webpack -c ", + ], + [ + " Description Provide path to one or more webpack configuration files to", + ], + [ + " process, e.g. "./webpack.config.js".", + ], + [ + " Documentation https://webpack.js.org/option/config/", + ], + [ + " ──────────────────────────────────────────────────────────────────────────", + ], + [ + "", + ], + [ + " ℹ Run 'webpack --help=verbose' to see all available commands and options.", + ], + [ + "", + ], + [ + " Webpack documentation: https://webpack.js.org/", + ], + [ + " CLI documentation: https://webpack.js.org/api/cli/", + ], + [ + " Made with ♥ by the webpack team", + ], + [ + "", + ], +] +`; + exports[`CLI API custom help output should display help information 1`] = ` [ [ - "Usage: webpack --mode ", + "", + ], + [ + " ⬡ --mode", + ], + [ + " ──────────────────────────────────────────────────────────────────────────", + ], + [ + " Usage webpack --mode ", + ], + [ + " Description Enable production optimizations or development hints.", ], [ - "Description: Enable production optimizations or development hints.", + " Documentation https://webpack.js.org/option/mode/", ], [ - "Possible values: 'development' | 'production' | 'none'", + " Possible values 'development' | 'production' | 'none'", + ], + [ + " ──────────────────────────────────────────────────────────────────────────", + ], + [ + "", + ], + [ + " ℹ Run 'webpack --help=verbose' to see all available commands and options.", ], [ "", ], [ - "To see list of all supported commands and options run 'webpack --help=verbose'. -", + " Webpack documentation: https://webpack.js.org/", ], [ - "Webpack documentation: https://webpack.js.org/.", + " CLI documentation: https://webpack.js.org/api/cli/", ], [ - "CLI documentation: https://webpack.js.org/api/cli/.", + " Made with ♥ by the webpack team", ], [ - "Made with ♥ by the webpack team.", + "", ], ] `; diff --git a/test/api/__snapshots__/ui-renderer.test.js.snap.webpack5 b/test/api/__snapshots__/ui-renderer.test.js.snap.webpack5 new file mode 100644 index 00000000000..66f79600f8d --- /dev/null +++ b/test/api/__snapshots__/ui-renderer.test.js.snap.webpack5 @@ -0,0 +1,289 @@ +// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing + +exports[`parseEnvinfoSections should match snapshot 1`] = ` +[ + { + "rows": [ + { + "label": "OS", + "value": "macOS 14.0", + }, + { + "label": "CPU", + "value": "Apple M2", + }, + { + "label": "Memory", + "value": "16 GB", + }, + ], + "title": "System", + }, + { + "rows": [ + { + "label": "Node", + "value": "20.1.0", + }, + { + "label": "npm", + "value": "9.6.7", + }, + { + "label": "pnpm", + "value": "Not Found", + }, + ], + "title": "Binaries", + }, + { + "rows": [ + { + "label": "webpack", + "value": "^5.105.4 => 5.105.4", + }, + { + "label": "webpack-cli", + "value": "^6.0.0 => 6.0.1", + }, + { + "label": "webpack-dev-server", + "value": "^5.1.0 => 5.2.3", + }, + ], + "title": "Packages", + }, +] +`; + +exports[`renderAliasHelp should match snapshot 1`] = ` +[ + "", + " ⬡ -c → --config", + " alias for --config", + " ──────────────────────────────────────────────────────────────────────────", + "", + " ⬡ --config", + " ──────────────────────────────────────────────────────────────────────────", + " Usage webpack --config ", + " Short webpack -c ", + " Description Provide path to a webpack configuration file.", + " Documentation https://webpack.js.org/option/config/", + " ──────────────────────────────────────────────────────────────────────────", + "", +] +`; + +exports[`renderCommandFooter should match snapshot 1`] = ` +[ + " ──────────────────────────────────────────────────────────────────────────", + "", +] +`; + +exports[`renderCommandHeader should match snapshot 1`] = ` +[ + "", + " ⬡ webpack build", + " ──────────────────────────────────────────────────────────────────────────", + " Compiling.", + "", +] +`; + +exports[`renderCommandHelp should match full output snapshot for build command 1`] = ` +[ + "", + " ⬡ webpack build", + " ──────────────────────────────────────────────────────────────────────────", + " Run webpack (default command, can be omitted).", + "", + " Usage: webpack build|bundle|b [entries...] [options]", + "", + " Options", + " ──────────────────────────────────────────────────────────────────────────", + " -c, --config Provide path to one or more webpack", + " configuration files.", + " --config-name Name(s) of particular configuration(s)", + " to use if configuration file exports an", + " array of multiple configurations.", + " -m, --merge Merge two or more configurations using", + " 'webpack-merge'.", + " --mode Enable production optimizations or", + " development hints.", + " -o, --output-path The output directory as absolute path", + " (required).", + " -w, --watch Enter watch mode, which rebuilds on file", + " change.", + "", + " Global options", + " ──────────────────────────────────────────────────────────────────────────", + " --color Enable colors on console.", + " --no-color Disable colors on console.", + " -v, --version Output the version number.", + " -h, --help [verbose] Display help for commands and options.", + "", + " ──────────────────────────────────────────────────────────────────────────", + " ℹ Run 'webpack help build --verbose' to see all available options.", + "", +] +`; + +exports[`renderCommandHelp should match full output snapshot for info command 1`] = ` +[ + "", + " ⬡ webpack info", + " ──────────────────────────────────────────────────────────────────────────", + " Outputs information about your system.", + "", + " Usage: webpack info|i [options]", + "", + " Options", + " ──────────────────────────────────────────────────────────────────────────", + " -o, --output Get output in a specified format (json or", + " markdown).", + " -a, --additional-package Adds additional packages to the output.", + "", + " Global options", + " ──────────────────────────────────────────────────────────────────────────", + " --color Enable colors on console.", + " --no-color Disable colors on console.", + " -v, --version Output the version number.", + " -h, --help [verbose] Display help for commands and options.", + "", + " ──────────────────────────────────────────────────────────────────────────", + " ℹ Run 'webpack help info --verbose' to see all available options.", + "", +] +`; + +exports[`renderError should match snapshot 1`] = ` +[ + " ✖ something went wrong", +] +`; + +exports[`renderFooter should match snapshot (default) 1`] = ` +[ + " ℹ Run 'webpack --help=verbose' to see all available commands and options.", + "", + " Webpack documentation: https://webpack.js.org/", + " CLI documentation: https://webpack.js.org/api/cli/", + " Made with ♥ by the webpack team", + "", +] +`; + +exports[`renderFooter should match snapshot (verbose) 1`] = ` +[ + "", + " Webpack documentation: https://webpack.js.org/", + " CLI documentation: https://webpack.js.org/api/cli/", + " Made with ♥ by the webpack team", + "", +] +`; + +exports[`renderInfo should match snapshot 1`] = ` +[ + " ℹ just so you know", +] +`; + +exports[`renderInfoOutput should match full output snapshot 1`] = ` +[ + "", + " ⬡ System", + " ──────────────────────────────────────────────────────────────────────────", + " OS macOS 14.0", + " CPU Apple M2", + " Memory 16 GB", + " ──────────────────────────────────────────────────────────────────────────", + "", + " ⬡ Binaries", + " ──────────────────────────────────────────────────────────────────────────", + " Node 20.1.0", + " npm 9.6.7", + " pnpm Not Found", + " ──────────────────────────────────────────────────────────────────────────", + "", + " ⬡ Packages", + " ──────────────────────────────────────────────────────────────────────────", + " webpack ^5.105.4 => 5.105.4", + " webpack-cli ^6.0.0 => 6.0.1", + " webpack-dev-server ^5.1.0 => 5.2.3", + " ──────────────────────────────────────────────────────────────────────────", + "", +] +`; + +exports[`renderOptionHelp should match snapshot with all fields 1`] = ` +[ + "", + " ⬡ --mode", + " ──────────────────────────────────────────────────────────────────────────", + " Usage webpack --mode ", + " Description Enable production optimizations or development hints.", + " Documentation https://webpack.js.org/option/mode/", + " Possible values 'development' | 'production' | 'none'", + " ──────────────────────────────────────────────────────────────────────────", + "", +] +`; + +exports[`renderStatsOutput should match snapshot for failed build 1`] = ` +[ + " + ERROR in ./src/index.js + Module not found: './missing'", + "", + " ✖ Compilation failed: 1 error", +] +`; + +exports[`renderStatsOutput should match snapshot for successful build 1`] = ` +[ + " + asset main.js 2 KiB [emitted]", + "", + " ✔ Compiled successfully in 120ms", +] +`; + +exports[`renderSuccess should match snapshot 1`] = ` +[ + " ✔ all good", +] +`; + +exports[`renderVersionOutput should match full output snapshot 1`] = ` +[ + "", + " ⬡ System", + " ──────────────────────────────────────────────────────────────────────────", + " OS macOS 14.0", + " CPU Apple M2", + " Memory 16 GB", + " ──────────────────────────────────────────────────────────────────────────", + "", + " ⬡ Binaries", + " ──────────────────────────────────────────────────────────────────────────", + " Node 20.1.0", + " npm 9.6.7", + " pnpm Not Found", + " ──────────────────────────────────────────────────────────────────────────", + "", + " ⬡ Packages", + " ──────────────────────────────────────────────────────────────────────────", + " webpack ^5.105.4 → 5.105.4", + " webpack-cli ^6.0.0 → 6.0.1", + " webpack-dev-server ^5.1.0 → 5.2.3", + " ──────────────────────────────────────────────────────────────────────────", +] +`; + +exports[`renderWarning should match snapshot 1`] = ` +[ + " ⚠ watch out", +] +`; diff --git a/test/api/ui-renderer.test.js b/test/api/ui-renderer.test.js new file mode 100644 index 00000000000..a63ef2c2061 --- /dev/null +++ b/test/api/ui-renderer.test.js @@ -0,0 +1,749 @@ +const { + INDENT, + MAX_WIDTH, + parseEnvinfoSections, + renderAliasHelp, + renderCommandFooter, + renderCommandHeader, + renderCommandHelp, + renderError, + renderFooter, + renderInfo, + renderInfoOutput, + renderOptionHelp, + renderStatsOutput, + renderSuccess, + renderVersionOutput, + renderWarning, +} = require("../../packages/webpack-cli/lib/ui-renderer"); + +const stripAnsi = (str) => str.replaceAll(/\u001B\[[0-9;]*m/g, ""); + +const makeOpts = (columns = 80) => { + const lines = []; + return { + captured: lines, + opts: { + columns, + log: (line) => lines.push(line), + colors: { + bold: (s) => s, + cyan: (s) => s, + blue: (s) => s, + yellow: (s) => s, + green: (s) => s, + red: (s) => s, + }, + }, + }; +}; + +const getOutput = (lines) => lines.join("\n"); + +const ENVINFO_FIXTURE = ` + System: + OS: macOS 14.0 + CPU: Apple M2 + Memory: 16 GB + + Binaries: + Node: 20.1.0 + npm: 9.6.7 + pnpm: Not Found + + Packages: + webpack: ^5.105.4 => 5.105.4 + webpack-cli: ^6.0.0 => 6.0.1 + webpack-dev-server: ^5.1.0 => 5.2.3 +`; + +const COMMAND_HELP_BUILD = { + name: "build", + usage: "webpack build|bundle|b [entries...] [options]", + description: "Run webpack (default command, can be omitted).", + options: [ + { + flags: "-c, --config ", + description: "Provide path to one or more webpack configuration files.", + }, + { + flags: "--config-name ", + description: + "Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations.", + }, + { + flags: "-m, --merge", + description: "Merge two or more configurations using 'webpack-merge'.", + }, + { + flags: "--mode ", + description: "Enable production optimizations or development hints.", + }, + { + flags: "-o, --output-path ", + description: "The output directory as absolute path (required).", + }, + { flags: "-w, --watch", description: "Enter watch mode, which rebuilds on file change." }, + ], + globalOptions: [ + { flags: "--color", description: "Enable colors on console." }, + { flags: "--no-color", description: "Disable colors on console." }, + { flags: "-v, --version", description: "Output the version number." }, + { flags: "-h, --help [verbose]", description: "Display help for commands and options." }, + ], +}; + +const COMMAND_HELP_INFO = { + name: "info", + usage: "webpack info|i [options]", + description: "Outputs information about your system.", + options: [ + { + flags: "-o, --output ", + description: "Get output in a specified format (json or markdown).", + }, + { + flags: "-a, --additional-package ", + description: "Adds additional packages to the output.", + }, + ], + globalOptions: COMMAND_HELP_BUILD.globalOptions, +}; + +describe("renderVersionOutput", () => { + it("should render section title", () => { + const { captured, opts } = makeOpts(); + renderVersionOutput(ENVINFO_FIXTURE, opts); + expect(getOutput(captured)).toContain("Packages"); + }); + + it("should render package names", () => { + const { captured, opts } = makeOpts(); + renderVersionOutput(ENVINFO_FIXTURE, opts); + const output = getOutput(captured); + expect(output).toContain("webpack"); + expect(output).toContain("webpack-cli"); + }); + + it("should render the → arrow for range => resolved rows", () => { + const { captured, opts } = makeOpts(); + renderVersionOutput(ENVINFO_FIXTURE, opts); + expect(getOutput(captured)).toContain("→"); + }); + + it("should render requested range and resolved version separately", () => { + const { captured, opts } = makeOpts(); + renderVersionOutput(ENVINFO_FIXTURE, opts); + const output = getOutput(captured); + expect(output).toContain("^5.105.4"); + expect(output).toContain("5.105.4"); + expect(output).not.toContain("=>"); + }); + + it("should emit exactly one closing divider per section — not two", () => { + const { captured, opts } = makeOpts(); + renderVersionOutput(ENVINFO_FIXTURE, opts); + let consecutiveDividers = 0; + for (let i = 1; i < captured.length; i++) { + if (/─{10,}/.test(captured[i]) && /─{10,}/.test(captured[i - 1])) { + consecutiveDividers++; + } + } + expect(consecutiveDividers).toBe(0); + }); + + it("should not overflow terminal width", () => { + const { captured, opts } = makeOpts(80); + renderVersionOutput(ENVINFO_FIXTURE, opts); + const overflowing = captured.filter((l) => stripAnsi(l).length > 82); + expect(overflowing).toHaveLength(0); + }); + + it("should align all package names to the same column", () => { + const { captured, opts } = makeOpts(); + renderVersionOutput(ENVINFO_FIXTURE, opts); + const versionLines = captured.filter((l) => stripAnsi(l).includes("→")); + const arrowPositions = versionLines.map((l) => stripAnsi(l).indexOf("→")); + expect(new Set(arrowPositions).size).toBe(1); + }); + + it("should match full output snapshot", () => { + const { captured, opts } = makeOpts(); + renderVersionOutput(ENVINFO_FIXTURE, opts); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderCommandHelp", () => { + it("should render the command name in the header", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + expect(getOutput(captured)).toContain("webpack build"); + }); + + it("should render the command description", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + expect(getOutput(captured)).toContain("Run webpack"); + }); + + it("should render the Usage line with aliases", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + expect(getOutput(captured)).toContain("build|bundle|b"); + }); + + it("should render all option flags", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + const output = getOutput(captured); + expect(output).toContain("--config"); + expect(output).toContain("--mode"); + expect(output).toContain("--watch"); + }); + + it("should render all option descriptions", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + const output = getOutput(captured); + expect(output).toContain("Provide path"); + expect(output).toContain("watch mode"); + }); + + it("should render the Options section header", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + expect(getOutput(captured)).toContain("Options"); + }); + + it("should render the Global options section header", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + expect(getOutput(captured)).toContain("Global options"); + }); + + it("should render global option flags", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + expect(getOutput(captured)).toContain("--color"); + expect(getOutput(captured)).toContain("--no-color"); + }); + + it("should use the same column width for Options and Global options", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + const optionLines = captured.filter((l) => stripAnsi(l).startsWith(" -")); + const descStarts = optionLines + .map((l) => { + const stripped = stripAnsi(l); + const match = stripped.match(/^ {2}\S.*? +/); + return match ? match[0].length : null; + }) + .filter((n) => n !== null); + expect(new Set(descStarts).size).toBe(1); + }); + + it("should wrap long descriptions within terminal width", async () => { + const longDesc = { + ...COMMAND_HELP_BUILD, + options: [{ flags: "--very-long-option-name", description: "A ".repeat(80).trim() }], + }; + const { captured, opts } = makeOpts(80); + await renderCommandHelp(longDesc, opts, false); + const overflowing = captured.filter((l) => stripAnsi(l).length > 82); + expect(overflowing).toHaveLength(0); + }); + + it("should work for the info command", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_INFO, opts, false); + const output = getOutput(captured); + expect(output).toContain("webpack info"); + expect(output).toContain("--output"); + expect(output).toContain("--additional-package"); + }); + + it("should not overflow terminal width", async () => { + const { captured, opts } = makeOpts(80); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + const overflowing = captured.filter((l) => stripAnsi(l).length > 82); + expect(overflowing).toHaveLength(0); + }); + + it("should not paginate when paginate=false even with many options", async () => { + const manyOptions = Array.from({ length: 40 }, (_, i) => ({ + flags: `--option-${i}`, + description: `Description for option ${i}`, + })); + const { captured, opts } = makeOpts(); + await renderCommandHelp({ ...COMMAND_HELP_BUILD, options: manyOptions }, opts, false); + expect(captured.filter((l) => l.includes("--option-"))).toHaveLength(40); + }); + + it("should match full output snapshot for build command", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + expect(captured).toMatchSnapshot(); + }); + + it("should match full output snapshot for info command", async () => { + const { captured, opts } = makeOpts(); + await renderCommandHelp(COMMAND_HELP_INFO, opts, false); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderCommandHeader", () => { + it("should render 'webpack ' in the header", () => { + const { captured, opts } = makeOpts(); + renderCommandHeader({ name: "build", description: "Compiling." }, opts); + expect(getOutput(captured)).toContain("webpack build"); + }); + + it("should render the description", () => { + const { captured, opts } = makeOpts(); + renderCommandHeader({ name: "build", description: "Compiling." }, opts); + expect(getOutput(captured)).toContain("Compiling."); + }); + + it("should render a divider", () => { + const { captured, opts } = makeOpts(); + renderCommandHeader({ name: "build", description: "Compiling." }, opts); + expect(captured.some((l) => /─{10,}/.test(l))).toBe(true); + }); + + it("should include the ⬡ icon", () => { + const { captured, opts } = makeOpts(); + renderCommandHeader({ name: "build", description: "Compiling." }, opts); + expect(getOutput(captured)).toContain("⬡"); + }); + + it("should omit description block when empty", () => { + const { captured, opts } = makeOpts(); + renderCommandHeader({ name: "build", description: "" }, opts); + const nonEmpty = captured.filter((l) => l.trim().length > 0); + expect(nonEmpty).toHaveLength(2); // icon+title + divider + }); + + it("should cap divider at MAX_WIDTH on wide terminals", () => { + const { captured, opts } = makeOpts(300); + renderCommandHeader({ name: "build", description: "Building." }, opts); + const div = captured.find((l) => /─{10,}/.test(l)); + expect(stripAnsi(div).length).toBeLessThanOrEqual(INDENT + MAX_WIDTH); + }); + + it("should match snapshot", () => { + const { captured, opts } = makeOpts(); + renderCommandHeader({ name: "build", description: "Compiling." }, opts); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderCommandFooter", () => { + it("should render a divider", () => { + const { captured, opts } = makeOpts(); + renderCommandFooter(opts); + expect(captured.some((l) => /─{10,}/.test(l))).toBe(true); + }); + + it("should end with a blank line", () => { + const { captured, opts } = makeOpts(); + renderCommandFooter(opts); + expect(captured[captured.length - 1]).toBe(""); + }); + + it("header and footer dividers should be the same length", () => { + const hCapture = makeOpts(80); + renderCommandHeader({ name: "build", description: "" }, hCapture.opts); + const hDiv = hCapture.captured.find((l) => /─{10,}/.test(l)); + + const fCapture = makeOpts(80); + renderCommandFooter(fCapture.opts); + const fDiv = fCapture.captured.find((l) => /─{10,}/.test(l)); + + expect(stripAnsi(hDiv)).toHaveLength(stripAnsi(fDiv).length); + }); + + it("should match snapshot", () => { + const { captured, opts } = makeOpts(); + renderCommandFooter(opts); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderStatsOutput", () => { + it("should indent each line of the stats string", () => { + const { captured, opts } = makeOpts(); + renderStatsOutput("asset main.js 2 KiB [emitted]", { success: true, message: "OK" }, opts); + const statsEntry = captured.find((line) => line.includes("asset main.js")); + expect(statsEntry).toBeDefined(); + const firstContentLine = statsEntry.split("\n").find((line) => line.includes("asset main.js")); + expect(firstContentLine.startsWith(" ".repeat(INDENT))).toBe(true); + }); + + it("should render success summary with ✔", () => { + const { captured, opts } = makeOpts(); + renderStatsOutput("", { success: true, message: "Compiled successfully" }, opts); + expect(getOutput(captured)).toContain("✔"); + expect(getOutput(captured)).toContain("Compiled successfully"); + }); + + it("should render error summary with ✖", () => { + const { captured, opts } = makeOpts(); + renderStatsOutput("", { success: false, message: "Build failed" }, opts); + expect(getOutput(captured)).toContain("✖"); + expect(getOutput(captured)).toContain("Build failed"); + }); + + it("should handle empty stats string gracefully", () => { + const { captured, opts } = makeOpts(); + expect(() => renderStatsOutput("", null, opts)).not.toThrow(); + expect(captured).toHaveLength(0); + }); + + it("should handle whitespace-only stats string", () => { + const { captured, opts } = makeOpts(); + renderStatsOutput(" \n ", null, opts); + expect(captured).toHaveLength(0); + }); + + it("should match snapshot for successful build", () => { + const { captured, opts } = makeOpts(); + renderStatsOutput( + "asset main.js 2 KiB [emitted]", + { success: true, message: "Compiled successfully in 120ms" }, + opts, + ); + expect(captured).toMatchSnapshot(); + }); + + it("should match snapshot for failed build", () => { + const { captured, opts } = makeOpts(); + renderStatsOutput( + "ERROR in ./src/index.js\nModule not found: './missing'", + { success: false, message: "Compilation failed: 1 error" }, + opts, + ); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderOptionHelp", () => { + it("should render option name in header", () => { + const { captured, opts } = makeOpts(); + renderOptionHelp( + { + optionName: "--mode", + usage: "webpack --mode ", + docUrl: "https://webpack.js.org/option/mode/", + }, + opts, + ); + expect(getOutput(captured)).toContain("--mode"); + }); + + it("should render dividers", () => { + const { captured, opts } = makeOpts(); + renderOptionHelp( + { + optionName: "--mode", + usage: "webpack --mode ", + docUrl: "https://webpack.js.org/option/mode/", + }, + opts, + ); + expect(captured.filter((l) => /─{10,}/.test(l)).length).toBeGreaterThanOrEqual(2); + }); + + it("should render Usage row", () => { + const { captured, opts } = makeOpts(); + renderOptionHelp( + { + optionName: "--mode", + usage: "webpack --mode ", + docUrl: "https://webpack.js.org/option/mode/", + }, + opts, + ); + expect(getOutput(captured)).toContain("Usage"); + }); + + it("should render Short row when provided", () => { + const { captured, opts } = makeOpts(); + renderOptionHelp( + { + optionName: "--devtool", + usage: "webpack --devtool ", + short: "webpack -d ", + docUrl: "https://webpack.js.org/option/devtool/", + }, + opts, + ); + expect(getOutput(captured)).toContain("Short"); + }); + + it("should not render Short row when absent", () => { + const { captured, opts } = makeOpts(); + renderOptionHelp( + { + optionName: "--mode", + usage: "webpack --mode ", + docUrl: "https://webpack.js.org/option/mode/", + }, + opts, + ); + expect(getOutput(captured)).not.toContain("Short"); + }); + + it("should render Description when provided", () => { + const { captured, opts } = makeOpts(); + renderOptionHelp( + { + optionName: "--mode", + usage: "webpack --mode ", + description: "Set the mode.", + docUrl: "https://webpack.js.org/option/mode/", + }, + opts, + ); + expect(getOutput(captured)).toContain("Set the mode."); + }); + + it("should render Possible values when provided", () => { + const { captured, opts } = makeOpts(); + renderOptionHelp( + { + optionName: "--mode", + usage: "webpack --mode ", + docUrl: "https://webpack.js.org/option/mode/", + possibleValues: "'development' | 'production' | 'none'", + }, + opts, + ); + expect(getOutput(captured)).toContain("'development'"); + }); + + it("should cap divider width at MAX_WIDTH", () => { + const { captured, opts } = makeOpts(200); + renderOptionHelp( + { + optionName: "--mode", + usage: "webpack --mode ", + docUrl: "https://webpack.js.org/option/mode/", + }, + opts, + ); + const div = captured.find((l) => /─{10,}/.test(l)); + expect(stripAnsi(div).length).toBeLessThanOrEqual(INDENT + MAX_WIDTH); + }); + + it("should match snapshot with all fields", () => { + const { captured, opts } = makeOpts(); + renderOptionHelp( + { + optionName: "--mode", + usage: "webpack --mode ", + description: "Enable production optimizations or development hints.", + docUrl: "https://webpack.js.org/option/mode/", + possibleValues: "'development' | 'production' | 'none'", + }, + opts, + ); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderAliasHelp", () => { + const base = { + optionName: "--config", + usage: "webpack --config ", + short: "webpack -c ", + description: "Provide path to a webpack configuration file.", + docUrl: "https://webpack.js.org/option/config/", + }; + + it("should show alias, canonical, arrow and alias-for label", () => { + const { captured, opts } = makeOpts(); + renderAliasHelp({ alias: "-c", canonical: "--config", optionHelp: base }, opts); + const output = getOutput(captured); + expect(output).toContain("-c"); + expect(output).toContain("--config"); + expect(output).toContain("→"); + expect(output).toContain("alias for"); + }); + + it("should render full option help after redirect", () => { + const { captured, opts } = makeOpts(); + renderAliasHelp({ alias: "-c", canonical: "--config", optionHelp: base }, opts); + expect(getOutput(captured)).toContain("Usage"); + expect(getOutput(captured)).toContain("Documentation"); + }); + + it("should match snapshot", () => { + const { captured, opts } = makeOpts(); + renderAliasHelp({ alias: "-c", canonical: "--config", optionHelp: base }, opts); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderError", () => { + it("outputs message with ✖", () => { + const { captured, opts } = makeOpts(); + renderError("something went wrong", opts); + expect(getOutput(captured)).toContain("✖"); + expect(getOutput(captured)).toContain("something went wrong"); + }); + + it("should match snapshot", () => { + const { captured, opts } = makeOpts(); + renderError("something went wrong", opts); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderSuccess", () => { + it("outputs message with ✔", () => { + const { captured, opts } = makeOpts(); + renderSuccess("all good", opts); + expect(getOutput(captured)).toContain("✔"); + expect(getOutput(captured)).toContain("all good"); + }); + + it("should match snapshot", () => { + const { captured, opts } = makeOpts(); + renderSuccess("all good", opts); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderWarning", () => { + it("outputs message with ⚠", () => { + const { captured, opts } = makeOpts(); + renderWarning("watch out", opts); + expect(getOutput(captured)).toContain("⚠"); + expect(getOutput(captured)).toContain("watch out"); + }); + + it("should match snapshot", () => { + const { captured, opts } = makeOpts(); + renderWarning("watch out", opts); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderInfo", () => { + it("outputs message with ℹ", () => { + const { captured, opts } = makeOpts(); + renderInfo("just so you know", opts); + expect(getOutput(captured)).toContain("ℹ"); + expect(getOutput(captured)).toContain("just so you know"); + }); + + it("should match snapshot", () => { + const { captured, opts } = makeOpts(); + renderInfo("just so you know", opts); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("parseEnvinfoSections", () => { + it("returns one section per heading", () => { + const sections = parseEnvinfoSections(ENVINFO_FIXTURE); + expect(sections.map((s) => s.title)).toEqual(["System", "Binaries", "Packages"]); + }); + + it("parses key/value rows correctly", () => { + const sections = parseEnvinfoSections(ENVINFO_FIXTURE); + const system = sections.find((s) => s.title === "System"); + expect(system.rows).toEqual( + expect.arrayContaining([expect.objectContaining({ label: "OS", value: "macOS 14.0" })]), + ); + }); + + it("returns empty array for empty string", () => { + expect(parseEnvinfoSections("")).toHaveLength(0); + }); + + it("skips sections with no parseable rows", () => { + const sections = parseEnvinfoSections("\n Empty:\n\n Real:\n Key: value\n"); + const titles = sections.map((s) => s.title); + expect(titles).not.toContain("Empty"); + expect(titles).toContain("Real"); + }); + + it("should match snapshot", () => { + const sections = parseEnvinfoSections(ENVINFO_FIXTURE); + // strip color functions — not serialisable in snapshots + const serialisable = sections.map((s) => ({ + title: s.title, + rows: s.rows.map(({ label, value }) => ({ label, value })), + })); + expect(serialisable).toMatchSnapshot(); + }); +}); + +describe("renderInfoOutput", () => { + it("renders section headers and key/value rows", () => { + const { captured, opts } = makeOpts(); + renderInfoOutput(ENVINFO_FIXTURE, opts); + const output = getOutput(captured); + expect(output).toContain("System"); + expect(output).toContain("OS"); + expect(output).toContain("macOS 14.0"); + }); + + it("does not overflow terminal width", () => { + const { captured, opts } = makeOpts(80); + renderInfoOutput(ENVINFO_FIXTURE, opts); + expect(captured.filter((l) => stripAnsi(l).length > 82)).toHaveLength(0); + }); + + it("produces no meaningful output for empty input", () => { + const { captured, opts } = makeOpts(); + renderInfoOutput("", opts); + expect(captured.filter((l) => l.trim().length > 0)).toHaveLength(0); + }); + + it("should match full output snapshot", () => { + const { captured, opts } = makeOpts(); + renderInfoOutput(ENVINFO_FIXTURE, opts); + expect(captured).toMatchSnapshot(); + }); +}); + +describe("renderFooter", () => { + it("shows verbose hint by default, not when verbose=true", () => { + const { captured: a, opts: optsA } = makeOpts(); + renderFooter(optsA); + expect(getOutput(a)).toContain("--help=verbose"); + + const { captured: b, opts: optsB } = makeOpts(); + renderFooter(optsB, { verbose: true }); + expect(getOutput(b)).not.toContain("--help=verbose"); + }); + + it("shows webpack and CLI docs URLs", () => { + const { captured, opts } = makeOpts(); + renderFooter(opts); + expect(getOutput(captured)).toContain("https://webpack.js.org/"); + expect(getOutput(captured)).toContain("https://webpack.js.org/api/cli/"); + }); + + it("shows made with webpack team message", () => { + const { captured, opts } = makeOpts(); + renderFooter(opts); + expect(getOutput(captured)).toContain("webpack team"); + }); + + it("should match snapshot (default)", () => { + const { captured, opts } = makeOpts(); + renderFooter(opts); + expect(captured).toMatchSnapshot(); + }); + + it("should match snapshot (verbose)", () => { + const { captured, opts } = makeOpts(); + renderFooter(opts, { verbose: true }); + expect(captured).toMatchSnapshot(); + }); +}); From a9388a81fe1f1da0d254b90e3b9ac0e26ecfdd1a Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Tue, 14 Apr 2026 21:24:59 +0300 Subject: [PATCH 06/15] test(utils): implement stripRendererChrome utility for legacy test support --- test/utils/test-utils.js | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/test/utils/test-utils.js b/test/utils/test-utils.js index 16d8883eb87..f9b197d8b0e 100644 --- a/test/utils/test-utils.js +++ b/test/utils/test-utils.js @@ -234,6 +234,53 @@ const runPromptWithAnswers = async (cwd, args, answers = [], options = {}) => { }); }; +/** + * Strips webpack-cli UI renderer chrome from stdout/stderr so that + * tests written before the renderer was introduced continue to work + * without modification. + * + * Removes: + * - Command header block (⬡ webpack \n───\n\n) + * - Command footer block (───\n) + * - Status prefix icons (✔ / ✖ / ⚠ / ℹ at line start) + * - Divider lines (lines that are only ─ chars + whitespace) + * - The 2-space indent that the renderer adds to every stats line + * + * The result is what the CLI would have printed before the renderer + * existed, so legacy assertions keep working unchanged. + * @param {string} str The raw output string from the CLI. + * @returns {string} The sanitized string with UI chrome removed. + */ +function stripRendererChrome(str) { + if (!str) return str; + + return ( + str + .split("\n") + // Drop divider lines + .filter((line) => !/^\s*─{10,}\s*$/.test(line)) + // Drop command header lines ⬡ webpack build + .filter((line) => !/^\s*⬡\s+webpack\s+\w/.test(line)) + // Convert section headers " ⬡ System" → " System:" + // so legacy toContain("System:") assertions still pass + .map((line) => line.replace(/^\s{2}⬡\s+(.+)$/, (_, title) => ` ${title}:`)) + // Drop known command description lines + .filter( + (line) => + !/^\s*(Compiling your application|Watching for file changes|Starting the development server|Validating your webpack configuration|Installed package versions|System and environment information)\s*[….]?\s*$/.test( + line, + ), + ) + // Drop status icon prefixes but keep the message + .map((line) => line.replace(/^\s{2}[✔✖⚠ℹ]\s+/, "")) + // Strip the 2-space indent the renderer adds to stats lines + .map((line) => (line.startsWith(" ") ? line.slice(2) : line)) + .join("\n") + .replaceAll(/\n{3,}/g, "\n\n") + .trim() + ); +} + const normalizeVersions = (output) => output.replaceAll( /(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?/gi, @@ -260,6 +307,7 @@ const normalizeStdout = (stdout) => { } let normalizedStdout = stripVTControlCharacters(stdout); + normalizedStdout = stripRendererChrome(normalizedStdout); normalizedStdout = normalizeCwd(normalizedStdout); normalizedStdout = normalizeVersions(normalizedStdout); normalizedStdout = normalizeError(normalizedStdout); @@ -280,6 +328,7 @@ const normalizeStderr = (stderr) => { } let normalizedStderr = stripVTControlCharacters(stderr); + normalizedStderr = stripRendererChrome(normalizedStderr); normalizedStderr = normalizeCwd(normalizedStderr); normalizedStderr = normalizedStderr.replaceAll(IPV4, "x.x.x.x"); @@ -392,5 +441,6 @@ module.exports = { run, runPromptWithAnswers, runWatch, + stripRendererChrome, uniqueDirectoryForTest, }; From a13f275b75912eed29cd361b28694e4ddbd38e6d Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Tue, 14 Apr 2026 21:30:45 +0300 Subject: [PATCH 07/15] test(cli): update snapshot and implement sanitization of stdout --- .../config-array-error.test.js.snap.webpack5 | 4 +- .../config-error.test.js.snap.webpack5 | 4 +- .../with-config-path.test.js.snap.webpack5 | 32 +- .../without-config-path.test.js.snap.webpack5 | 4 +- ...ut-config-path-error.test.js.snap.webpack5 | 13 +- ...-multi-compiler-mode.test.js.snap.webpack5 | 4 +- ...ath-no-configuration.test.js.snap.webpack5 | 4 +- .../without-config-path.test.js.snap.webpack5 | 4 +- .../external-command/external-command.test.js | 12 +- .../help.test.js.snap.devServer5.webpack5 | 18951 ++++++++++++++-- test/info/additional-package.test.js | 10 +- test/info/basic.test.js | 10 +- test/info/output.test.js | 6 +- ...id-schema.test.js.snap.devServer5.webpack5 | 32 +- test/version/basic.test.js | 8 +- test/version/output.test.js | 6 +- 16 files changed, 16836 insertions(+), 2268 deletions(-) diff --git a/test/build/config/error-array/__snapshots__/config-array-error.test.js.snap.webpack5 b/test/build/config/error-array/__snapshots__/config-array-error.test.js.snap.webpack5 index 3b3b72ef37d..a495b0c60a1 100644 --- a/test/build/config/error-array/__snapshots__/config-array-error.test.js.snap.webpack5 +++ b/test/build/config/error-array/__snapshots__/config-array-error.test.js.snap.webpack5 @@ -3,8 +3,8 @@ exports[`config with invalid array syntax should throw syntax error and exit with non-zero exit code when even 1 object has syntax error 1`] = ` "[webpack-cli] Failed to load './webpack.config.js' config ▶ ESM (\`import\`) failed: - Unexpected token ';' +Unexpected token ';' ▶ CJS (\`require\`) failed: - Unexpected token ';'" +Unexpected token ';'" `; diff --git a/test/build/config/error-commonjs/__snapshots__/config-error.test.js.snap.webpack5 b/test/build/config/error-commonjs/__snapshots__/config-error.test.js.snap.webpack5 index cfa64d5bab4..8c577ff96b6 100644 --- a/test/build/config/error-commonjs/__snapshots__/config-error.test.js.snap.webpack5 +++ b/test/build/config/error-commonjs/__snapshots__/config-error.test.js.snap.webpack5 @@ -3,8 +3,8 @@ exports[`config with errors should throw syntax error and exit with non-zero exit code 1`] = ` "[webpack-cli] Failed to load '/test/build/config/error-commonjs/syntax-error.js' config ▶ ESM (\`import\`) failed: - Unexpected token ';' +Unexpected token ';' ▶ CJS (\`require\`) failed: - Unexpected token ';'" +Unexpected token ';'" `; diff --git a/test/configtest/with-config-path/__snapshots__/with-config-path.test.js.snap.webpack5 b/test/configtest/with-config-path/__snapshots__/with-config-path.test.js.snap.webpack5 index f97b3daecd6..9556fc9aaa7 100644 --- a/test/configtest/with-config-path/__snapshots__/with-config-path.test.js.snap.webpack5 +++ b/test/configtest/with-config-path/__snapshots__/with-config-path.test.js.snap.webpack5 @@ -7,35 +7,37 @@ exports[`'configtest' command with the configuration path option should throw er exports[`'configtest' command with the configuration path option should throw syntax error: stderr 1`] = ` "[webpack-cli] Failed to load './syntax-error.config.js' config ▶ ESM (\`import\`) failed: - Unexpected token ';' +Unexpected token ';' ▶ CJS (\`require\`) failed: - Unexpected token ';'" +Unexpected token ';'" `; exports[`'configtest' command with the configuration path option should throw syntax error: stdout 1`] = `""`; -exports[`'configtest' command with the configuration path option should throw validation error: stderr 1`] = ` -"[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. +exports[`'configtest' command with the configuration path option should throw validation error: stderr 1`] = `""`; + +exports[`'configtest' command with the configuration path option should throw validation error: stdout 1`] = ` +"Validating: ./error.config.js +Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. - configuration.mode should be one of these: - "development" | "production" | "none" - -> Enable production optimizations or development hints." + "development" | "production" | "none" + -> Enable production optimizations or development hints." `; -exports[`'configtest' command with the configuration path option should throw validation error: stdout 1`] = `"[webpack-cli] Validate './error.config.js'."`; +exports[`'configtest' command with the configuration path option should validate the config with alias 't': stderr 1`] = `""`; -exports[`'configtest' command with the configuration path option should validate the config with alias 't': stderr 1`] = ` -"[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. +exports[`'configtest' command with the configuration path option should validate the config with alias 't': stdout 1`] = ` +"Validating: ./error.config.js +Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. - configuration.mode should be one of these: - "development" | "production" | "none" - -> Enable production optimizations or development hints." + "development" | "production" | "none" + -> Enable production optimizations or development hints." `; -exports[`'configtest' command with the configuration path option should validate the config with alias 't': stdout 1`] = `"[webpack-cli] Validate './error.config.js'."`; - exports[`'configtest' command with the configuration path option should validate webpack config successfully: stderr 1`] = `""`; exports[`'configtest' command with the configuration path option should validate webpack config successfully: stdout 1`] = ` -"[webpack-cli] Validate './basic.config.js'. -[webpack-cli] There are no validation errors in the given webpack configuration." +"Validating: ./basic.config.js +No validation errors found." `; diff --git a/test/configtest/without-config-path-custom-extension/__snapshots__/without-config-path.test.js.snap.webpack5 b/test/configtest/without-config-path-custom-extension/__snapshots__/without-config-path.test.js.snap.webpack5 index ad0ccb9e75c..730c317f9a1 100644 --- a/test/configtest/without-config-path-custom-extension/__snapshots__/without-config-path.test.js.snap.webpack5 +++ b/test/configtest/without-config-path-custom-extension/__snapshots__/without-config-path.test.js.snap.webpack5 @@ -3,6 +3,6 @@ exports[`'configtest' command without the configuration path option should validate default configuration: stderr 1`] = `""`; exports[`'configtest' command without the configuration path option should validate default configuration: stdout 1`] = ` -"[webpack-cli] Validate '/test/configtest/without-config-path-custom-extension/webpack.config.json'. -[webpack-cli] There are no validation errors in the given webpack configuration." +"Validating: /test/configtest/without-config-path-custom-extension/webpack.config.json +No validation errors found." `; diff --git a/test/configtest/without-config-path-error/__snapshots__/without-config-path-error.test.js.snap.webpack5 b/test/configtest/without-config-path-error/__snapshots__/without-config-path-error.test.js.snap.webpack5 index 1935057293c..220075016af 100644 --- a/test/configtest/without-config-path-error/__snapshots__/without-config-path-error.test.js.snap.webpack5 +++ b/test/configtest/without-config-path-error/__snapshots__/without-config-path-error.test.js.snap.webpack5 @@ -1,10 +1,11 @@ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing -exports[`'configtest' command without the configuration path option should validate default configuration: stderr 1`] = ` -"[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. +exports[`'configtest' command without the configuration path option should validate default configuration: stderr 1`] = `""`; + +exports[`'configtest' command without the configuration path option should validate default configuration: stdout 1`] = ` +"Validating: /test/configtest/without-config-path-error/webpack.config.js +Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. - configuration.mode should be one of these: - "development" | "production" | "none" - -> Enable production optimizations or development hints." + "development" | "production" | "none" + -> Enable production optimizations or development hints." `; - -exports[`'configtest' command without the configuration path option should validate default configuration: stdout 1`] = `"[webpack-cli] Validate '/test/configtest/without-config-path-error/webpack.config.js'."`; diff --git a/test/configtest/without-config-path-multi-compiler-mode/__snapshots__/without-config-path-multi-compiler-mode.test.js.snap.webpack5 b/test/configtest/without-config-path-multi-compiler-mode/__snapshots__/without-config-path-multi-compiler-mode.test.js.snap.webpack5 index c0d7f799622..15964952d74 100644 --- a/test/configtest/without-config-path-multi-compiler-mode/__snapshots__/without-config-path-multi-compiler-mode.test.js.snap.webpack5 +++ b/test/configtest/without-config-path-multi-compiler-mode/__snapshots__/without-config-path-multi-compiler-mode.test.js.snap.webpack5 @@ -3,6 +3,6 @@ exports[`'configtest' command without the configuration path option should validate default configuration: stderr 1`] = `""`; exports[`'configtest' command without the configuration path option should validate default configuration: stdout 1`] = ` -"[webpack-cli] Validate '/test/configtest/without-config-path-multi-compiler-mode/webpack.config.js'. -[webpack-cli] There are no validation errors in the given webpack configuration." +"Validating: /test/configtest/without-config-path-multi-compiler-mode/webpack.config.js +No validation errors found." `; diff --git a/test/configtest/without-config-path-no-configuration/__snapshots__/without-config-path-no-configuration.test.js.snap.webpack5 b/test/configtest/without-config-path-no-configuration/__snapshots__/without-config-path-no-configuration.test.js.snap.webpack5 index 644eaea3844..6d657afd6ce 100644 --- a/test/configtest/without-config-path-no-configuration/__snapshots__/without-config-path-no-configuration.test.js.snap.webpack5 +++ b/test/configtest/without-config-path-no-configuration/__snapshots__/without-config-path-no-configuration.test.js.snap.webpack5 @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing -exports[`'configtest' command without the configuration path option should validate default configuration: stderr 1`] = `"[webpack-cli] No configuration found."`; +exports[`'configtest' command without the configuration path option should validate default configuration: stderr 1`] = `""`; -exports[`'configtest' command without the configuration path option should validate default configuration: stdout 1`] = `""`; +exports[`'configtest' command without the configuration path option should validate default configuration: stdout 1`] = `"No configuration found."`; diff --git a/test/configtest/without-config-path/__snapshots__/without-config-path.test.js.snap.webpack5 b/test/configtest/without-config-path/__snapshots__/without-config-path.test.js.snap.webpack5 index 641a870ec09..26872ccb364 100644 --- a/test/configtest/without-config-path/__snapshots__/without-config-path.test.js.snap.webpack5 +++ b/test/configtest/without-config-path/__snapshots__/without-config-path.test.js.snap.webpack5 @@ -3,6 +3,6 @@ exports[`'configtest' command without the configuration path option should validate default configuration: stderr 1`] = `""`; exports[`'configtest' command without the configuration path option should validate default configuration: stdout 1`] = ` -"[webpack-cli] Validate '/test/configtest/without-config-path/webpack.config.js'. -[webpack-cli] There are no validation errors in the given webpack configuration." +"Validating: /test/configtest/without-config-path/webpack.config.js +No validation errors found." `; diff --git a/test/external-command/external-command.test.js b/test/external-command/external-command.test.js index 187814fad34..38b1ccd89f5 100644 --- a/test/external-command/external-command.test.js +++ b/test/external-command/external-command.test.js @@ -28,8 +28,10 @@ describe("external command", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("Usage: webpack custom-command|cc [options]"); - expect(stdout).toContain("-o, --output To get the output in a specified format"); + expect(stdout).toContain("Usage"); + expect(stdout).toContain("webpack custom-command|cc [options]"); + expect(stdout).toContain("-o, --output "); + expect(stdout).toContain("To get the output in a specified format"); }); it("should work with help for option", async () => { @@ -43,8 +45,10 @@ describe("external command", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("Usage: webpack custom-command --output "); - expect(stdout).toContain("Description: To get the output in a specified format"); + expect(stdout).toContain("Usage"); + expect(stdout).toContain("webpack custom-command --output "); + expect(stdout).toContain("Description"); + expect(stdout).toContain("To get the output in a specified format"); }); it("should handle errors in external commands", async () => { diff --git a/test/help/__snapshots__/help.test.js.snap.devServer5.webpack5 b/test/help/__snapshots__/help.test.js.snap.devServer5.webpack5 index 3449b88e5e7..fb25a8b2875 100644 --- a/test/help/__snapshots__/help.test.js.snap.devServer5.webpack5 +++ b/test/help/__snapshots__/help.test.js.snap.devServer5.webpack5 @@ -99,48 +99,49 @@ Alternative usage to run commands: webpack [command] [options] The build tool for modern web applications. Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. +-c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". +--config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. +-m, --merge Merge two or more configurations using 'webpack-merge'. +--env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. +--analyze It invokes webpack-bundle-analyzer plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a file. +--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config file. +-d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. Only the last one is exported. +-e, --extends Path to the configuration to be extended (only works when using webpack-cli). +--mode Enable production optimizations or development hints. +--name Name of the configuration. Used when loading multiple configurations. +-o, --output-path The output directory as **absolute path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file change. +--watch-options-stdin Stop watching when stdin stream has ended. +-h, --help [verbose] Display help for commands and options. Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. Commands: - build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). - configtest|t [config-path] Validate a webpack configuration. - help|h [command] [option] Display help for commands and options. - info|i [options] Outputs information about your system. - serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. - version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - watch|w [entries...] [options] Run webpack and watch for files changes. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). +configtest|t [options] [config-path] Validate a webpack configuration. +help|h [options] [command] [option] Display help for commands and options. +info|i [options] Outputs information about your system. +serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. +version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +watch|w [entries...] [options] Run webpack and watch for files changes. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information and respect the "--no-color" flag using the "--help" option: stderr 1`] = `""`; @@ -152,48 +153,49 @@ Alternative usage to run commands: webpack [command] [options] The build tool for modern web applications. Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. +-c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". +--config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. +-m, --merge Merge two or more configurations using 'webpack-merge'. +--env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. +--analyze It invokes webpack-bundle-analyzer plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a file. +--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config file. +-d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. Only the last one is exported. +-e, --extends Path to the configuration to be extended (only works when using webpack-cli). +--mode Enable production optimizations or development hints. +--name Name of the configuration. Used when loading multiple configurations. +-o, --output-path The output directory as **absolute path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file change. +--watch-options-stdin Stop watching when stdin stream has ended. +-h, --help [verbose] Display help for commands and options. Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. Commands: - build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). - configtest|t [config-path] Validate a webpack configuration. - help|h [command] [option] Display help for commands and options. - info|i [options] Outputs information about your system. - serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. - version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - watch|w [entries...] [options] Run webpack and watch for files changes. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). +configtest|t [options] [config-path] Validate a webpack configuration. +help|h [options] [command] [option] Display help for commands and options. +info|i [options] Outputs information about your system. +serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. +version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +watch|w [entries...] [options] Run webpack and watch for files changes. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information and taking precedence when "--help" and "--version" option using together: stderr 1`] = `""`; @@ -205,2141 +207,16652 @@ Alternative usage to run commands: webpack [command] [options] The build tool for modern web applications. Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. +-c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". +--config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. +-m, --merge Merge two or more configurations using 'webpack-merge'. +--env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. +--analyze It invokes webpack-bundle-analyzer plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a file. +--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config file. +-d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. Only the last one is exported. +-e, --extends Path to the configuration to be extended (only works when using webpack-cli). +--mode Enable production optimizations or development hints. +--name Name of the configuration. Used when loading multiple configurations. +-o, --output-path The output directory as **absolute path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file change. +--watch-options-stdin Stop watching when stdin stream has ended. +-h, --help [verbose] Display help for commands and options. Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. Commands: - build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). - configtest|t [config-path] Validate a webpack configuration. - help|h [command] [option] Display help for commands and options. - info|i [options] Outputs information about your system. - serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. - version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - watch|w [entries...] [options] Run webpack and watch for files changes. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). +configtest|t [options] [config-path] Validate a webpack configuration. +help|h [options] [command] [option] Display help for commands and options. +info|i [options] Outputs information about your system. +serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. +version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +watch|w [entries...] [options] Run webpack and watch for files changes. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'b' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 'b' command using command syntax: stdout 1`] = ` -"Usage: webpack build|bundle|b [entries...] [options] - -Run webpack (default command, can be omitted). - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack (default command, can be omitted). + +Usage: webpack build|bundle|b [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help build --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'b' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 'b' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack build|bundle|b [entries...] [options] - -Run webpack (default command, can be omitted). - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - --no-amd Negative 'amd' option. - --bail Report the first error as a hard error instead of tolerating it. - --no-bail Negative 'bail' option. - --cache Enable in memory caching. Disable caching. - --no-cache Negative 'cache' option. - --cache-cache-unaffected Additionally cache computation of modules that are unchanged and reference only unchanged modules. - --no-cache-cache-unaffected Negative 'cache-cache-unaffected' option. - --cache-max-generations Number of generations unused cache entries stay in memory cache +"Run webpack (default command, can be omitted). + +Usage: webpack build|bundle|b [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +--no-amd Negative 'amd' option. +--bail Report the first error as a hard error + instead of tolerating it. +--no-bail Negative 'bail' option. +--cache Enable in memory caching. Disable + caching. +--no-cache Negative 'cache' option. +--cache-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules. +--no-cache-cache-unaffected Negative 'cache-cache-unaffected' + option. +--cache-max-generations Number of generations unused cache + entries stay in memory cache at + minimum (1 = may be removed after + unused for a single compilation, ..., + Infinity: kept forever). +--cache-type In memory caching. Filesystem caching. +--cache-allow-collecting-memory Allows to collect unused memory + allocated during deserialization. This + requires copying data into smaller + buffers and has a performance cost. +--no-cache-allow-collecting-memory Negative + 'cache-allow-collecting-memory' + option. +--cache-cache-directory Base directory for the cache (defaults + to node_modules/.cache/webpack). +--cache-cache-location Locations for the cache (defaults to + cacheDirectory / name). +--cache-compression Compression type used for the cache + files. +--no-cache-compression Negative 'cache-compression' option. +--cache-hash-algorithm Algorithm used for generation the hash + (see node.js crypto package). +--cache-idle-timeout Time in ms after which idle period the + cache storing should happen. +--cache-idle-timeout-after-large-changes Time in ms after which idle period the + cache storing should happen when + larger changes has been detected + (cumulative build time > 2 x avg cache + store time). +--cache-idle-timeout-for-initial-store Time in ms after which idle period the + initial cache storing should happen. +--cache-immutable-paths A RegExp matching an immutable + directory (usually a package manager + cache directory, including the tailing + slash) A path to an immutable + directory (usually a package manager + cache directory). +--cache-immutable-paths-reset Clear all items provided in + 'cache.immutablePaths' configuration. + List of paths that are managed by a + package manager and contain a version + or hash in its path so all files are + immutable. +--cache-managed-paths A RegExp matching a managed directory + (usually a node_modules directory, + including the tailing slash) A path to + a managed directory (usually a + node_modules directory). +--cache-managed-paths-reset Clear all items provided in + 'cache.managedPaths' configuration. + List of paths that are managed by a + package manager and can be trusted to + not be modified otherwise. +--cache-max-age Time for which unused cache entries + stay in the filesystem cache at + minimum (in milliseconds). +--cache-max-memory-generations Number of generations unused cache + entries stay in memory cache at + minimum (0 = no memory cache used, 1 = + may be removed after unused for a + single compilation, ..., Infinity: + kept forever). Cache entries will be + deserialized from disk when removed + from memory cache. +--cache-memory-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules in + memory. +--no-cache-memory-cache-unaffected Negative + 'cache-memory-cache-unaffected' + option. +--cache-name Name for the cache. Different names + will lead to different coexisting + caches. +--cache-profile Track and log detailed timing + information for individual cache + items. +--no-cache-profile Negative 'cache-profile' option. +--cache-readonly Enable/disable readonly mode. +--no-cache-readonly Negative 'cache-readonly' option. +--cache-store When to store data to the filesystem. + (pack: Store data when compiler is + idle in a single file). +--cache-version Version of the cache data. Different + versions won't allow to reuse the + cache and override existing content. + Update the version when config changed + in a way which doesn't allow to reuse + cache. This will invalidate the cache. +--context The base directory (absolute path!) + for resolving the \`entry\` option. If + \`output.pathinfo\` is set, the included + pathinfo is shortened to this + directory. +--dependencies References to another configuration to + depend on. +--dependencies-reset Clear all items provided in + 'dependencies' configuration. + References to other configurations to + depend on. +--no-dev-server Negative 'dev-server' option. +--devtool-type Which asset type should receive this + devtool value. +--devtool-use A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool-use Negative 'devtool-use' option. +--devtool-reset Clear all items provided in 'devtool' + configuration. A developer tool to + enhance debugging (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--dotenv Enable Dotenv plugin with default + options. +--no-dotenv Negative 'dotenv' option. +--dotenv-dir The directory from which .env files + are loaded. Can be an absolute path, + false will disable the .env file + loading. +--no-dotenv-dir Negative 'dotenv-dir' option. +--dotenv-prefix A prefix that environment variables + must start with to be exposed. +--dotenv-prefix-reset Clear all items provided in + 'dotenv.prefix' configuration. Only + expose environment variables that + start with these prefixes. Defaults to + 'WEBPACK_'. +--dotenv-template A template pattern for .env file + names. +--dotenv-template-reset Clear all items provided in + 'dotenv.template' configuration. + Template patterns for .env file names. + Use [mode] as placeholder for the + webpack mode. Defaults to ['.env', + '.env.local', '.env.[mode]', + '.env.[mode].local']. +--entry A module that is loaded upon startup. + Only the last one is exported. +--entry-reset Clear all items provided in 'entry' + configuration. All modules are loaded + upon startup. The last one is + exported. +--experiments-async-web-assembly Support WebAssembly as asynchronous + EcmaScript Module. +--no-experiments-async-web-assembly Negative + 'experiments-async-web-assembly' + option. +--experiments-back-compat Enable backward-compat layer with + deprecation warnings for many webpack + 4 APIs. +--no-experiments-back-compat Negative 'experiments-back-compat' + option. +--experiments-build-http-allowed-uris Allowed URI pattern. Allowed URI + (resp. the beginning of it). +--experiments-build-http-allowed-uris-reset Clear all items provided in + 'experiments.buildHttp.allowedUris' + configuration. List of allowed URIs + (resp. the beginning of them). +--experiments-build-http-cache-location Location where resource content is + stored for lockfile entries. It's also + possible to disable storing by passing + false. +--no-experiments-build-http-cache-location Negative + 'experiments-build-http-cache-location + ' option. +--experiments-build-http-frozen When set, anything that would lead to + a modification of the lockfile or any + resource content, will result in an + error. +--no-experiments-build-http-frozen Negative + 'experiments-build-http-frozen' + option. +--experiments-build-http-lockfile-location Location of the lockfile. +--experiments-build-http-proxy Proxy configuration, which can be used + to specify a proxy server to use for + HTTP requests. +--experiments-build-http-upgrade When set, resources of existing + lockfile entries will be fetched and + entries will be upgraded when resource + content has changed. +--no-experiments-build-http-upgrade Negative + 'experiments-build-http-upgrade' + option. +--experiments-cache-unaffected Enable additional in memory caching of + modules that are unchanged and + reference only unchanged modules. +--no-experiments-cache-unaffected Negative + 'experiments-cache-unaffected' option. +--experiments-css Enable css support. +--no-experiments-css Negative 'experiments-css' option. +--experiments-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-experiments-defer-import Negative 'experiments-defer-import' + option. +--experiments-future-defaults Apply defaults of next major version. +--no-experiments-future-defaults Negative 'experiments-future-defaults' + option. +--experiments-lazy-compilation Compile entrypoints and import()s only + when they are accessed. +--no-experiments-lazy-compilation Negative + 'experiments-lazy-compilation' option. +--experiments-lazy-compilation-backend-client A custom client. +--experiments-lazy-compilation-backend-listen A port. +--experiments-lazy-compilation-backend-listen-host A host. +--experiments-lazy-compilation-backend-listen-port A port. +--experiments-lazy-compilation-backend-protocol Specifies the protocol the client + should use to connect to the server. +--experiments-lazy-compilation-entries Enable/disable lazy compilation for + entries. +--no-experiments-lazy-compilation-entries Negative + 'experiments-lazy-compilation-entries' + option. +--experiments-lazy-compilation-imports Enable/disable lazy compilation for + import() modules. +--no-experiments-lazy-compilation-imports Negative + 'experiments-lazy-compilation-imports' + option. +--experiments-lazy-compilation-test Specify which entrypoints or + import()ed modules should be lazily + compiled. This is matched with the + imported module and not the entrypoint + name. +--experiments-output-module Allow output javascript files as + module source type. +--no-experiments-output-module Negative 'experiments-output-module' + option. +--experiments-sync-web-assembly Support WebAssembly as synchronous + EcmaScript Module (outdated). +--no-experiments-sync-web-assembly Negative + 'experiments-sync-web-assembly' + option. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--extends-reset Clear all items provided in 'extends' + configuration. Extend configuration + from another configuration (only works + when using webpack-cli). +--externals Every matched dependency becomes + external. An exact matched dependency + becomes external. The same string is + used as external dependency. +--externals-reset Clear all items provided in + 'externals' configuration. Specify + dependencies that shouldn't be + resolved by webpack, but should become + dependencies of the resulting bundle. + The kind of the dependency depends on + \`output.libraryTarget\`. +--externals-presets-electron Treat common electron built-in modules + in main and preload context like + 'electron', 'ipc' or 'shell' as + external and load them via require() + when used. +--no-externals-presets-electron Negative 'externals-presets-electron' + option. +--externals-presets-electron-main Treat electron built-in modules in the + main context like 'app', 'ipc-main' or + 'shell' as external and load them via + require() when used. +--no-externals-presets-electron-main Negative + 'externals-presets-electron-main' + option. +--externals-presets-electron-preload Treat electron built-in modules in the + preload context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-preload Negative + 'externals-presets-electron-preload' + option. +--externals-presets-electron-renderer Treat electron built-in modules in the + renderer context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-renderer Negative + 'externals-presets-electron-renderer' + option. +--externals-presets-node Treat node.js built-in modules like + fs, path or vm as external and load + them via require() when used. +--no-externals-presets-node Negative 'externals-presets-node' + option. +--externals-presets-nwjs Treat NW.js legacy nw.gui module as + external and load it via require() + when used. +--no-externals-presets-nwjs Negative 'externals-presets-nwjs' + option. +--externals-presets-web Treat references to 'http(s)://...' + and 'std:...' as external and load + them via import when used (Note that + this changes execution order as + externals are executed before any + other code in the chunk). +--no-externals-presets-web Negative 'externals-presets-web' + option. +--externals-presets-web-async Treat references to 'http(s)://...' + and 'std:...' as external and load + them via async import() when used + (Note that this external type is an + async module, which has various + effects on the execution). +--no-externals-presets-web-async Negative 'externals-presets-web-async' + option. +--externals-type Specifies the default type of + externals ('amd*', 'umd*', 'system' + and 'jsonp' depend on + output.libraryTarget set to the same + value). +--ignore-warnings A RegExp to select the warning + message. +--ignore-warnings-file A RegExp to select the origin file for + the warning. +--ignore-warnings-message A RegExp to select the warning + message. +--ignore-warnings-module A RegExp to select the origin module + for the warning. +--ignore-warnings-reset Clear all items provided in + 'ignoreWarnings' configuration. Ignore + specific warnings. +--infrastructure-logging-append-only Only appends lines to the output. + Avoids updating existing output e. g. + for status messages. This option is + only used when no custom console is + provided. +--no-infrastructure-logging-append-only Negative + 'infrastructure-logging-append-only' + option. +--infrastructure-logging-colors Enables/Disables colorful output. This + option is only used when no custom + console is provided. +--no-infrastructure-logging-colors Negative + 'infrastructure-logging-colors' + option. +--infrastructure-logging-debug [value...] Enable/Disable debug logging for all + loggers. Enable debug logging for + specific loggers. +--no-infrastructure-logging-debug Negative + 'infrastructure-logging-debug' option. +--infrastructure-logging-debug-reset Clear all items provided in + 'infrastructureLogging.debug' + configuration. Enable debug logging + for specific loggers. +--infrastructure-logging-level Log level. +--mode Enable production optimizations or + development hints. +--module-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-expr-context-critical Negative + 'module-expr-context-critical' option. +--module-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. Deprecated: + This option has moved to + 'module.parser.javascript.exprContextR + ecursive'. +--no-module-expr-context-recursive Negative + 'module-expr-context-recursive' + option. +--module-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.exprContextR + egExp'. +--no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' + option. +--module-expr-context-request Set the default request for full + dynamic dependencies. Deprecated: This + option has moved to + 'module.parser.javascript.exprContextR + equest'. +--module-generator-asset-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-binary Negative + 'module-generator-asset-binary' + option. +--module-generator-asset-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-data-url-encoding Negative + 'module-generator-asset-data-url-encod + ing' option. +--module-generator-asset-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-emit Negative 'module-generator-asset-emit' + option. +--module-generator-asset-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-asset-inline-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-inline-binary Negative + 'module-generator-asset-inline-binary' + option. +--module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-inline-data-url-encoding Negative + 'module-generator-asset-inline-data-ur + l-encoding' option. +--module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-resource-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-resource-binary Negative + 'module-generator-asset-resource-binar + y' option. +--module-generator-asset-resource-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-resource-emit Negative + 'module-generator-asset-resource-emit' + option. +--module-generator-asset-resource-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-resource-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-resource-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-css-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-es-module Negative + 'module-generator-css-es-module' + option. +--module-generator-css-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-exports-only Negative + 'module-generator-css-exports-only' + option. +--module-generator-css-auto-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-auto-es-module Negative + 'module-generator-css-auto-es-module' + option. +--module-generator-css-auto-export-type Configure how CSS content is exported + as default. +--module-generator-css-auto-exports-convention Specifies the convention of exported + names. +--module-generator-css-auto-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-auto-exports-only Negative + 'module-generator-css-auto-exports-onl + y' option. +--module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-auto-local-ident-name Configure the generated local ident + name. +--module-generator-css-global-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-global-es-module Negative + 'module-generator-css-global-es-module + ' option. +--module-generator-css-global-export-type Configure how CSS content is exported + as default. +--module-generator-css-global-exports-convention Specifies the convention of exported + names. +--module-generator-css-global-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-global-exports-only Negative + 'module-generator-css-global-exports-o + nly' option. +--module-generator-css-global-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-global-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-global-local-ident-name Configure the generated local ident + name. +--module-generator-css-module-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-module-es-module Negative + 'module-generator-css-module-es-module + ' option. +--module-generator-css-module-export-type Configure how CSS content is exported + as default. +--module-generator-css-module-exports-convention Specifies the convention of exported + names. +--module-generator-css-module-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-module-exports-only Negative + 'module-generator-css-module-exports-o + nly' option. +--module-generator-css-module-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-module-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-module-local-ident-name Configure the generated local ident + name. +--module-generator-json-json-parse Use \`JSON.parse\` when the JSON string + is longer than 20 characters. +--no-module-generator-json-json-parse Negative + 'module-generator-json-json-parse' + option. +--module-no-parse A regular expression, when matched the + module is not parsed. An absolute + path, when the module starts with this + path it is not parsed. +--module-no-parse-reset Clear all items provided in + 'module.noParse' configuration. Don't + parse files matching. It's matched + against the full resolved request. +--module-parser-asset-data-url-condition-max-size Maximum size of asset that should be + inline as modules. Default: 8kb. +--module-parser-css-export-type Configure how CSS content is exported + as default. +--module-parser-css-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-import Negative 'module-parser-css-import' + option. +--module-parser-css-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-named-exports Negative + 'module-parser-css-named-exports' + option. +--module-parser-css-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-url Negative 'module-parser-css-url' + option. +--module-parser-css-auto-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-auto-animation Negative + 'module-parser-css-auto-animation' + option. +--module-parser-css-auto-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-auto-container Negative + 'module-parser-css-auto-container' + option. +--module-parser-css-auto-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-auto-custom-idents Negative + 'module-parser-css-auto-custom-idents' + option. +--module-parser-css-auto-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-auto-dashed-idents Negative + 'module-parser-css-auto-dashed-idents' + option. +--module-parser-css-auto-export-type Configure how CSS content is exported + as default. +--module-parser-css-auto-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-auto-function Negative + 'module-parser-css-auto-function' + option. +--module-parser-css-auto-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' + option. +--module-parser-css-auto-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-auto-import Negative + 'module-parser-css-auto-import' + option. +--module-parser-css-auto-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-auto-named-exports Negative + 'module-parser-css-auto-named-exports' + option. +--module-parser-css-auto-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' + option. +--module-parser-css-global-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-global-animation Negative + 'module-parser-css-global-animation' + option. +--module-parser-css-global-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-global-container Negative + 'module-parser-css-global-container' + option. +--module-parser-css-global-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-global-custom-idents Negative + 'module-parser-css-global-custom-ident + s' option. +--module-parser-css-global-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-global-dashed-idents Negative + 'module-parser-css-global-dashed-ident + s' option. +--module-parser-css-global-export-type Configure how CSS content is exported + as default. +--module-parser-css-global-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-global-function Negative + 'module-parser-css-global-function' + option. +--module-parser-css-global-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-global-grid Negative + 'module-parser-css-global-grid' + option. +--module-parser-css-global-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-global-import Negative + 'module-parser-css-global-import' + option. +--module-parser-css-global-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-global-named-exports Negative + 'module-parser-css-global-named-export + s' option. +--module-parser-css-global-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-global-url Negative + 'module-parser-css-global-url' option. +--module-parser-css-module-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-module-animation Negative + 'module-parser-css-module-animation' + option. +--module-parser-css-module-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-module-container Negative + 'module-parser-css-module-container' + option. +--module-parser-css-module-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-module-custom-idents Negative + 'module-parser-css-module-custom-ident + s' option. +--module-parser-css-module-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-module-dashed-idents Negative + 'module-parser-css-module-dashed-ident + s' option. +--module-parser-css-module-export-type Configure how CSS content is exported + as default. +--module-parser-css-module-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-module-function Negative + 'module-parser-css-module-function' + option. +--module-parser-css-module-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-module-grid Negative + 'module-parser-css-module-grid' + option. +--module-parser-css-module-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-module-import Negative + 'module-parser-css-module-import' + option. +--module-parser-css-module-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-module-named-exports Negative + 'module-parser-css-module-named-export + s' option. +--module-parser-css-module-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-module-url Negative + 'module-parser-css-module-url' option. +--no-module-parser-javascript-amd Negative + 'module-parser-javascript-amd' option. +--module-parser-javascript-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-browserify Negative + 'module-parser-javascript-browserify' + option. +--module-parser-javascript-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-commonjs Negative + 'module-parser-javascript-commonjs' + option. +--module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-commonjs-magic-comments Negative + 'module-parser-javascript-commonjs-mag + ic-comments' option. +--module-parser-javascript-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-create-require Negative + 'module-parser-javascript-create-requi + re' option. +--module-parser-javascript-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-defer-import Negative + 'module-parser-javascript-defer-import + ' option. +--module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-impo + rt-fetch-priority' option. +--module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-impo + rt-prefetch' option. +--module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-impo + rt-preload' option. +--module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. + Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-dynamic-url Negative + 'module-parser-javascript-dynamic-url' + option. +--module-parser-javascript-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-exports-presence Negative + 'module-parser-javascript-exports-pres + ence' option. +--module-parser-javascript-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-expr-context-critical Negative + 'module-parser-javascript-expr-context + -critical' option. +--module-parser-javascript-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-expr-context-recursive Negative + 'module-parser-javascript-expr-context + -recursive' option. +--module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-expr-context-reg-exp Negative + 'module-parser-javascript-expr-context + -reg-exp' option. +--module-parser-javascript-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-harmony Negative + 'module-parser-javascript-harmony' + option. +--module-parser-javascript-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-import Negative + 'module-parser-javascript-import' + option. +--module-parser-javascript-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-import-exports-presence Negative + 'module-parser-javascript-import-expor + ts-presence' option. +--module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-import-meta Negative + 'module-parser-javascript-import-meta' + option. +--module-parser-javascript-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-import-meta-context Negative + 'module-parser-javascript-import-meta- + context' option. +--no-module-parser-javascript-node Negative + 'module-parser-javascript-node' + option. +--module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-node-dirname Negative + 'module-parser-javascript-node-dirname + ' option. +--module-parser-javascript-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-node-filename Negative + 'module-parser-javascript-node-filenam + e' option. +--module-parser-javascript-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-node-global Negative + 'module-parser-javascript-node-global' + option. +--module-parser-javascript-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-reexport-exports-presence Negative + 'module-parser-javascript-reexport-exp + orts-presence' option. +--module-parser-javascript-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-require-context Negative + 'module-parser-javascript-require-cont + ext' option. +--module-parser-javascript-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-require-ensure Negative + 'module-parser-javascript-require-ensu + re' option. +--module-parser-javascript-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-require-include Negative + 'module-parser-javascript-require-incl + ude' option. +--module-parser-javascript-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-require-js Negative + 'module-parser-javascript-require-js' + option. +--module-parser-javascript-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-strict-export-presence Negative + 'module-parser-javascript-strict-expor + t-presence' option. +--module-parser-javascript-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-strict-this-context-on-imports Negative + 'module-parser-javascript-strict-this- + context-on-imports' option. +--module-parser-javascript-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-system Negative + 'module-parser-javascript-system' + option. +--module-parser-javascript-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-unknown-context-critical Negative + 'module-parser-javascript-unknown-cont + ext-critical' option. +--module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-recursive Negative + 'module-parser-javascript-unknown-cont + ext-recursive' option. +--module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-reg-exp Negative + 'module-parser-javascript-unknown-cont + ext-reg-exp' option. +--module-parser-javascript-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-url Negative + 'module-parser-javascript-url' option. +--module-parser-javascript-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-worker Negative + 'module-parser-javascript-worker' + option. +--module-parser-javascript-worker-reset Clear all items provided in + 'module.parser.javascript.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-wrapped-context-critical Negative + 'module-parser-javascript-wrapped-cont + ext-critical' option. +--module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-wrapped-context-recursive Negative + 'module-parser-javascript-wrapped-cont + ext-recursive' option. +--module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-auto-amd Negative + 'module-parser-javascript-auto-amd' + option. +--module-parser-javascript-auto-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-auto-browserify Negative + 'module-parser-javascript-auto-browser + ify' option. +--module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-auto-commonjs Negative + 'module-parser-javascript-auto-commonj + s' option. +--module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-auto-commonjs-magic-comments Negative + 'module-parser-javascript-auto-commonj + s-magic-comments' option. +--module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-auto-create-require Negative + 'module-parser-javascript-auto-create- + require' option. +--module-parser-javascript-auto-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-auto-defer-import Negative + 'module-parser-javascript-auto-defer-i + mport' option. +--module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative + 'module-parser-javascript-auto-dynamic + -import-fetch-priority' option. +--module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-prefetch Negative + 'module-parser-javascript-auto-dynamic + -import-prefetch' option. +--module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-preload Negative + 'module-parser-javascript-auto-dynamic + -import-preload' option. +--module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-auto-dynamic-url Negative + 'module-parser-javascript-auto-dynamic + -url' option. +--module-parser-javascript-auto-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-auto-exports-presence Negative + 'module-parser-javascript-auto-exports + -presence' option. +--module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-auto-expr-context-critical Negative + 'module-parser-javascript-auto-expr-co + ntext-critical' option. +--module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-recursive Negative + 'module-parser-javascript-auto-expr-co + ntext-recursive' option. +--module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-reg-exp Negative + 'module-parser-javascript-auto-expr-co + ntext-reg-exp' option. +--module-parser-javascript-auto-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-auto-harmony Negative + 'module-parser-javascript-auto-harmony + ' option. +--module-parser-javascript-auto-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-auto-import Negative + 'module-parser-javascript-auto-import' + option. +--module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-auto-import-exports-presence Negative + 'module-parser-javascript-auto-import- + exports-presence' option. +--module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-auto-import-meta Negative + 'module-parser-javascript-auto-import- + meta' option. +--module-parser-javascript-auto-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-auto-import-meta-context Negative + 'module-parser-javascript-auto-import- + meta-context' option. +--no-module-parser-javascript-auto-node Negative + 'module-parser-javascript-auto-node' + option. +--module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-auto-node-dirname Negative + 'module-parser-javascript-auto-node-di + rname' option. +--module-parser-javascript-auto-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-auto-node-filename Negative + 'module-parser-javascript-auto-node-fi + lename' option. +--module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-auto-node-global Negative + 'module-parser-javascript-auto-node-gl + obal' option. +--module-parser-javascript-auto-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-auto-reexport-exports-presence Negative + 'module-parser-javascript-auto-reexpor + t-exports-presence' option. +--module-parser-javascript-auto-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-auto-require-context Negative + 'module-parser-javascript-auto-require + -context' option. +--module-parser-javascript-auto-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-auto-require-ensure Negative + 'module-parser-javascript-auto-require + -ensure' option. +--module-parser-javascript-auto-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-auto-require-include Negative + 'module-parser-javascript-auto-require + -include' option. +--module-parser-javascript-auto-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-auto-require-js Negative + 'module-parser-javascript-auto-require + -js' option. +--module-parser-javascript-auto-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-auto-strict-export-presence Negative + 'module-parser-javascript-auto-strict- + export-presence' option. +--module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-auto-strict-this-context-on-imports Negative + 'module-parser-javascript-auto-strict- + this-context-on-imports' option. +--module-parser-javascript-auto-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-auto-system Negative + 'module-parser-javascript-auto-system' + option. +--module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-auto-unknown-context-critical Negative + 'module-parser-javascript-auto-unknown + -context-critical' option. +--module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-recursive Negative + 'module-parser-javascript-auto-unknown + -context-recursive' option. +--module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-reg-exp Negative + 'module-parser-javascript-auto-unknown + -context-reg-exp' option. +--module-parser-javascript-auto-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-auto-url Negative + 'module-parser-javascript-auto-url' + option. +--module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-auto-worker Negative + 'module-parser-javascript-auto-worker' + option. +--module-parser-javascript-auto-worker-reset Clear all items provided in + 'module.parser.javascript/auto.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-auto-wrapped-context-critical Negative + 'module-parser-javascript-auto-wrapped + -context-critical' option. +--module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-auto-wrapped-context-recursive Negative + 'module-parser-javascript-auto-wrapped + -context-recursive' option. +--module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-amd Negative + 'module-parser-javascript-dynamic-amd' + option. +--module-parser-javascript-dynamic-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-dynamic-browserify Negative + 'module-parser-javascript-dynamic-brow + serify' option. +--module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-dynamic-commonjs Negative + 'module-parser-javascript-dynamic-comm + onjs' option. +--module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-dynamic-commonjs-magic-comments Negative + 'module-parser-javascript-dynamic-comm + onjs-magic-comments' option. +--module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-dynamic-create-require Negative + 'module-parser-javascript-dynamic-crea + te-require' option. +--module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-dynamic-defer-import Negative + 'module-parser-javascript-dynamic-defe + r-import' option. +--module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-dyna + mic-import-fetch-priority' option. +--module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-dyna + mic-import-prefetch' option. +--module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-dyna + mic-import-preload' option. +--module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-dynamic-dynamic-url Negative + 'module-parser-javascript-dynamic-dyna + mic-url' option. +--module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-dynamic-exports-presence Negative + 'module-parser-javascript-dynamic-expo + rts-presence' option. +--module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-dynamic-expr-context-critical Negative + 'module-parser-javascript-dynamic-expr + -context-critical' option. +--module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-recursive Negative + 'module-parser-javascript-dynamic-expr + -context-recursive' option. +--module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-reg-exp Negative + 'module-parser-javascript-dynamic-expr + -context-reg-exp' option. +--module-parser-javascript-dynamic-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-dynamic-harmony Negative + 'module-parser-javascript-dynamic-harm + ony' option. +--module-parser-javascript-dynamic-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-dynamic-import Negative + 'module-parser-javascript-dynamic-impo + rt' option. +--module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-dynamic-import-exports-presence Negative + 'module-parser-javascript-dynamic-impo + rt-exports-presence' option. +--module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-dynamic-import-meta Negative + 'module-parser-javascript-dynamic-impo + rt-meta' option. +--module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-dynamic-import-meta-context Negative + 'module-parser-javascript-dynamic-impo + rt-meta-context' option. +--no-module-parser-javascript-dynamic-node Negative + 'module-parser-javascript-dynamic-node + ' option. +--module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-dynamic-node-dirname Negative + 'module-parser-javascript-dynamic-node + -dirname' option. +--module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-dynamic-node-filename Negative + 'module-parser-javascript-dynamic-node + -filename' option. +--module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-dynamic-node-global Negative + 'module-parser-javascript-dynamic-node + -global' option. +--module-parser-javascript-dynamic-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-dynamic-reexport-exports-presence Negative + 'module-parser-javascript-dynamic-reex + port-exports-presence' option. +--module-parser-javascript-dynamic-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-dynamic-require-context Negative + 'module-parser-javascript-dynamic-requ + ire-context' option. +--module-parser-javascript-dynamic-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-dynamic-require-ensure Negative + 'module-parser-javascript-dynamic-requ + ire-ensure' option. +--module-parser-javascript-dynamic-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-dynamic-require-include Negative + 'module-parser-javascript-dynamic-requ + ire-include' option. +--module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-dynamic-require-js Negative + 'module-parser-javascript-dynamic-requ + ire-js' option. +--module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-dynamic-strict-export-presence Negative + 'module-parser-javascript-dynamic-stri + ct-export-presence' option. +--module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative + 'module-parser-javascript-dynamic-stri + ct-this-context-on-imports' option. +--module-parser-javascript-dynamic-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-dynamic-system Negative + 'module-parser-javascript-dynamic-syst + em' option. +--module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-critical Negative + 'module-parser-javascript-dynamic-unkn + own-context-critical' option. +--module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-recursive Negative + 'module-parser-javascript-dynamic-unkn + own-context-recursive' option. +--module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative + 'module-parser-javascript-dynamic-unkn + own-context-reg-exp' option. +--module-parser-javascript-dynamic-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-dynamic-worker Negative + 'module-parser-javascript-dynamic-work + er' option. +--module-parser-javascript-dynamic-worker-reset Clear all items provided in + 'module.parser.javascript/dynamic.work + er' configuration. Disable or + configure parsing of WebWorker syntax + like new Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-critical Negative + 'module-parser-javascript-dynamic-wrap + ped-context-critical' option. +--module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-recursive Negative + 'module-parser-javascript-dynamic-wrap + ped-context-recursive' option. +--module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-esm-amd Negative + 'module-parser-javascript-esm-amd' + option. +--module-parser-javascript-esm-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-esm-browserify Negative + 'module-parser-javascript-esm-browseri + fy' option. +--module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-esm-commonjs Negative + 'module-parser-javascript-esm-commonjs + ' option. +--module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-esm-commonjs-magic-comments Negative + 'module-parser-javascript-esm-commonjs + -magic-comments' option. +--module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-esm-create-require Negative + 'module-parser-javascript-esm-create-r + equire' option. +--module-parser-javascript-esm-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-esm-defer-import Negative + 'module-parser-javascript-esm-defer-im + port' option. +--module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative + 'module-parser-javascript-esm-dynamic- + import-fetch-priority' option. +--module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-prefetch Negative + 'module-parser-javascript-esm-dynamic- + import-prefetch' option. +--module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-preload Negative + 'module-parser-javascript-esm-dynamic- + import-preload' option. +--module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-esm-dynamic-url Negative + 'module-parser-javascript-esm-dynamic- + url' option. +--module-parser-javascript-esm-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-esm-exports-presence Negative + 'module-parser-javascript-esm-exports- + presence' option. +--module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-esm-expr-context-critical Negative + 'module-parser-javascript-esm-expr-con + text-critical' option. +--module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-recursive Negative + 'module-parser-javascript-esm-expr-con + text-recursive' option. +--module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-reg-exp Negative + 'module-parser-javascript-esm-expr-con + text-reg-exp' option. +--module-parser-javascript-esm-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-esm-harmony Negative + 'module-parser-javascript-esm-harmony' + option. +--module-parser-javascript-esm-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-esm-import Negative + 'module-parser-javascript-esm-import' + option. +--module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-esm-import-exports-presence Negative + 'module-parser-javascript-esm-import-e + xports-presence' option. +--module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-esm-import-meta Negative + 'module-parser-javascript-esm-import-m + eta' option. +--module-parser-javascript-esm-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-esm-import-meta-context Negative + 'module-parser-javascript-esm-import-m + eta-context' option. +--no-module-parser-javascript-esm-node Negative + 'module-parser-javascript-esm-node' + option. +--module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-esm-node-dirname Negative + 'module-parser-javascript-esm-node-dir + name' option. +--module-parser-javascript-esm-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-esm-node-filename Negative + 'module-parser-javascript-esm-node-fil + ename' option. +--module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-esm-node-global Negative + 'module-parser-javascript-esm-node-glo + bal' option. +--module-parser-javascript-esm-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-esm-reexport-exports-presence Negative + 'module-parser-javascript-esm-reexport + -exports-presence' option. +--module-parser-javascript-esm-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-esm-require-context Negative + 'module-parser-javascript-esm-require- + context' option. +--module-parser-javascript-esm-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-esm-require-ensure Negative + 'module-parser-javascript-esm-require- + ensure' option. +--module-parser-javascript-esm-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-esm-require-include Negative + 'module-parser-javascript-esm-require- + include' option. +--module-parser-javascript-esm-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-esm-require-js Negative + 'module-parser-javascript-esm-require- + js' option. +--module-parser-javascript-esm-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-esm-strict-export-presence Negative + 'module-parser-javascript-esm-strict-e + xport-presence' option. +--module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-esm-strict-this-context-on-imports Negative + 'module-parser-javascript-esm-strict-t + his-context-on-imports' option. +--module-parser-javascript-esm-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-esm-system Negative + 'module-parser-javascript-esm-system' + option. +--module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-esm-unknown-context-critical Negative + 'module-parser-javascript-esm-unknown- + context-critical' option. +--module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-recursive Negative + 'module-parser-javascript-esm-unknown- + context-recursive' option. +--module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-reg-exp Negative + 'module-parser-javascript-esm-unknown- + context-reg-exp' option. +--module-parser-javascript-esm-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-esm-url Negative + 'module-parser-javascript-esm-url' + option. +--module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-esm-worker Negative + 'module-parser-javascript-esm-worker' + option. +--module-parser-javascript-esm-worker-reset Clear all items provided in + 'module.parser.javascript/esm.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-esm-wrapped-context-critical Negative + 'module-parser-javascript-esm-wrapped- + context-critical' option. +--module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-esm-wrapped-context-recursive Negative + 'module-parser-javascript-esm-wrapped- + context-recursive' option. +--module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--module-parser-json-exports-depth The depth of json dependency flagged + as \`exportInfo\`. +--module-parser-json-named-exports Allow named exports for json of object + type. +--no-module-parser-json-named-exports Negative + 'module-parser-json-named-exports' + option. +--module-rules-compiler Match the child compiler name. +--module-rules-compiler-not Logical NOT. +--module-rules-dependency Match dependency type. +--module-rules-dependency-not Logical NOT. +--module-rules-enforce Enforce this rule as pre or post step. +--module-rules-exclude Shortcut for resource.exclude. +--module-rules-exclude-not Logical NOT. +--module-rules-extract-source-map Enable/Disable extracting source map. +--no-module-rules-extract-source-map Negative + 'module-rules-extract-source-map' + option. +--module-rules-include Shortcut for resource.include. +--module-rules-include-not Logical NOT. +--module-rules-issuer Match the issuer of the module (The + module pointing to this module). +--module-rules-issuer-not Logical NOT. +--module-rules-issuer-layer Match layer of the issuer of this + module (The module pointing to this + module). +--module-rules-issuer-layer-not Logical NOT. +--module-rules-layer Specifies the layer in which the + module should be placed in. +--module-rules-loader A loader request. +--module-rules-mimetype Match module mimetype when load from + Data URI. +--module-rules-mimetype-not Logical NOT. +--module-rules-real-resource Match the real resource path of the + module. +--module-rules-real-resource-not Logical NOT. +--module-rules-resource Match the resource path of the module. +--module-rules-resource-not Logical NOT. +--module-rules-resource-fragment Match the resource fragment of the + module. +--module-rules-resource-fragment-not Logical NOT. +--module-rules-resource-query Match the resource query of the + module. +--module-rules-resource-query-not Logical NOT. +--module-rules-scheme Match module scheme. +--module-rules-scheme-not Logical NOT. +--module-rules-side-effects Flags a module as with or without side + effects. +--no-module-rules-side-effects Negative 'module-rules-side-effects' + option. +--module-rules-test Shortcut for resource.test. +--module-rules-test-not Logical NOT. +--module-rules-type Module type to use for the module. +--module-rules-use-ident Unique loader options identifier. +--module-rules-use-loader A loader request. +--module-rules-use-options Options passed to a loader. +--module-rules-use A loader request. +--module-rules-reset Clear all items provided in + 'module.rules' configuration. A list + of rules. +--module-strict-export-presence Emit errors instead of warnings when + imported names don't exist in imported + module. Deprecated: This option has + moved to + 'module.parser.javascript.strictExport + Presence'. +--no-module-strict-export-presence Negative + 'module-strict-export-presence' + option. +--module-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. Deprecated: This option has + moved to + 'module.parser.javascript.strictThisCo + ntextOnImports'. +--no-module-strict-this-context-on-imports Negative + 'module-strict-this-context-on-imports + ' option. +--module-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtCritical'. +--no-module-unknown-context-critical Negative + 'module-unknown-context-critical' + option. +--module-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRecursive'. +--no-module-unknown-context-recursive Negative + 'module-unknown-context-recursive' + option. +--module-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRegExp'. +--no-module-unknown-context-reg-exp Negative + 'module-unknown-context-reg-exp' + option. +--module-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtRequest'. +--module-unsafe-cache Cache the resolving of module + requests. +--no-module-unsafe-cache Negative 'module-unsafe-cache' option. +--module-wrapped-context-critical Enable warnings for partial dynamic + dependencies. Deprecated: This option + has moved to + 'module.parser.javascript.wrappedConte + xtCritical'. +--no-module-wrapped-context-critical Negative + 'module-wrapped-context-critical' + option. +--module-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRecursive'. +--no-module-wrapped-context-recursive Negative + 'module-wrapped-context-recursive' + option. +--module-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRegExp'. +--name Name of the configuration. Used when + loading multiple configurations. +--no-node Negative 'node' option. +--node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-node-dirname Negative 'node-dirname' option. +--node-filename [value] Include a polyfill for the + '__filename' variable. +--no-node-filename Negative 'node-filename' option. +--node-global [value] Include a polyfill for the 'global' + variable. +--no-node-global Negative 'node-global' option. +--optimization-avoid-entry-iife Avoid wrapping the entry module in an + IIFE. +--no-optimization-avoid-entry-iife Negative + 'optimization-avoid-entry-iife' + option. +--optimization-check-wasm-types Check for incompatible wasm types when + importing/exporting from/to ESM. +--no-optimization-check-wasm-types Negative + 'optimization-check-wasm-types' + option. +--optimization-chunk-ids Define the algorithm to choose chunk + ids (named: readable ids for better + debugging, deterministic: numeric hash + ids for better long term caching, + size: numeric ids focused on minimal + initial download size, total-size: + numeric ids focused on minimal total + download size, false: no algorithm + used, as custom one can be provided + via plugin). +--no-optimization-chunk-ids Negative 'optimization-chunk-ids' + option. +--optimization-concatenate-modules Concatenate modules when possible to + generate less modules, more efficient + code and enable more optimizations by + the minimizer. +--no-optimization-concatenate-modules Negative + 'optimization-concatenate-modules' + option. +--optimization-emit-on-errors Emit assets even when errors occur. + Critical errors are emitted into the + generated code and will cause errors at stack. - --watch-options-poll [value] \`number\`: use polling with specified interval. \`true\`: use polling. - --no-watch-options-poll Negative 'watch-options-poll' option. - --watch-options-stdin Stop watching when stdin stream has ended. - --no-watch-options-stdin Negative 'watch-options-stdin' option. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +--watch-options-poll [value] \`number\`: use polling with specified + interval. \`true\`: use polling. +--no-watch-options-poll Negative 'watch-options-poll' option. +--watch-options-stdin Stop watching when stdin stream has + ended. +--no-watch-options-stdin Negative 'watch-options-stdin' option. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help build --verbose' to see all available options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'b' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'b' command using the "--help" option: stdout 1`] = ` -"Usage: webpack build|bundle|b [entries...] [options] - -Run webpack (default command, can be omitted). - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack (default command, can be omitted). + +Usage: webpack build|bundle|b [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help build --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'build' and respect the "--color" flag using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'build' and respect the "--color" flag using the "--help" option: stdout 1`] = ` -"Usage: webpack build|bundle|b [entries...] [options] - -Run webpack (default command, can be omitted). - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack (default command, can be omitted). + +Usage: webpack build|bundle|b [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help build --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'build' and respect the "--no-color" flag using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'build' and respect the "--no-color" flag using the "--help" option: stdout 1`] = ` -"Usage: webpack build|bundle|b [entries...] [options] - -Run webpack (default command, can be omitted). - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack (default command, can be omitted). + +Usage: webpack build|bundle|b [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help build --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'build' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 'build' command using command syntax: stdout 1`] = ` -"Usage: webpack build|bundle|b [entries...] [options] - -Run webpack (default command, can be omitted). - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack (default command, can be omitted). + +Usage: webpack build|bundle|b [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help build --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'build' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 'build' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack build|bundle|b [entries...] [options] - -Run webpack (default command, can be omitted). - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - --no-amd Negative 'amd' option. - --bail Report the first error as a hard error instead of tolerating it. - --no-bail Negative 'bail' option. - --cache Enable in memory caching. Disable caching. - --no-cache Negative 'cache' option. - --cache-cache-unaffected Additionally cache computation of modules that are unchanged and reference only unchanged modules. - --no-cache-cache-unaffected Negative 'cache-cache-unaffected' option. - --cache-max-generations Number of generations unused cache entries stay in memory cache +"Run webpack (default command, can be omitted). + +Usage: webpack build|bundle|b [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +--no-amd Negative 'amd' option. +--bail Report the first error as a hard error + instead of tolerating it. +--no-bail Negative 'bail' option. +--cache Enable in memory caching. Disable + caching. +--no-cache Negative 'cache' option. +--cache-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules. +--no-cache-cache-unaffected Negative 'cache-cache-unaffected' + option. +--cache-max-generations Number of generations unused cache + entries stay in memory cache at + minimum (1 = may be removed after + unused for a single compilation, ..., + Infinity: kept forever). +--cache-type In memory caching. Filesystem caching. +--cache-allow-collecting-memory Allows to collect unused memory + allocated during deserialization. This + requires copying data into smaller + buffers and has a performance cost. +--no-cache-allow-collecting-memory Negative + 'cache-allow-collecting-memory' + option. +--cache-cache-directory Base directory for the cache (defaults + to node_modules/.cache/webpack). +--cache-cache-location Locations for the cache (defaults to + cacheDirectory / name). +--cache-compression Compression type used for the cache + files. +--no-cache-compression Negative 'cache-compression' option. +--cache-hash-algorithm Algorithm used for generation the hash + (see node.js crypto package). +--cache-idle-timeout Time in ms after which idle period the + cache storing should happen. +--cache-idle-timeout-after-large-changes Time in ms after which idle period the + cache storing should happen when + larger changes has been detected + (cumulative build time > 2 x avg cache + store time). +--cache-idle-timeout-for-initial-store Time in ms after which idle period the + initial cache storing should happen. +--cache-immutable-paths A RegExp matching an immutable + directory (usually a package manager + cache directory, including the tailing + slash) A path to an immutable + directory (usually a package manager + cache directory). +--cache-immutable-paths-reset Clear all items provided in + 'cache.immutablePaths' configuration. + List of paths that are managed by a + package manager and contain a version + or hash in its path so all files are + immutable. +--cache-managed-paths A RegExp matching a managed directory + (usually a node_modules directory, + including the tailing slash) A path to + a managed directory (usually a + node_modules directory). +--cache-managed-paths-reset Clear all items provided in + 'cache.managedPaths' configuration. + List of paths that are managed by a + package manager and can be trusted to + not be modified otherwise. +--cache-max-age Time for which unused cache entries + stay in the filesystem cache at + minimum (in milliseconds). +--cache-max-memory-generations Number of generations unused cache + entries stay in memory cache at + minimum (0 = no memory cache used, 1 = + may be removed after unused for a + single compilation, ..., Infinity: + kept forever). Cache entries will be + deserialized from disk when removed + from memory cache. +--cache-memory-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules in + memory. +--no-cache-memory-cache-unaffected Negative + 'cache-memory-cache-unaffected' + option. +--cache-name Name for the cache. Different names + will lead to different coexisting + caches. +--cache-profile Track and log detailed timing + information for individual cache + items. +--no-cache-profile Negative 'cache-profile' option. +--cache-readonly Enable/disable readonly mode. +--no-cache-readonly Negative 'cache-readonly' option. +--cache-store When to store data to the filesystem. + (pack: Store data when compiler is + idle in a single file). +--cache-version Version of the cache data. Different + versions won't allow to reuse the + cache and override existing content. + Update the version when config changed + in a way which doesn't allow to reuse + cache. This will invalidate the cache. +--context The base directory (absolute path!) + for resolving the \`entry\` option. If + \`output.pathinfo\` is set, the included + pathinfo is shortened to this + directory. +--dependencies References to another configuration to + depend on. +--dependencies-reset Clear all items provided in + 'dependencies' configuration. + References to other configurations to + depend on. +--no-dev-server Negative 'dev-server' option. +--devtool-type Which asset type should receive this + devtool value. +--devtool-use A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool-use Negative 'devtool-use' option. +--devtool-reset Clear all items provided in 'devtool' + configuration. A developer tool to + enhance debugging (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--dotenv Enable Dotenv plugin with default + options. +--no-dotenv Negative 'dotenv' option. +--dotenv-dir The directory from which .env files + are loaded. Can be an absolute path, + false will disable the .env file + loading. +--no-dotenv-dir Negative 'dotenv-dir' option. +--dotenv-prefix A prefix that environment variables + must start with to be exposed. +--dotenv-prefix-reset Clear all items provided in + 'dotenv.prefix' configuration. Only + expose environment variables that + start with these prefixes. Defaults to + 'WEBPACK_'. +--dotenv-template A template pattern for .env file + names. +--dotenv-template-reset Clear all items provided in + 'dotenv.template' configuration. + Template patterns for .env file names. + Use [mode] as placeholder for the + webpack mode. Defaults to ['.env', + '.env.local', '.env.[mode]', + '.env.[mode].local']. +--entry A module that is loaded upon startup. + Only the last one is exported. +--entry-reset Clear all items provided in 'entry' + configuration. All modules are loaded + upon startup. The last one is + exported. +--experiments-async-web-assembly Support WebAssembly as asynchronous + EcmaScript Module. +--no-experiments-async-web-assembly Negative + 'experiments-async-web-assembly' + option. +--experiments-back-compat Enable backward-compat layer with + deprecation warnings for many webpack + 4 APIs. +--no-experiments-back-compat Negative 'experiments-back-compat' + option. +--experiments-build-http-allowed-uris Allowed URI pattern. Allowed URI + (resp. the beginning of it). +--experiments-build-http-allowed-uris-reset Clear all items provided in + 'experiments.buildHttp.allowedUris' + configuration. List of allowed URIs + (resp. the beginning of them). +--experiments-build-http-cache-location Location where resource content is + stored for lockfile entries. It's also + possible to disable storing by passing + false. +--no-experiments-build-http-cache-location Negative + 'experiments-build-http-cache-location + ' option. +--experiments-build-http-frozen When set, anything that would lead to + a modification of the lockfile or any + resource content, will result in an + error. +--no-experiments-build-http-frozen Negative + 'experiments-build-http-frozen' + option. +--experiments-build-http-lockfile-location Location of the lockfile. +--experiments-build-http-proxy Proxy configuration, which can be used + to specify a proxy server to use for + HTTP requests. +--experiments-build-http-upgrade When set, resources of existing + lockfile entries will be fetched and + entries will be upgraded when resource + content has changed. +--no-experiments-build-http-upgrade Negative + 'experiments-build-http-upgrade' + option. +--experiments-cache-unaffected Enable additional in memory caching of + modules that are unchanged and + reference only unchanged modules. +--no-experiments-cache-unaffected Negative + 'experiments-cache-unaffected' option. +--experiments-css Enable css support. +--no-experiments-css Negative 'experiments-css' option. +--experiments-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-experiments-defer-import Negative 'experiments-defer-import' + option. +--experiments-future-defaults Apply defaults of next major version. +--no-experiments-future-defaults Negative 'experiments-future-defaults' + option. +--experiments-lazy-compilation Compile entrypoints and import()s only + when they are accessed. +--no-experiments-lazy-compilation Negative + 'experiments-lazy-compilation' option. +--experiments-lazy-compilation-backend-client A custom client. +--experiments-lazy-compilation-backend-listen A port. +--experiments-lazy-compilation-backend-listen-host A host. +--experiments-lazy-compilation-backend-listen-port A port. +--experiments-lazy-compilation-backend-protocol Specifies the protocol the client + should use to connect to the server. +--experiments-lazy-compilation-entries Enable/disable lazy compilation for + entries. +--no-experiments-lazy-compilation-entries Negative + 'experiments-lazy-compilation-entries' + option. +--experiments-lazy-compilation-imports Enable/disable lazy compilation for + import() modules. +--no-experiments-lazy-compilation-imports Negative + 'experiments-lazy-compilation-imports' + option. +--experiments-lazy-compilation-test Specify which entrypoints or + import()ed modules should be lazily + compiled. This is matched with the + imported module and not the entrypoint + name. +--experiments-output-module Allow output javascript files as + module source type. +--no-experiments-output-module Negative 'experiments-output-module' + option. +--experiments-sync-web-assembly Support WebAssembly as synchronous + EcmaScript Module (outdated). +--no-experiments-sync-web-assembly Negative + 'experiments-sync-web-assembly' + option. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--extends-reset Clear all items provided in 'extends' + configuration. Extend configuration + from another configuration (only works + when using webpack-cli). +--externals Every matched dependency becomes + external. An exact matched dependency + becomes external. The same string is + used as external dependency. +--externals-reset Clear all items provided in + 'externals' configuration. Specify + dependencies that shouldn't be + resolved by webpack, but should become + dependencies of the resulting bundle. + The kind of the dependency depends on + \`output.libraryTarget\`. +--externals-presets-electron Treat common electron built-in modules + in main and preload context like + 'electron', 'ipc' or 'shell' as + external and load them via require() + when used. +--no-externals-presets-electron Negative 'externals-presets-electron' + option. +--externals-presets-electron-main Treat electron built-in modules in the + main context like 'app', 'ipc-main' or + 'shell' as external and load them via + require() when used. +--no-externals-presets-electron-main Negative + 'externals-presets-electron-main' + option. +--externals-presets-electron-preload Treat electron built-in modules in the + preload context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-preload Negative + 'externals-presets-electron-preload' + option. +--externals-presets-electron-renderer Treat electron built-in modules in the + renderer context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-renderer Negative + 'externals-presets-electron-renderer' + option. +--externals-presets-node Treat node.js built-in modules like + fs, path or vm as external and load + them via require() when used. +--no-externals-presets-node Negative 'externals-presets-node' + option. +--externals-presets-nwjs Treat NW.js legacy nw.gui module as + external and load it via require() + when used. +--no-externals-presets-nwjs Negative 'externals-presets-nwjs' + option. +--externals-presets-web Treat references to 'http(s)://...' + and 'std:...' as external and load + them via import when used (Note that + this changes execution order as + externals are executed before any + other code in the chunk). +--no-externals-presets-web Negative 'externals-presets-web' + option. +--externals-presets-web-async Treat references to 'http(s)://...' + and 'std:...' as external and load + them via async import() when used + (Note that this external type is an + async module, which has various + effects on the execution). +--no-externals-presets-web-async Negative 'externals-presets-web-async' + option. +--externals-type Specifies the default type of + externals ('amd*', 'umd*', 'system' + and 'jsonp' depend on + output.libraryTarget set to the same + value). +--ignore-warnings A RegExp to select the warning + message. +--ignore-warnings-file A RegExp to select the origin file for + the warning. +--ignore-warnings-message A RegExp to select the warning + message. +--ignore-warnings-module A RegExp to select the origin module + for the warning. +--ignore-warnings-reset Clear all items provided in + 'ignoreWarnings' configuration. Ignore + specific warnings. +--infrastructure-logging-append-only Only appends lines to the output. + Avoids updating existing output e. g. + for status messages. This option is + only used when no custom console is + provided. +--no-infrastructure-logging-append-only Negative + 'infrastructure-logging-append-only' + option. +--infrastructure-logging-colors Enables/Disables colorful output. This + option is only used when no custom + console is provided. +--no-infrastructure-logging-colors Negative + 'infrastructure-logging-colors' + option. +--infrastructure-logging-debug [value...] Enable/Disable debug logging for all + loggers. Enable debug logging for + specific loggers. +--no-infrastructure-logging-debug Negative + 'infrastructure-logging-debug' option. +--infrastructure-logging-debug-reset Clear all items provided in + 'infrastructureLogging.debug' + configuration. Enable debug logging + for specific loggers. +--infrastructure-logging-level Log level. +--mode Enable production optimizations or + development hints. +--module-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-expr-context-critical Negative + 'module-expr-context-critical' option. +--module-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. Deprecated: + This option has moved to + 'module.parser.javascript.exprContextR + ecursive'. +--no-module-expr-context-recursive Negative + 'module-expr-context-recursive' + option. +--module-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.exprContextR + egExp'. +--no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' + option. +--module-expr-context-request Set the default request for full + dynamic dependencies. Deprecated: This + option has moved to + 'module.parser.javascript.exprContextR + equest'. +--module-generator-asset-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-binary Negative + 'module-generator-asset-binary' + option. +--module-generator-asset-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-data-url-encoding Negative + 'module-generator-asset-data-url-encod + ing' option. +--module-generator-asset-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-emit Negative 'module-generator-asset-emit' + option. +--module-generator-asset-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-asset-inline-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-inline-binary Negative + 'module-generator-asset-inline-binary' + option. +--module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-inline-data-url-encoding Negative + 'module-generator-asset-inline-data-ur + l-encoding' option. +--module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-resource-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-resource-binary Negative + 'module-generator-asset-resource-binar + y' option. +--module-generator-asset-resource-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-resource-emit Negative + 'module-generator-asset-resource-emit' + option. +--module-generator-asset-resource-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-resource-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-resource-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-css-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-es-module Negative + 'module-generator-css-es-module' + option. +--module-generator-css-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-exports-only Negative + 'module-generator-css-exports-only' + option. +--module-generator-css-auto-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-auto-es-module Negative + 'module-generator-css-auto-es-module' + option. +--module-generator-css-auto-export-type Configure how CSS content is exported + as default. +--module-generator-css-auto-exports-convention Specifies the convention of exported + names. +--module-generator-css-auto-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-auto-exports-only Negative + 'module-generator-css-auto-exports-onl + y' option. +--module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-auto-local-ident-name Configure the generated local ident + name. +--module-generator-css-global-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-global-es-module Negative + 'module-generator-css-global-es-module + ' option. +--module-generator-css-global-export-type Configure how CSS content is exported + as default. +--module-generator-css-global-exports-convention Specifies the convention of exported + names. +--module-generator-css-global-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-global-exports-only Negative + 'module-generator-css-global-exports-o + nly' option. +--module-generator-css-global-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-global-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-global-local-ident-name Configure the generated local ident + name. +--module-generator-css-module-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-module-es-module Negative + 'module-generator-css-module-es-module + ' option. +--module-generator-css-module-export-type Configure how CSS content is exported + as default. +--module-generator-css-module-exports-convention Specifies the convention of exported + names. +--module-generator-css-module-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-module-exports-only Negative + 'module-generator-css-module-exports-o + nly' option. +--module-generator-css-module-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-module-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-module-local-ident-name Configure the generated local ident + name. +--module-generator-json-json-parse Use \`JSON.parse\` when the JSON string + is longer than 20 characters. +--no-module-generator-json-json-parse Negative + 'module-generator-json-json-parse' + option. +--module-no-parse A regular expression, when matched the + module is not parsed. An absolute + path, when the module starts with this + path it is not parsed. +--module-no-parse-reset Clear all items provided in + 'module.noParse' configuration. Don't + parse files matching. It's matched + against the full resolved request. +--module-parser-asset-data-url-condition-max-size Maximum size of asset that should be + inline as modules. Default: 8kb. +--module-parser-css-export-type Configure how CSS content is exported + as default. +--module-parser-css-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-import Negative 'module-parser-css-import' + option. +--module-parser-css-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-named-exports Negative + 'module-parser-css-named-exports' + option. +--module-parser-css-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-url Negative 'module-parser-css-url' + option. +--module-parser-css-auto-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-auto-animation Negative + 'module-parser-css-auto-animation' + option. +--module-parser-css-auto-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-auto-container Negative + 'module-parser-css-auto-container' + option. +--module-parser-css-auto-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-auto-custom-idents Negative + 'module-parser-css-auto-custom-idents' + option. +--module-parser-css-auto-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-auto-dashed-idents Negative + 'module-parser-css-auto-dashed-idents' + option. +--module-parser-css-auto-export-type Configure how CSS content is exported + as default. +--module-parser-css-auto-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-auto-function Negative + 'module-parser-css-auto-function' + option. +--module-parser-css-auto-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' + option. +--module-parser-css-auto-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-auto-import Negative + 'module-parser-css-auto-import' + option. +--module-parser-css-auto-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-auto-named-exports Negative + 'module-parser-css-auto-named-exports' + option. +--module-parser-css-auto-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' + option. +--module-parser-css-global-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-global-animation Negative + 'module-parser-css-global-animation' + option. +--module-parser-css-global-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-global-container Negative + 'module-parser-css-global-container' + option. +--module-parser-css-global-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-global-custom-idents Negative + 'module-parser-css-global-custom-ident + s' option. +--module-parser-css-global-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-global-dashed-idents Negative + 'module-parser-css-global-dashed-ident + s' option. +--module-parser-css-global-export-type Configure how CSS content is exported + as default. +--module-parser-css-global-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-global-function Negative + 'module-parser-css-global-function' + option. +--module-parser-css-global-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-global-grid Negative + 'module-parser-css-global-grid' + option. +--module-parser-css-global-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-global-import Negative + 'module-parser-css-global-import' + option. +--module-parser-css-global-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-global-named-exports Negative + 'module-parser-css-global-named-export + s' option. +--module-parser-css-global-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-global-url Negative + 'module-parser-css-global-url' option. +--module-parser-css-module-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-module-animation Negative + 'module-parser-css-module-animation' + option. +--module-parser-css-module-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-module-container Negative + 'module-parser-css-module-container' + option. +--module-parser-css-module-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-module-custom-idents Negative + 'module-parser-css-module-custom-ident + s' option. +--module-parser-css-module-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-module-dashed-idents Negative + 'module-parser-css-module-dashed-ident + s' option. +--module-parser-css-module-export-type Configure how CSS content is exported + as default. +--module-parser-css-module-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-module-function Negative + 'module-parser-css-module-function' + option. +--module-parser-css-module-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-module-grid Negative + 'module-parser-css-module-grid' + option. +--module-parser-css-module-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-module-import Negative + 'module-parser-css-module-import' + option. +--module-parser-css-module-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-module-named-exports Negative + 'module-parser-css-module-named-export + s' option. +--module-parser-css-module-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-module-url Negative + 'module-parser-css-module-url' option. +--no-module-parser-javascript-amd Negative + 'module-parser-javascript-amd' option. +--module-parser-javascript-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-browserify Negative + 'module-parser-javascript-browserify' + option. +--module-parser-javascript-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-commonjs Negative + 'module-parser-javascript-commonjs' + option. +--module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-commonjs-magic-comments Negative + 'module-parser-javascript-commonjs-mag + ic-comments' option. +--module-parser-javascript-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-create-require Negative + 'module-parser-javascript-create-requi + re' option. +--module-parser-javascript-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-defer-import Negative + 'module-parser-javascript-defer-import + ' option. +--module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-impo + rt-fetch-priority' option. +--module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-impo + rt-prefetch' option. +--module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-impo + rt-preload' option. +--module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. + Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-dynamic-url Negative + 'module-parser-javascript-dynamic-url' + option. +--module-parser-javascript-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-exports-presence Negative + 'module-parser-javascript-exports-pres + ence' option. +--module-parser-javascript-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-expr-context-critical Negative + 'module-parser-javascript-expr-context + -critical' option. +--module-parser-javascript-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-expr-context-recursive Negative + 'module-parser-javascript-expr-context + -recursive' option. +--module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-expr-context-reg-exp Negative + 'module-parser-javascript-expr-context + -reg-exp' option. +--module-parser-javascript-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-harmony Negative + 'module-parser-javascript-harmony' + option. +--module-parser-javascript-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-import Negative + 'module-parser-javascript-import' + option. +--module-parser-javascript-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-import-exports-presence Negative + 'module-parser-javascript-import-expor + ts-presence' option. +--module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-import-meta Negative + 'module-parser-javascript-import-meta' + option. +--module-parser-javascript-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-import-meta-context Negative + 'module-parser-javascript-import-meta- + context' option. +--no-module-parser-javascript-node Negative + 'module-parser-javascript-node' + option. +--module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-node-dirname Negative + 'module-parser-javascript-node-dirname + ' option. +--module-parser-javascript-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-node-filename Negative + 'module-parser-javascript-node-filenam + e' option. +--module-parser-javascript-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-node-global Negative + 'module-parser-javascript-node-global' + option. +--module-parser-javascript-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-reexport-exports-presence Negative + 'module-parser-javascript-reexport-exp + orts-presence' option. +--module-parser-javascript-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-require-context Negative + 'module-parser-javascript-require-cont + ext' option. +--module-parser-javascript-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-require-ensure Negative + 'module-parser-javascript-require-ensu + re' option. +--module-parser-javascript-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-require-include Negative + 'module-parser-javascript-require-incl + ude' option. +--module-parser-javascript-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-require-js Negative + 'module-parser-javascript-require-js' + option. +--module-parser-javascript-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-strict-export-presence Negative + 'module-parser-javascript-strict-expor + t-presence' option. +--module-parser-javascript-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-strict-this-context-on-imports Negative + 'module-parser-javascript-strict-this- + context-on-imports' option. +--module-parser-javascript-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-system Negative + 'module-parser-javascript-system' + option. +--module-parser-javascript-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-unknown-context-critical Negative + 'module-parser-javascript-unknown-cont + ext-critical' option. +--module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-recursive Negative + 'module-parser-javascript-unknown-cont + ext-recursive' option. +--module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-reg-exp Negative + 'module-parser-javascript-unknown-cont + ext-reg-exp' option. +--module-parser-javascript-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-url Negative + 'module-parser-javascript-url' option. +--module-parser-javascript-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-worker Negative + 'module-parser-javascript-worker' + option. +--module-parser-javascript-worker-reset Clear all items provided in + 'module.parser.javascript.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-wrapped-context-critical Negative + 'module-parser-javascript-wrapped-cont + ext-critical' option. +--module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-wrapped-context-recursive Negative + 'module-parser-javascript-wrapped-cont + ext-recursive' option. +--module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-auto-amd Negative + 'module-parser-javascript-auto-amd' + option. +--module-parser-javascript-auto-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-auto-browserify Negative + 'module-parser-javascript-auto-browser + ify' option. +--module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-auto-commonjs Negative + 'module-parser-javascript-auto-commonj + s' option. +--module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-auto-commonjs-magic-comments Negative + 'module-parser-javascript-auto-commonj + s-magic-comments' option. +--module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-auto-create-require Negative + 'module-parser-javascript-auto-create- + require' option. +--module-parser-javascript-auto-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-auto-defer-import Negative + 'module-parser-javascript-auto-defer-i + mport' option. +--module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative + 'module-parser-javascript-auto-dynamic + -import-fetch-priority' option. +--module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-prefetch Negative + 'module-parser-javascript-auto-dynamic + -import-prefetch' option. +--module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-preload Negative + 'module-parser-javascript-auto-dynamic + -import-preload' option. +--module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-auto-dynamic-url Negative + 'module-parser-javascript-auto-dynamic + -url' option. +--module-parser-javascript-auto-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-auto-exports-presence Negative + 'module-parser-javascript-auto-exports + -presence' option. +--module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-auto-expr-context-critical Negative + 'module-parser-javascript-auto-expr-co + ntext-critical' option. +--module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-recursive Negative + 'module-parser-javascript-auto-expr-co + ntext-recursive' option. +--module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-reg-exp Negative + 'module-parser-javascript-auto-expr-co + ntext-reg-exp' option. +--module-parser-javascript-auto-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-auto-harmony Negative + 'module-parser-javascript-auto-harmony + ' option. +--module-parser-javascript-auto-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-auto-import Negative + 'module-parser-javascript-auto-import' + option. +--module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-auto-import-exports-presence Negative + 'module-parser-javascript-auto-import- + exports-presence' option. +--module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-auto-import-meta Negative + 'module-parser-javascript-auto-import- + meta' option. +--module-parser-javascript-auto-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-auto-import-meta-context Negative + 'module-parser-javascript-auto-import- + meta-context' option. +--no-module-parser-javascript-auto-node Negative + 'module-parser-javascript-auto-node' + option. +--module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-auto-node-dirname Negative + 'module-parser-javascript-auto-node-di + rname' option. +--module-parser-javascript-auto-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-auto-node-filename Negative + 'module-parser-javascript-auto-node-fi + lename' option. +--module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-auto-node-global Negative + 'module-parser-javascript-auto-node-gl + obal' option. +--module-parser-javascript-auto-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-auto-reexport-exports-presence Negative + 'module-parser-javascript-auto-reexpor + t-exports-presence' option. +--module-parser-javascript-auto-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-auto-require-context Negative + 'module-parser-javascript-auto-require + -context' option. +--module-parser-javascript-auto-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-auto-require-ensure Negative + 'module-parser-javascript-auto-require + -ensure' option. +--module-parser-javascript-auto-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-auto-require-include Negative + 'module-parser-javascript-auto-require + -include' option. +--module-parser-javascript-auto-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-auto-require-js Negative + 'module-parser-javascript-auto-require + -js' option. +--module-parser-javascript-auto-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-auto-strict-export-presence Negative + 'module-parser-javascript-auto-strict- + export-presence' option. +--module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-auto-strict-this-context-on-imports Negative + 'module-parser-javascript-auto-strict- + this-context-on-imports' option. +--module-parser-javascript-auto-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-auto-system Negative + 'module-parser-javascript-auto-system' + option. +--module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-auto-unknown-context-critical Negative + 'module-parser-javascript-auto-unknown + -context-critical' option. +--module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-recursive Negative + 'module-parser-javascript-auto-unknown + -context-recursive' option. +--module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-reg-exp Negative + 'module-parser-javascript-auto-unknown + -context-reg-exp' option. +--module-parser-javascript-auto-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-auto-url Negative + 'module-parser-javascript-auto-url' + option. +--module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-auto-worker Negative + 'module-parser-javascript-auto-worker' + option. +--module-parser-javascript-auto-worker-reset Clear all items provided in + 'module.parser.javascript/auto.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-auto-wrapped-context-critical Negative + 'module-parser-javascript-auto-wrapped + -context-critical' option. +--module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-auto-wrapped-context-recursive Negative + 'module-parser-javascript-auto-wrapped + -context-recursive' option. +--module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-amd Negative + 'module-parser-javascript-dynamic-amd' + option. +--module-parser-javascript-dynamic-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-dynamic-browserify Negative + 'module-parser-javascript-dynamic-brow + serify' option. +--module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-dynamic-commonjs Negative + 'module-parser-javascript-dynamic-comm + onjs' option. +--module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-dynamic-commonjs-magic-comments Negative + 'module-parser-javascript-dynamic-comm + onjs-magic-comments' option. +--module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-dynamic-create-require Negative + 'module-parser-javascript-dynamic-crea + te-require' option. +--module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-dynamic-defer-import Negative + 'module-parser-javascript-dynamic-defe + r-import' option. +--module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-dyna + mic-import-fetch-priority' option. +--module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-dyna + mic-import-prefetch' option. +--module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-dyna + mic-import-preload' option. +--module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-dynamic-dynamic-url Negative + 'module-parser-javascript-dynamic-dyna + mic-url' option. +--module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-dynamic-exports-presence Negative + 'module-parser-javascript-dynamic-expo + rts-presence' option. +--module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-dynamic-expr-context-critical Negative + 'module-parser-javascript-dynamic-expr + -context-critical' option. +--module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-recursive Negative + 'module-parser-javascript-dynamic-expr + -context-recursive' option. +--module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-reg-exp Negative + 'module-parser-javascript-dynamic-expr + -context-reg-exp' option. +--module-parser-javascript-dynamic-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-dynamic-harmony Negative + 'module-parser-javascript-dynamic-harm + ony' option. +--module-parser-javascript-dynamic-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-dynamic-import Negative + 'module-parser-javascript-dynamic-impo + rt' option. +--module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-dynamic-import-exports-presence Negative + 'module-parser-javascript-dynamic-impo + rt-exports-presence' option. +--module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-dynamic-import-meta Negative + 'module-parser-javascript-dynamic-impo + rt-meta' option. +--module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-dynamic-import-meta-context Negative + 'module-parser-javascript-dynamic-impo + rt-meta-context' option. +--no-module-parser-javascript-dynamic-node Negative + 'module-parser-javascript-dynamic-node + ' option. +--module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-dynamic-node-dirname Negative + 'module-parser-javascript-dynamic-node + -dirname' option. +--module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-dynamic-node-filename Negative + 'module-parser-javascript-dynamic-node + -filename' option. +--module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-dynamic-node-global Negative + 'module-parser-javascript-dynamic-node + -global' option. +--module-parser-javascript-dynamic-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-dynamic-reexport-exports-presence Negative + 'module-parser-javascript-dynamic-reex + port-exports-presence' option. +--module-parser-javascript-dynamic-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-dynamic-require-context Negative + 'module-parser-javascript-dynamic-requ + ire-context' option. +--module-parser-javascript-dynamic-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-dynamic-require-ensure Negative + 'module-parser-javascript-dynamic-requ + ire-ensure' option. +--module-parser-javascript-dynamic-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-dynamic-require-include Negative + 'module-parser-javascript-dynamic-requ + ire-include' option. +--module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-dynamic-require-js Negative + 'module-parser-javascript-dynamic-requ + ire-js' option. +--module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-dynamic-strict-export-presence Negative + 'module-parser-javascript-dynamic-stri + ct-export-presence' option. +--module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative + 'module-parser-javascript-dynamic-stri + ct-this-context-on-imports' option. +--module-parser-javascript-dynamic-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-dynamic-system Negative + 'module-parser-javascript-dynamic-syst + em' option. +--module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-critical Negative + 'module-parser-javascript-dynamic-unkn + own-context-critical' option. +--module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-recursive Negative + 'module-parser-javascript-dynamic-unkn + own-context-recursive' option. +--module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative + 'module-parser-javascript-dynamic-unkn + own-context-reg-exp' option. +--module-parser-javascript-dynamic-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-dynamic-worker Negative + 'module-parser-javascript-dynamic-work + er' option. +--module-parser-javascript-dynamic-worker-reset Clear all items provided in + 'module.parser.javascript/dynamic.work + er' configuration. Disable or + configure parsing of WebWorker syntax + like new Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-critical Negative + 'module-parser-javascript-dynamic-wrap + ped-context-critical' option. +--module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-recursive Negative + 'module-parser-javascript-dynamic-wrap + ped-context-recursive' option. +--module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-esm-amd Negative + 'module-parser-javascript-esm-amd' + option. +--module-parser-javascript-esm-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-esm-browserify Negative + 'module-parser-javascript-esm-browseri + fy' option. +--module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-esm-commonjs Negative + 'module-parser-javascript-esm-commonjs + ' option. +--module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-esm-commonjs-magic-comments Negative + 'module-parser-javascript-esm-commonjs + -magic-comments' option. +--module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-esm-create-require Negative + 'module-parser-javascript-esm-create-r + equire' option. +--module-parser-javascript-esm-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-esm-defer-import Negative + 'module-parser-javascript-esm-defer-im + port' option. +--module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative + 'module-parser-javascript-esm-dynamic- + import-fetch-priority' option. +--module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-prefetch Negative + 'module-parser-javascript-esm-dynamic- + import-prefetch' option. +--module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-preload Negative + 'module-parser-javascript-esm-dynamic- + import-preload' option. +--module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-esm-dynamic-url Negative + 'module-parser-javascript-esm-dynamic- + url' option. +--module-parser-javascript-esm-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-esm-exports-presence Negative + 'module-parser-javascript-esm-exports- + presence' option. +--module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-esm-expr-context-critical Negative + 'module-parser-javascript-esm-expr-con + text-critical' option. +--module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-recursive Negative + 'module-parser-javascript-esm-expr-con + text-recursive' option. +--module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-reg-exp Negative + 'module-parser-javascript-esm-expr-con + text-reg-exp' option. +--module-parser-javascript-esm-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-esm-harmony Negative + 'module-parser-javascript-esm-harmony' + option. +--module-parser-javascript-esm-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-esm-import Negative + 'module-parser-javascript-esm-import' + option. +--module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-esm-import-exports-presence Negative + 'module-parser-javascript-esm-import-e + xports-presence' option. +--module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-esm-import-meta Negative + 'module-parser-javascript-esm-import-m + eta' option. +--module-parser-javascript-esm-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-esm-import-meta-context Negative + 'module-parser-javascript-esm-import-m + eta-context' option. +--no-module-parser-javascript-esm-node Negative + 'module-parser-javascript-esm-node' + option. +--module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-esm-node-dirname Negative + 'module-parser-javascript-esm-node-dir + name' option. +--module-parser-javascript-esm-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-esm-node-filename Negative + 'module-parser-javascript-esm-node-fil + ename' option. +--module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-esm-node-global Negative + 'module-parser-javascript-esm-node-glo + bal' option. +--module-parser-javascript-esm-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-esm-reexport-exports-presence Negative + 'module-parser-javascript-esm-reexport + -exports-presence' option. +--module-parser-javascript-esm-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-esm-require-context Negative + 'module-parser-javascript-esm-require- + context' option. +--module-parser-javascript-esm-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-esm-require-ensure Negative + 'module-parser-javascript-esm-require- + ensure' option. +--module-parser-javascript-esm-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-esm-require-include Negative + 'module-parser-javascript-esm-require- + include' option. +--module-parser-javascript-esm-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-esm-require-js Negative + 'module-parser-javascript-esm-require- + js' option. +--module-parser-javascript-esm-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-esm-strict-export-presence Negative + 'module-parser-javascript-esm-strict-e + xport-presence' option. +--module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-esm-strict-this-context-on-imports Negative + 'module-parser-javascript-esm-strict-t + his-context-on-imports' option. +--module-parser-javascript-esm-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-esm-system Negative + 'module-parser-javascript-esm-system' + option. +--module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-esm-unknown-context-critical Negative + 'module-parser-javascript-esm-unknown- + context-critical' option. +--module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-recursive Negative + 'module-parser-javascript-esm-unknown- + context-recursive' option. +--module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-reg-exp Negative + 'module-parser-javascript-esm-unknown- + context-reg-exp' option. +--module-parser-javascript-esm-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-esm-url Negative + 'module-parser-javascript-esm-url' + option. +--module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-esm-worker Negative + 'module-parser-javascript-esm-worker' + option. +--module-parser-javascript-esm-worker-reset Clear all items provided in + 'module.parser.javascript/esm.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-esm-wrapped-context-critical Negative + 'module-parser-javascript-esm-wrapped- + context-critical' option. +--module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-esm-wrapped-context-recursive Negative + 'module-parser-javascript-esm-wrapped- + context-recursive' option. +--module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--module-parser-json-exports-depth The depth of json dependency flagged + as \`exportInfo\`. +--module-parser-json-named-exports Allow named exports for json of object + type. +--no-module-parser-json-named-exports Negative + 'module-parser-json-named-exports' + option. +--module-rules-compiler Match the child compiler name. +--module-rules-compiler-not Logical NOT. +--module-rules-dependency Match dependency type. +--module-rules-dependency-not Logical NOT. +--module-rules-enforce Enforce this rule as pre or post step. +--module-rules-exclude Shortcut for resource.exclude. +--module-rules-exclude-not Logical NOT. +--module-rules-extract-source-map Enable/Disable extracting source map. +--no-module-rules-extract-source-map Negative + 'module-rules-extract-source-map' + option. +--module-rules-include Shortcut for resource.include. +--module-rules-include-not Logical NOT. +--module-rules-issuer Match the issuer of the module (The + module pointing to this module). +--module-rules-issuer-not Logical NOT. +--module-rules-issuer-layer Match layer of the issuer of this + module (The module pointing to this + module). +--module-rules-issuer-layer-not Logical NOT. +--module-rules-layer Specifies the layer in which the + module should be placed in. +--module-rules-loader A loader request. +--module-rules-mimetype Match module mimetype when load from + Data URI. +--module-rules-mimetype-not Logical NOT. +--module-rules-real-resource Match the real resource path of the + module. +--module-rules-real-resource-not Logical NOT. +--module-rules-resource Match the resource path of the module. +--module-rules-resource-not Logical NOT. +--module-rules-resource-fragment Match the resource fragment of the + module. +--module-rules-resource-fragment-not Logical NOT. +--module-rules-resource-query Match the resource query of the + module. +--module-rules-resource-query-not Logical NOT. +--module-rules-scheme Match module scheme. +--module-rules-scheme-not Logical NOT. +--module-rules-side-effects Flags a module as with or without side + effects. +--no-module-rules-side-effects Negative 'module-rules-side-effects' + option. +--module-rules-test Shortcut for resource.test. +--module-rules-test-not Logical NOT. +--module-rules-type Module type to use for the module. +--module-rules-use-ident Unique loader options identifier. +--module-rules-use-loader A loader request. +--module-rules-use-options Options passed to a loader. +--module-rules-use A loader request. +--module-rules-reset Clear all items provided in + 'module.rules' configuration. A list + of rules. +--module-strict-export-presence Emit errors instead of warnings when + imported names don't exist in imported + module. Deprecated: This option has + moved to + 'module.parser.javascript.strictExport + Presence'. +--no-module-strict-export-presence Negative + 'module-strict-export-presence' + option. +--module-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. Deprecated: This option has + moved to + 'module.parser.javascript.strictThisCo + ntextOnImports'. +--no-module-strict-this-context-on-imports Negative + 'module-strict-this-context-on-imports + ' option. +--module-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtCritical'. +--no-module-unknown-context-critical Negative + 'module-unknown-context-critical' + option. +--module-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRecursive'. +--no-module-unknown-context-recursive Negative + 'module-unknown-context-recursive' + option. +--module-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRegExp'. +--no-module-unknown-context-reg-exp Negative + 'module-unknown-context-reg-exp' + option. +--module-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtRequest'. +--module-unsafe-cache Cache the resolving of module + requests. +--no-module-unsafe-cache Negative 'module-unsafe-cache' option. +--module-wrapped-context-critical Enable warnings for partial dynamic + dependencies. Deprecated: This option + has moved to + 'module.parser.javascript.wrappedConte + xtCritical'. +--no-module-wrapped-context-critical Negative + 'module-wrapped-context-critical' + option. +--module-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRecursive'. +--no-module-wrapped-context-recursive Negative + 'module-wrapped-context-recursive' + option. +--module-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRegExp'. +--name Name of the configuration. Used when + loading multiple configurations. +--no-node Negative 'node' option. +--node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-node-dirname Negative 'node-dirname' option. +--node-filename [value] Include a polyfill for the + '__filename' variable. +--no-node-filename Negative 'node-filename' option. +--node-global [value] Include a polyfill for the 'global' + variable. +--no-node-global Negative 'node-global' option. +--optimization-avoid-entry-iife Avoid wrapping the entry module in an + IIFE. +--no-optimization-avoid-entry-iife Negative + 'optimization-avoid-entry-iife' + option. +--optimization-check-wasm-types Check for incompatible wasm types when + importing/exporting from/to ESM. +--no-optimization-check-wasm-types Negative + 'optimization-check-wasm-types' + option. +--optimization-chunk-ids Define the algorithm to choose chunk + ids (named: readable ids for better + debugging, deterministic: numeric hash + ids for better long term caching, + size: numeric ids focused on minimal + initial download size, total-size: + numeric ids focused on minimal total + download size, false: no algorithm + used, as custom one can be provided + via plugin). +--no-optimization-chunk-ids Negative 'optimization-chunk-ids' + option. +--optimization-concatenate-modules Concatenate modules when possible to + generate less modules, more efficient + code and enable more optimizations by + the minimizer. +--no-optimization-concatenate-modules Negative + 'optimization-concatenate-modules' + option. +--optimization-emit-on-errors Emit assets even when errors occur. + Critical errors are emitted into the + generated code and will cause errors at stack. - --watch-options-poll [value] \`number\`: use polling with specified interval. \`true\`: use polling. - --no-watch-options-poll Negative 'watch-options-poll' option. - --watch-options-stdin Stop watching when stdin stream has ended. - --no-watch-options-stdin Negative 'watch-options-stdin' option. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +--watch-options-poll [value] \`number\`: use polling with specified + interval. \`true\`: use polling. +--no-watch-options-poll Negative 'watch-options-poll' option. +--watch-options-stdin Stop watching when stdin stream has + ended. +--no-watch-options-stdin Negative 'watch-options-stdin' option. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help build --verbose' to see all available options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'build' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'build' command using the "--help" option: stdout 1`] = ` -"Usage: webpack build|bundle|b [entries...] [options] - -Run webpack (default command, can be omitted). - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack (default command, can be omitted). + +Usage: webpack build|bundle|b [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help build --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'configtest' and respect the "--color" flag using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'configtest' and respect the "--color" flag using the "--help" option: stdout 1`] = ` -"Usage: webpack configtest|t [config-path] +"Validate a webpack configuration. -Validate a webpack configuration. +Usage: webpack configtest|t [options] [config-path] -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Options +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' + and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help configtest --verbose' to see all available options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'configtest' and respect the "--no-color" flag using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'configtest' and respect the "--no-color" flag using the "--help" option: stdout 1`] = ` -"Usage: webpack configtest|t [config-path] +"Validate a webpack configuration. -Validate a webpack configuration. +Usage: webpack configtest|t [options] [config-path] -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Options +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' + and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack help configtest --verbose' to see all available options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'configtest' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 'configtest' command using command syntax: stdout 1`] = ` -"Usage: webpack configtest|t [config-path] +"Validate a webpack configuration. -Validate a webpack configuration. +Usage: webpack configtest|t [options] [config-path] -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Options +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' + and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Run 'webpack help configtest --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'configtest' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 'configtest' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack configtest|t [config-path] +"Validate a webpack configuration. -Validate a webpack configuration. +Usage: webpack configtest|t [options] [config-path] -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Options +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' + and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack help configtest --verbose' to see all available options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'configtest' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'configtest' command using the "--help" option: stdout 1`] = ` -"Usage: webpack configtest|t [config-path] +"Validate a webpack configuration. -Validate a webpack configuration. +Usage: webpack configtest|t [options] [config-path] -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Options +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' + and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack help configtest --verbose' to see all available options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'i' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 'i' command using command syntax: stdout 1`] = ` -"Usage: webpack info|i [options] +"Outputs information about your system. -Outputs information about your system. +Usage: webpack info|i [options] -Options: - -o, --output To get the output in a specified format (accept json or markdown) - -a, --additional-package Adds additional packages to the output +Options +-o, --output To get the output in a specified format + (accept json or markdown) +-a, --additional-package Adds additional packages to the output +-h, --help [verbose] Display help for commands and options. -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help info --verbose' to see all available options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'i' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 'i' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack info|i [options] +"Outputs information about your system. -Outputs information about your system. +Usage: webpack info|i [options] -Options: - -o, --output To get the output in a specified format (accept json or markdown) - -a, --additional-package Adds additional packages to the output +Options +-o, --output To get the output in a specified format + (accept json or markdown) +-a, --additional-package Adds additional packages to the output +-h, --help [verbose] Display help for commands and options. -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack help info --verbose' to see all available options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'i' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'i' command using the "--help" option: stdout 1`] = ` -"Usage: webpack info|i [options] +"Outputs information about your system. -Outputs information about your system. +Usage: webpack info|i [options] -Options: - -o, --output To get the output in a specified format (accept json or markdown) - -a, --additional-package Adds additional packages to the output +Options +-o, --output To get the output in a specified format + (accept json or markdown) +-a, --additional-package Adds additional packages to the output +-h, --help [verbose] Display help for commands and options. -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack help info --verbose' to see all available options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'info' and respect the "--color" flag using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'info' and respect the "--color" flag using the "--help" option: stdout 1`] = ` -"Usage: webpack info|i [options] +"Outputs information about your system. -Outputs information about your system. +Usage: webpack info|i [options] -Options: - -o, --output To get the output in a specified format (accept json or markdown) - -a, --additional-package Adds additional packages to the output +Options +-o, --output To get the output in a specified format + (accept json or markdown) +-a, --additional-package Adds additional packages to the output +-h, --help [verbose] Display help for commands and options. -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help info --verbose' to see all available options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'info' and respect the "--no-color" flag using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'info' and respect the "--no-color" flag using the "--help" option: stdout 1`] = ` -"Usage: webpack info|i [options] +"Outputs information about your system. -Outputs information about your system. +Usage: webpack info|i [options] -Options: - -o, --output To get the output in a specified format (accept json or markdown) - -a, --additional-package Adds additional packages to the output +Options +-o, --output To get the output in a specified format + (accept json or markdown) +-a, --additional-package Adds additional packages to the output +-h, --help [verbose] Display help for commands and options. -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack help info --verbose' to see all available options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'info' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 'info' command using command syntax: stdout 1`] = ` -"Usage: webpack info|i [options] +"Outputs information about your system. -Outputs information about your system. +Usage: webpack info|i [options] -Options: - -o, --output To get the output in a specified format (accept json or markdown) - -a, --additional-package Adds additional packages to the output +Options +-o, --output To get the output in a specified format + (accept json or markdown) +-a, --additional-package Adds additional packages to the output +-h, --help [verbose] Display help for commands and options. -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help info --verbose' to see all available options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'info' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 'info' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack info|i [options] +"Outputs information about your system. -Outputs information about your system. +Usage: webpack info|i [options] -Options: - -o, --output To get the output in a specified format (accept json or markdown) - -a, --additional-package Adds additional packages to the output +Options +-o, --output To get the output in a specified format + (accept json or markdown) +-a, --additional-package Adds additional packages to the output +-h, --help [verbose] Display help for commands and options. -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack help info --verbose' to see all available options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'info' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'info' command using the "--help" option: stdout 1`] = ` -"Usage: webpack info|i [options] +"Outputs information about your system. -Outputs information about your system. +Usage: webpack info|i [options] -Options: - -o, --output To get the output in a specified format (accept json or markdown) - -a, --additional-package Adds additional packages to the output +Options +-o, --output To get the output in a specified format + (accept json or markdown) +-a, --additional-package Adds additional packages to the output +-h, --help [verbose] Display help for commands and options. -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack help info --verbose' to see all available options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 's' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 's' command using command syntax: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - --allowed-hosts Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --bonjour Allows to broadcasts dev server via ZeroConf networking on start. - --no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start. - --no-client Disables client script. - --client-logging Allows to set log level in the browser. - --client-overlay Enables a full-screen overlay in the browser when there are compiler errors or warnings. - --no-client-overlay Disables the full-screen overlay in the browser when there are compiler errors or warnings. - --client-overlay-errors Enables a full-screen overlay in the browser when there are compiler errors. - --no-client-overlay-errors Disables the full-screen overlay in the browser when there are compiler errors. - --client-overlay-warnings Enables a full-screen overlay in the browser when there are compiler warnings. - --no-client-overlay-warnings Disables the full-screen overlay in the browser when there are compiler warnings. - --client-overlay-runtime-errors Enables a full-screen overlay in the browser when there are uncaught runtime errors. - --no-client-overlay-runtime-errors Disables the full-screen overlay in the browser when there are uncaught runtime errors. - --client-overlay-trusted-types-policy-name The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'. - --client-progress [value] Displays compilation progress in the browser. Options include 'linear' and 'circular' for visual indicators. - --no-client-progress Does not display compilation progress in the browser. - --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to reconnect the client. - --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. - --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). - --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname. - --client-web-socket-url-pathname Tells clients connected to devServer to use the provided path to connect. - --client-web-socket-url-password Tells clients connected to devServer to use the provided password to authenticate. - --client-web-socket-url-port Tells clients connected to devServer to use the provided port. - --client-web-socket-url-protocol Tells clients connected to devServer to use the provided protocol. - --client-web-socket-url-username Tells clients connected to devServer to use the provided username to authenticate. - --compress Enables gzip compression for everything served. - --no-compress Disables gzip compression for everything served. - --history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API. - --no-history-api-fallback Disallows to proxy requests through a specified index page. - --host Allows to specify a hostname to use. - --hot [value] Enables Hot Module Replacement. - --no-hot Disables Hot Module Replacement. - --ipc [value] Listen to a unix socket. - --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). - --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default). - --open [value...] Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --no-open Does not open the default browser. - --open-target Opens specified page in browser. - --open-app-name Open specified browser. - --open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser. - --open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser. - --port Allows to specify a port to use. - --server-type Allows to set server and options (by default 'http'). - --server-options-passphrase Passphrase for a pfx file. - --server-options-request-cert Request for an SSL certificate. - --no-server-options-request-cert Does not request for an SSL certificate. - --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cert Path to an SSL certificate or content of an SSL certificate. - --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. - --server-options-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-crl-reset Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-key Path to an SSL key or content of an SSL key. - --server-options-key-reset Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key. - --server-options-pfx Path to an SSL pfx file or content of an SSL pfx file. - --server-options-pfx-reset Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. - --static [value...] Allows to configure options for serving static files from directory (by default 'public' directory). - --no-static Disallows to configure options for serving static files from directory. - --static-directory Directory for static contents. - --static-public-path The static files will be available in the browser under this public path. - --static-serve-index Tells dev server to use serveIndex middleware when enabled. - --no-static-serve-index Does not tell dev server to use serveIndex middleware. - --static-watch Watches for files in static content directory. - --no-static-watch Does not watch for files in static content directory. - --static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). - --static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path. - --watch-files Allows to configure list of globs/directories/files to watch for file changes. - --watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. - --no-web-socket-server Disallows to set web socket server and options. - --web-socket-server-type Allows to set web socket server and options (by default 'ws'). - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment + to build for. An array of environments + to build for all of them when + possible. +-w, --watch Enter watch mode, which rebuilds on + file change. +--watch-options-stdin Stop watching when stdin stream has + ended. +--allowed-hosts Allows to enumerate the hosts from + which access to the dev server are + allowed (useful when you are proxying + dev server, by default is 'auto'). +--allowed-hosts-reset Clear all items provided in + 'allowedHosts' configuration. Allows + to enumerate the hosts from which + access to the dev server are allowed + (useful when you are proxying dev + server, by default is 'auto'). +--bonjour Allows to broadcasts dev server via + ZeroConf networking on start. +--no-bonjour Disallows to broadcasts dev server via + ZeroConf networking on start. +--no-client Disables client script. +--client-logging Allows to set log level in the + browser. +--client-overlay Enables a full-screen overlay in the + browser when there are compiler errors + or warnings. +--no-client-overlay Disables the full-screen overlay in + the browser when there are compiler + errors or warnings. +--client-overlay-errors Enables a full-screen overlay in the + browser when there are compiler + errors. +--no-client-overlay-errors Disables the full-screen overlay in + the browser when there are compiler + errors. +--client-overlay-warnings Enables a full-screen overlay in the + browser when there are compiler + warnings. +--no-client-overlay-warnings Disables the full-screen overlay in + the browser when there are compiler + warnings. +--client-overlay-runtime-errors Enables a full-screen overlay in the + browser when there are uncaught + runtime errors. +--no-client-overlay-runtime-errors Disables the full-screen overlay in + the browser when there are uncaught + runtime errors. +--client-overlay-trusted-types-policy-name The name of a Trusted Types policy for + the overlay. Defaults to + 'webpack-dev-server#overlay'. +--client-progress [value] Displays compilation progress in the + browser. Options include 'linear' and + 'circular' for visual indicators. +--no-client-progress Does not display compilation progress + in the browser. +--client-reconnect [value] Tells dev-server the number of times + it should try to reconnect the client. +--no-client-reconnect Tells dev-server to not to try to + reconnect the client. +--client-web-socket-transport Allows to set custom web socket + transport to communicate with dev + server. +--client-web-socket-url Allows to specify URL to web socket + server (useful when you're proxying + dev server and client script does not + always know where to connect to). +--client-web-socket-url-hostname Tells clients connected to devServer + to use the provided hostname. +--client-web-socket-url-pathname Tells clients connected to devServer + to use the provided path to connect. +--client-web-socket-url-password Tells clients connected to devServer + to use the provided password to + authenticate. +--client-web-socket-url-port Tells clients connected to devServer + to use the provided port. +--client-web-socket-url-protocol Tells clients connected to devServer + to use the provided protocol. +--client-web-socket-url-username Tells clients connected to devServer + to use the provided username to + authenticate. +--compress Enables gzip compression for + everything served. +--no-compress Disables gzip compression for + everything served. +--history-api-fallback Allows to proxy requests through a + specified index page (by default + 'index.html'), useful for Single Page + Applications that utilise the HTML5 + History API. +--no-history-api-fallback Disallows to proxy requests through a + specified index page. +--host Allows to specify a hostname to use. +--hot [value] Enables Hot Module Replacement. +--no-hot Disables Hot Module Replacement. +--ipc [value] Listen to a unix socket. +--live-reload Enables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--no-live-reload Disables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--open [value...] Allows to configure dev server to open + the browser(s) and page(s) after + server had been started (set it to + true to open your default browser). +--no-open Does not open the default browser. +--open-target Opens specified page in browser. +--open-app-name Open specified browser. +--open-reset Clear all items provided in 'open' + configuration. Allows to configure dev + server to open the browser(s) and + page(s) after server had been started + (set it to true to open your default + browser). +--open-target-reset Clear all items provided in + 'open.target' configuration. Opens + specified page in browser. +--open-app-name-reset Clear all items provided in + 'open.app.name' configuration. Open + specified browser. +--port Allows to specify a port to use. +--server-type Allows to set server and options (by + default 'http'). +--server-options-passphrase Passphrase for a pfx file. +--server-options-request-cert Request for an SSL certificate. +--no-server-options-request-cert Does not request for an SSL + certificate. +--server-options-ca Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-ca-reset Clear all items provided in + 'server.options.ca' configuration. + Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-cert Path to an SSL certificate or content + of an SSL certificate. +--server-options-cert-reset Clear all items provided in + 'server.options.cert' configuration. + Path to an SSL certificate or content + of an SSL certificate. +--server-options-crl Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-crl-reset Clear all items provided in + 'server.options.crl' configuration. + Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-key Path to an SSL key or content of an + SSL key. +--server-options-key-reset Clear all items provided in + 'server.options.key' configuration. + Path to an SSL key or content of an + SSL key. +--server-options-pfx Path to an SSL pfx file or content of + an SSL pfx file. +--server-options-pfx-reset Clear all items provided in + 'server.options.pfx' configuration. + Path to an SSL pfx file or content of + an SSL pfx file. +--static [value...] Allows to configure options for + serving static files from directory + (by default 'public' directory). +--no-static Disallows to configure options for + serving static files from directory. +--static-directory Directory for static contents. +--static-public-path The static files will be available in + the browser under this public path. +--static-serve-index Tells dev server to use serveIndex + middleware when enabled. +--no-static-serve-index Does not tell dev server to use + serveIndex middleware. +--static-watch Watches for files in static content + directory. +--no-static-watch Does not watch for files in static + content directory. +--static-reset Clear all items provided in 'static' + configuration. Allows to configure + options for serving static files from + directory (by default 'public' + directory). +--static-public-path-reset Clear all items provided in + 'static.publicPath' configuration. The + static files will be available in the + browser under this public path. +--watch-files Allows to configure list of + globs/directories/files to watch for + file changes. +--watch-files-reset Clear all items provided in + 'watchFiles' configuration. Allows to + configure list of + globs/directories/files to watch for + file changes. +--no-web-socket-server Disallows to set web socket server and + options. +--web-socket-server-type Allows to set web socket server and + options (by default 'ws'). +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 's' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 's' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - --no-amd Negative 'amd' option. - --bail Report the first error as a hard error instead of tolerating it. - --no-bail Negative 'bail' option. - --cache Enable in memory caching. Disable caching. - --no-cache Negative 'cache' option. - --cache-cache-unaffected Additionally cache computation of modules that are unchanged and reference only unchanged modules. - --no-cache-cache-unaffected Negative 'cache-cache-unaffected' option. - --cache-max-generations Number of generations unused cache entries stay in memory cache +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +--no-amd Negative 'amd' option. +--bail Report the first error as a hard error + instead of tolerating it. +--no-bail Negative 'bail' option. +--cache Enable in memory caching. Disable + caching. +--no-cache Negative 'cache' option. +--cache-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules. +--no-cache-cache-unaffected Negative 'cache-cache-unaffected' + option. +--cache-max-generations Number of generations unused cache + entries stay in memory cache at + minimum (1 = may be removed after + unused for a single compilation, ..., + Infinity: kept forever). +--cache-type In memory caching. Filesystem caching. +--cache-allow-collecting-memory Allows to collect unused memory + allocated during deserialization. This + requires copying data into smaller + buffers and has a performance cost. +--no-cache-allow-collecting-memory Negative + 'cache-allow-collecting-memory' + option. +--cache-cache-directory Base directory for the cache (defaults + to node_modules/.cache/webpack). +--cache-cache-location Locations for the cache (defaults to + cacheDirectory / name). +--cache-compression Compression type used for the cache + files. +--no-cache-compression Negative 'cache-compression' option. +--cache-hash-algorithm Algorithm used for generation the hash + (see node.js crypto package). +--cache-idle-timeout Time in ms after which idle period the + cache storing should happen. +--cache-idle-timeout-after-large-changes Time in ms after which idle period the + cache storing should happen when + larger changes has been detected + (cumulative build time > 2 x avg cache + store time). +--cache-idle-timeout-for-initial-store Time in ms after which idle period the + initial cache storing should happen. +--cache-immutable-paths A RegExp matching an immutable + directory (usually a package manager + cache directory, including the tailing + slash) A path to an immutable + directory (usually a package manager + cache directory). +--cache-immutable-paths-reset Clear all items provided in + 'cache.immutablePaths' configuration. + List of paths that are managed by a + package manager and contain a version + or hash in its path so all files are + immutable. +--cache-managed-paths A RegExp matching a managed directory + (usually a node_modules directory, + including the tailing slash) A path to + a managed directory (usually a + node_modules directory). +--cache-managed-paths-reset Clear all items provided in + 'cache.managedPaths' configuration. + List of paths that are managed by a + package manager and can be trusted to + not be modified otherwise. +--cache-max-age Time for which unused cache entries + stay in the filesystem cache at + minimum (in milliseconds). +--cache-max-memory-generations Number of generations unused cache + entries stay in memory cache at + minimum (0 = no memory cache used, 1 = + may be removed after unused for a + single compilation, ..., Infinity: + kept forever). Cache entries will be + deserialized from disk when removed + from memory cache. +--cache-memory-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules in + memory. +--no-cache-memory-cache-unaffected Negative + 'cache-memory-cache-unaffected' + option. +--cache-name Name for the cache. Different names + will lead to different coexisting + caches. +--cache-profile Track and log detailed timing + information for individual cache + items. +--no-cache-profile Negative 'cache-profile' option. +--cache-readonly Enable/disable readonly mode. +--no-cache-readonly Negative 'cache-readonly' option. +--cache-store When to store data to the filesystem. + (pack: Store data when compiler is + idle in a single file). +--cache-version Version of the cache data. Different + versions won't allow to reuse the + cache and override existing content. + Update the version when config changed + in a way which doesn't allow to reuse + cache. This will invalidate the cache. +--context The base directory (absolute path!) + for resolving the \`entry\` option. If + \`output.pathinfo\` is set, the included + pathinfo is shortened to this + directory. +--dependencies References to another configuration to + depend on. +--dependencies-reset Clear all items provided in + 'dependencies' configuration. + References to other configurations to + depend on. +--no-dev-server Negative 'dev-server' option. +--devtool-type Which asset type should receive this + devtool value. +--devtool-use A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool-use Negative 'devtool-use' option. +--devtool-reset Clear all items provided in 'devtool' + configuration. A developer tool to + enhance debugging (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--dotenv Enable Dotenv plugin with default + options. +--no-dotenv Negative 'dotenv' option. +--dotenv-dir The directory from which .env files + are loaded. Can be an absolute path, + false will disable the .env file + loading. +--no-dotenv-dir Negative 'dotenv-dir' option. +--dotenv-prefix A prefix that environment variables + must start with to be exposed. +--dotenv-prefix-reset Clear all items provided in + 'dotenv.prefix' configuration. Only + expose environment variables that + start with these prefixes. Defaults to + 'WEBPACK_'. +--dotenv-template A template pattern for .env file + names. +--dotenv-template-reset Clear all items provided in + 'dotenv.template' configuration. + Template patterns for .env file names. + Use [mode] as placeholder for the + webpack mode. Defaults to ['.env', + '.env.local', '.env.[mode]', + '.env.[mode].local']. +--entry A module that is loaded upon startup. + Only the last one is exported. +--entry-reset Clear all items provided in 'entry' + configuration. All modules are loaded + upon startup. The last one is + exported. +--experiments-async-web-assembly Support WebAssembly as asynchronous + EcmaScript Module. +--no-experiments-async-web-assembly Negative + 'experiments-async-web-assembly' + option. +--experiments-back-compat Enable backward-compat layer with + deprecation warnings for many webpack + 4 APIs. +--no-experiments-back-compat Negative 'experiments-back-compat' + option. +--experiments-build-http-allowed-uris Allowed URI pattern. Allowed URI + (resp. the beginning of it). +--experiments-build-http-allowed-uris-reset Clear all items provided in + 'experiments.buildHttp.allowedUris' + configuration. List of allowed URIs + (resp. the beginning of them). +--experiments-build-http-cache-location Location where resource content is + stored for lockfile entries. It's also + possible to disable storing by passing + false. +--no-experiments-build-http-cache-location Negative + 'experiments-build-http-cache-location + ' option. +--experiments-build-http-frozen When set, anything that would lead to + a modification of the lockfile or any + resource content, will result in an + error. +--no-experiments-build-http-frozen Negative + 'experiments-build-http-frozen' + option. +--experiments-build-http-lockfile-location Location of the lockfile. +--experiments-build-http-proxy Proxy configuration, which can be used + to specify a proxy server to use for + HTTP requests. +--experiments-build-http-upgrade When set, resources of existing + lockfile entries will be fetched and + entries will be upgraded when resource + content has changed. +--no-experiments-build-http-upgrade Negative + 'experiments-build-http-upgrade' + option. +--experiments-cache-unaffected Enable additional in memory caching of + modules that are unchanged and + reference only unchanged modules. +--no-experiments-cache-unaffected Negative + 'experiments-cache-unaffected' option. +--experiments-css Enable css support. +--no-experiments-css Negative 'experiments-css' option. +--experiments-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-experiments-defer-import Negative 'experiments-defer-import' + option. +--experiments-future-defaults Apply defaults of next major version. +--no-experiments-future-defaults Negative 'experiments-future-defaults' + option. +--experiments-lazy-compilation Compile entrypoints and import()s only + when they are accessed. +--no-experiments-lazy-compilation Negative + 'experiments-lazy-compilation' option. +--experiments-lazy-compilation-backend-client A custom client. +--experiments-lazy-compilation-backend-listen A port. +--experiments-lazy-compilation-backend-listen-host A host. +--experiments-lazy-compilation-backend-listen-port A port. +--experiments-lazy-compilation-backend-protocol Specifies the protocol the client + should use to connect to the server. +--experiments-lazy-compilation-entries Enable/disable lazy compilation for + entries. +--no-experiments-lazy-compilation-entries Negative + 'experiments-lazy-compilation-entries' + option. +--experiments-lazy-compilation-imports Enable/disable lazy compilation for + import() modules. +--no-experiments-lazy-compilation-imports Negative + 'experiments-lazy-compilation-imports' + option. +--experiments-lazy-compilation-test Specify which entrypoints or + import()ed modules should be lazily + compiled. This is matched with the + imported module and not the entrypoint + name. +--experiments-output-module Allow output javascript files as + module source type. +--no-experiments-output-module Negative 'experiments-output-module' + option. +--experiments-sync-web-assembly Support WebAssembly as synchronous + EcmaScript Module (outdated). +--no-experiments-sync-web-assembly Negative + 'experiments-sync-web-assembly' + option. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--extends-reset Clear all items provided in 'extends' + configuration. Extend configuration + from another configuration (only works + when using webpack-cli). +--externals Every matched dependency becomes + external. An exact matched dependency + becomes external. The same string is + used as external dependency. +--externals-reset Clear all items provided in + 'externals' configuration. Specify + dependencies that shouldn't be + resolved by webpack, but should become + dependencies of the resulting bundle. + The kind of the dependency depends on + \`output.libraryTarget\`. +--externals-presets-electron Treat common electron built-in modules + in main and preload context like + 'electron', 'ipc' or 'shell' as + external and load them via require() + when used. +--no-externals-presets-electron Negative 'externals-presets-electron' + option. +--externals-presets-electron-main Treat electron built-in modules in the + main context like 'app', 'ipc-main' or + 'shell' as external and load them via + require() when used. +--no-externals-presets-electron-main Negative + 'externals-presets-electron-main' + option. +--externals-presets-electron-preload Treat electron built-in modules in the + preload context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-preload Negative + 'externals-presets-electron-preload' + option. +--externals-presets-electron-renderer Treat electron built-in modules in the + renderer context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-renderer Negative + 'externals-presets-electron-renderer' + option. +--externals-presets-node Treat node.js built-in modules like + fs, path or vm as external and load + them via require() when used. +--no-externals-presets-node Negative 'externals-presets-node' + option. +--externals-presets-nwjs Treat NW.js legacy nw.gui module as + external and load it via require() + when used. +--no-externals-presets-nwjs Negative 'externals-presets-nwjs' + option. +--externals-presets-web Treat references to 'http(s)://...' + and 'std:...' as external and load + them via import when used (Note that + this changes execution order as + externals are executed before any + other code in the chunk). +--no-externals-presets-web Negative 'externals-presets-web' + option. +--externals-presets-web-async Treat references to 'http(s)://...' + and 'std:...' as external and load + them via async import() when used + (Note that this external type is an + async module, which has various + effects on the execution). +--no-externals-presets-web-async Negative 'externals-presets-web-async' + option. +--externals-type Specifies the default type of + externals ('amd*', 'umd*', 'system' + and 'jsonp' depend on + output.libraryTarget set to the same + value). +--ignore-warnings A RegExp to select the warning + message. +--ignore-warnings-file A RegExp to select the origin file for + the warning. +--ignore-warnings-message A RegExp to select the warning + message. +--ignore-warnings-module A RegExp to select the origin module + for the warning. +--ignore-warnings-reset Clear all items provided in + 'ignoreWarnings' configuration. Ignore + specific warnings. +--infrastructure-logging-append-only Only appends lines to the output. + Avoids updating existing output e. g. + for status messages. This option is + only used when no custom console is + provided. +--no-infrastructure-logging-append-only Negative + 'infrastructure-logging-append-only' + option. +--infrastructure-logging-colors Enables/Disables colorful output. This + option is only used when no custom + console is provided. +--no-infrastructure-logging-colors Negative + 'infrastructure-logging-colors' + option. +--infrastructure-logging-debug [value...] Enable/Disable debug logging for all + loggers. Enable debug logging for + specific loggers. +--no-infrastructure-logging-debug Negative + 'infrastructure-logging-debug' option. +--infrastructure-logging-debug-reset Clear all items provided in + 'infrastructureLogging.debug' + configuration. Enable debug logging + for specific loggers. +--infrastructure-logging-level Log level. +--mode Enable production optimizations or + development hints. +--module-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-expr-context-critical Negative + 'module-expr-context-critical' option. +--module-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. Deprecated: + This option has moved to + 'module.parser.javascript.exprContextR + ecursive'. +--no-module-expr-context-recursive Negative + 'module-expr-context-recursive' + option. +--module-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.exprContextR + egExp'. +--no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' + option. +--module-expr-context-request Set the default request for full + dynamic dependencies. Deprecated: This + option has moved to + 'module.parser.javascript.exprContextR + equest'. +--module-generator-asset-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-binary Negative + 'module-generator-asset-binary' + option. +--module-generator-asset-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-data-url-encoding Negative + 'module-generator-asset-data-url-encod + ing' option. +--module-generator-asset-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-emit Negative 'module-generator-asset-emit' + option. +--module-generator-asset-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-asset-inline-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-inline-binary Negative + 'module-generator-asset-inline-binary' + option. +--module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-inline-data-url-encoding Negative + 'module-generator-asset-inline-data-ur + l-encoding' option. +--module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-resource-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-resource-binary Negative + 'module-generator-asset-resource-binar + y' option. +--module-generator-asset-resource-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-resource-emit Negative + 'module-generator-asset-resource-emit' + option. +--module-generator-asset-resource-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-resource-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-resource-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-css-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-es-module Negative + 'module-generator-css-es-module' + option. +--module-generator-css-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-exports-only Negative + 'module-generator-css-exports-only' + option. +--module-generator-css-auto-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-auto-es-module Negative + 'module-generator-css-auto-es-module' + option. +--module-generator-css-auto-export-type Configure how CSS content is exported + as default. +--module-generator-css-auto-exports-convention Specifies the convention of exported + names. +--module-generator-css-auto-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-auto-exports-only Negative + 'module-generator-css-auto-exports-onl + y' option. +--module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-auto-local-ident-name Configure the generated local ident + name. +--module-generator-css-global-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-global-es-module Negative + 'module-generator-css-global-es-module + ' option. +--module-generator-css-global-export-type Configure how CSS content is exported + as default. +--module-generator-css-global-exports-convention Specifies the convention of exported + names. +--module-generator-css-global-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-global-exports-only Negative + 'module-generator-css-global-exports-o + nly' option. +--module-generator-css-global-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-global-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-global-local-ident-name Configure the generated local ident + name. +--module-generator-css-module-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-module-es-module Negative + 'module-generator-css-module-es-module + ' option. +--module-generator-css-module-export-type Configure how CSS content is exported + as default. +--module-generator-css-module-exports-convention Specifies the convention of exported + names. +--module-generator-css-module-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-module-exports-only Negative + 'module-generator-css-module-exports-o + nly' option. +--module-generator-css-module-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-module-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-module-local-ident-name Configure the generated local ident + name. +--module-generator-json-json-parse Use \`JSON.parse\` when the JSON string + is longer than 20 characters. +--no-module-generator-json-json-parse Negative + 'module-generator-json-json-parse' + option. +--module-no-parse A regular expression, when matched the + module is not parsed. An absolute + path, when the module starts with this + path it is not parsed. +--module-no-parse-reset Clear all items provided in + 'module.noParse' configuration. Don't + parse files matching. It's matched + against the full resolved request. +--module-parser-asset-data-url-condition-max-size Maximum size of asset that should be + inline as modules. Default: 8kb. +--module-parser-css-export-type Configure how CSS content is exported + as default. +--module-parser-css-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-import Negative 'module-parser-css-import' + option. +--module-parser-css-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-named-exports Negative + 'module-parser-css-named-exports' + option. +--module-parser-css-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-url Negative 'module-parser-css-url' + option. +--module-parser-css-auto-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-auto-animation Negative + 'module-parser-css-auto-animation' + option. +--module-parser-css-auto-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-auto-container Negative + 'module-parser-css-auto-container' + option. +--module-parser-css-auto-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-auto-custom-idents Negative + 'module-parser-css-auto-custom-idents' + option. +--module-parser-css-auto-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-auto-dashed-idents Negative + 'module-parser-css-auto-dashed-idents' + option. +--module-parser-css-auto-export-type Configure how CSS content is exported + as default. +--module-parser-css-auto-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-auto-function Negative + 'module-parser-css-auto-function' + option. +--module-parser-css-auto-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' + option. +--module-parser-css-auto-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-auto-import Negative + 'module-parser-css-auto-import' + option. +--module-parser-css-auto-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-auto-named-exports Negative + 'module-parser-css-auto-named-exports' + option. +--module-parser-css-auto-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' + option. +--module-parser-css-global-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-global-animation Negative + 'module-parser-css-global-animation' + option. +--module-parser-css-global-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-global-container Negative + 'module-parser-css-global-container' + option. +--module-parser-css-global-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-global-custom-idents Negative + 'module-parser-css-global-custom-ident + s' option. +--module-parser-css-global-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-global-dashed-idents Negative + 'module-parser-css-global-dashed-ident + s' option. +--module-parser-css-global-export-type Configure how CSS content is exported + as default. +--module-parser-css-global-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-global-function Negative + 'module-parser-css-global-function' + option. +--module-parser-css-global-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-global-grid Negative + 'module-parser-css-global-grid' + option. +--module-parser-css-global-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-global-import Negative + 'module-parser-css-global-import' + option. +--module-parser-css-global-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-global-named-exports Negative + 'module-parser-css-global-named-export + s' option. +--module-parser-css-global-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-global-url Negative + 'module-parser-css-global-url' option. +--module-parser-css-module-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-module-animation Negative + 'module-parser-css-module-animation' + option. +--module-parser-css-module-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-module-container Negative + 'module-parser-css-module-container' + option. +--module-parser-css-module-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-module-custom-idents Negative + 'module-parser-css-module-custom-ident + s' option. +--module-parser-css-module-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-module-dashed-idents Negative + 'module-parser-css-module-dashed-ident + s' option. +--module-parser-css-module-export-type Configure how CSS content is exported + as default. +--module-parser-css-module-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-module-function Negative + 'module-parser-css-module-function' + option. +--module-parser-css-module-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-module-grid Negative + 'module-parser-css-module-grid' + option. +--module-parser-css-module-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-module-import Negative + 'module-parser-css-module-import' + option. +--module-parser-css-module-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-module-named-exports Negative + 'module-parser-css-module-named-export + s' option. +--module-parser-css-module-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-module-url Negative + 'module-parser-css-module-url' option. +--no-module-parser-javascript-amd Negative + 'module-parser-javascript-amd' option. +--module-parser-javascript-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-browserify Negative + 'module-parser-javascript-browserify' + option. +--module-parser-javascript-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-commonjs Negative + 'module-parser-javascript-commonjs' + option. +--module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-commonjs-magic-comments Negative + 'module-parser-javascript-commonjs-mag + ic-comments' option. +--module-parser-javascript-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-create-require Negative + 'module-parser-javascript-create-requi + re' option. +--module-parser-javascript-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-defer-import Negative + 'module-parser-javascript-defer-import + ' option. +--module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-impo + rt-fetch-priority' option. +--module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-impo + rt-prefetch' option. +--module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-impo + rt-preload' option. +--module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. + Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-dynamic-url Negative + 'module-parser-javascript-dynamic-url' + option. +--module-parser-javascript-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-exports-presence Negative + 'module-parser-javascript-exports-pres + ence' option. +--module-parser-javascript-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-expr-context-critical Negative + 'module-parser-javascript-expr-context + -critical' option. +--module-parser-javascript-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-expr-context-recursive Negative + 'module-parser-javascript-expr-context + -recursive' option. +--module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-expr-context-reg-exp Negative + 'module-parser-javascript-expr-context + -reg-exp' option. +--module-parser-javascript-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-harmony Negative + 'module-parser-javascript-harmony' + option. +--module-parser-javascript-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-import Negative + 'module-parser-javascript-import' + option. +--module-parser-javascript-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-import-exports-presence Negative + 'module-parser-javascript-import-expor + ts-presence' option. +--module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-import-meta Negative + 'module-parser-javascript-import-meta' + option. +--module-parser-javascript-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-import-meta-context Negative + 'module-parser-javascript-import-meta- + context' option. +--no-module-parser-javascript-node Negative + 'module-parser-javascript-node' + option. +--module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-node-dirname Negative + 'module-parser-javascript-node-dirname + ' option. +--module-parser-javascript-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-node-filename Negative + 'module-parser-javascript-node-filenam + e' option. +--module-parser-javascript-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-node-global Negative + 'module-parser-javascript-node-global' + option. +--module-parser-javascript-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-reexport-exports-presence Negative + 'module-parser-javascript-reexport-exp + orts-presence' option. +--module-parser-javascript-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-require-context Negative + 'module-parser-javascript-require-cont + ext' option. +--module-parser-javascript-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-require-ensure Negative + 'module-parser-javascript-require-ensu + re' option. +--module-parser-javascript-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-require-include Negative + 'module-parser-javascript-require-incl + ude' option. +--module-parser-javascript-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-require-js Negative + 'module-parser-javascript-require-js' + option. +--module-parser-javascript-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-strict-export-presence Negative + 'module-parser-javascript-strict-expor + t-presence' option. +--module-parser-javascript-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-strict-this-context-on-imports Negative + 'module-parser-javascript-strict-this- + context-on-imports' option. +--module-parser-javascript-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-system Negative + 'module-parser-javascript-system' + option. +--module-parser-javascript-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-unknown-context-critical Negative + 'module-parser-javascript-unknown-cont + ext-critical' option. +--module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-recursive Negative + 'module-parser-javascript-unknown-cont + ext-recursive' option. +--module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-reg-exp Negative + 'module-parser-javascript-unknown-cont + ext-reg-exp' option. +--module-parser-javascript-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-url Negative + 'module-parser-javascript-url' option. +--module-parser-javascript-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-worker Negative + 'module-parser-javascript-worker' + option. +--module-parser-javascript-worker-reset Clear all items provided in + 'module.parser.javascript.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-wrapped-context-critical Negative + 'module-parser-javascript-wrapped-cont + ext-critical' option. +--module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-wrapped-context-recursive Negative + 'module-parser-javascript-wrapped-cont + ext-recursive' option. +--module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-auto-amd Negative + 'module-parser-javascript-auto-amd' + option. +--module-parser-javascript-auto-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-auto-browserify Negative + 'module-parser-javascript-auto-browser + ify' option. +--module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-auto-commonjs Negative + 'module-parser-javascript-auto-commonj + s' option. +--module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-auto-commonjs-magic-comments Negative + 'module-parser-javascript-auto-commonj + s-magic-comments' option. +--module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-auto-create-require Negative + 'module-parser-javascript-auto-create- + require' option. +--module-parser-javascript-auto-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-auto-defer-import Negative + 'module-parser-javascript-auto-defer-i + mport' option. +--module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative + 'module-parser-javascript-auto-dynamic + -import-fetch-priority' option. +--module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-prefetch Negative + 'module-parser-javascript-auto-dynamic + -import-prefetch' option. +--module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-preload Negative + 'module-parser-javascript-auto-dynamic + -import-preload' option. +--module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-auto-dynamic-url Negative + 'module-parser-javascript-auto-dynamic + -url' option. +--module-parser-javascript-auto-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-auto-exports-presence Negative + 'module-parser-javascript-auto-exports + -presence' option. +--module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-auto-expr-context-critical Negative + 'module-parser-javascript-auto-expr-co + ntext-critical' option. +--module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-recursive Negative + 'module-parser-javascript-auto-expr-co + ntext-recursive' option. +--module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-reg-exp Negative + 'module-parser-javascript-auto-expr-co + ntext-reg-exp' option. +--module-parser-javascript-auto-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-auto-harmony Negative + 'module-parser-javascript-auto-harmony + ' option. +--module-parser-javascript-auto-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-auto-import Negative + 'module-parser-javascript-auto-import' + option. +--module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-auto-import-exports-presence Negative + 'module-parser-javascript-auto-import- + exports-presence' option. +--module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-auto-import-meta Negative + 'module-parser-javascript-auto-import- + meta' option. +--module-parser-javascript-auto-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-auto-import-meta-context Negative + 'module-parser-javascript-auto-import- + meta-context' option. +--no-module-parser-javascript-auto-node Negative + 'module-parser-javascript-auto-node' + option. +--module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-auto-node-dirname Negative + 'module-parser-javascript-auto-node-di + rname' option. +--module-parser-javascript-auto-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-auto-node-filename Negative + 'module-parser-javascript-auto-node-fi + lename' option. +--module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-auto-node-global Negative + 'module-parser-javascript-auto-node-gl + obal' option. +--module-parser-javascript-auto-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-auto-reexport-exports-presence Negative + 'module-parser-javascript-auto-reexpor + t-exports-presence' option. +--module-parser-javascript-auto-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-auto-require-context Negative + 'module-parser-javascript-auto-require + -context' option. +--module-parser-javascript-auto-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-auto-require-ensure Negative + 'module-parser-javascript-auto-require + -ensure' option. +--module-parser-javascript-auto-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-auto-require-include Negative + 'module-parser-javascript-auto-require + -include' option. +--module-parser-javascript-auto-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-auto-require-js Negative + 'module-parser-javascript-auto-require + -js' option. +--module-parser-javascript-auto-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-auto-strict-export-presence Negative + 'module-parser-javascript-auto-strict- + export-presence' option. +--module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-auto-strict-this-context-on-imports Negative + 'module-parser-javascript-auto-strict- + this-context-on-imports' option. +--module-parser-javascript-auto-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-auto-system Negative + 'module-parser-javascript-auto-system' + option. +--module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-auto-unknown-context-critical Negative + 'module-parser-javascript-auto-unknown + -context-critical' option. +--module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-recursive Negative + 'module-parser-javascript-auto-unknown + -context-recursive' option. +--module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-reg-exp Negative + 'module-parser-javascript-auto-unknown + -context-reg-exp' option. +--module-parser-javascript-auto-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-auto-url Negative + 'module-parser-javascript-auto-url' + option. +--module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-auto-worker Negative + 'module-parser-javascript-auto-worker' + option. +--module-parser-javascript-auto-worker-reset Clear all items provided in + 'module.parser.javascript/auto.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-auto-wrapped-context-critical Negative + 'module-parser-javascript-auto-wrapped + -context-critical' option. +--module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-auto-wrapped-context-recursive Negative + 'module-parser-javascript-auto-wrapped + -context-recursive' option. +--module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-amd Negative + 'module-parser-javascript-dynamic-amd' + option. +--module-parser-javascript-dynamic-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-dynamic-browserify Negative + 'module-parser-javascript-dynamic-brow + serify' option. +--module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-dynamic-commonjs Negative + 'module-parser-javascript-dynamic-comm + onjs' option. +--module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-dynamic-commonjs-magic-comments Negative + 'module-parser-javascript-dynamic-comm + onjs-magic-comments' option. +--module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-dynamic-create-require Negative + 'module-parser-javascript-dynamic-crea + te-require' option. +--module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-dynamic-defer-import Negative + 'module-parser-javascript-dynamic-defe + r-import' option. +--module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-dyna + mic-import-fetch-priority' option. +--module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-dyna + mic-import-prefetch' option. +--module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-dyna + mic-import-preload' option. +--module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-dynamic-dynamic-url Negative + 'module-parser-javascript-dynamic-dyna + mic-url' option. +--module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-dynamic-exports-presence Negative + 'module-parser-javascript-dynamic-expo + rts-presence' option. +--module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-dynamic-expr-context-critical Negative + 'module-parser-javascript-dynamic-expr + -context-critical' option. +--module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-recursive Negative + 'module-parser-javascript-dynamic-expr + -context-recursive' option. +--module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-reg-exp Negative + 'module-parser-javascript-dynamic-expr + -context-reg-exp' option. +--module-parser-javascript-dynamic-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-dynamic-harmony Negative + 'module-parser-javascript-dynamic-harm + ony' option. +--module-parser-javascript-dynamic-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-dynamic-import Negative + 'module-parser-javascript-dynamic-impo + rt' option. +--module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-dynamic-import-exports-presence Negative + 'module-parser-javascript-dynamic-impo + rt-exports-presence' option. +--module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-dynamic-import-meta Negative + 'module-parser-javascript-dynamic-impo + rt-meta' option. +--module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-dynamic-import-meta-context Negative + 'module-parser-javascript-dynamic-impo + rt-meta-context' option. +--no-module-parser-javascript-dynamic-node Negative + 'module-parser-javascript-dynamic-node + ' option. +--module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-dynamic-node-dirname Negative + 'module-parser-javascript-dynamic-node + -dirname' option. +--module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-dynamic-node-filename Negative + 'module-parser-javascript-dynamic-node + -filename' option. +--module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-dynamic-node-global Negative + 'module-parser-javascript-dynamic-node + -global' option. +--module-parser-javascript-dynamic-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-dynamic-reexport-exports-presence Negative + 'module-parser-javascript-dynamic-reex + port-exports-presence' option. +--module-parser-javascript-dynamic-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-dynamic-require-context Negative + 'module-parser-javascript-dynamic-requ + ire-context' option. +--module-parser-javascript-dynamic-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-dynamic-require-ensure Negative + 'module-parser-javascript-dynamic-requ + ire-ensure' option. +--module-parser-javascript-dynamic-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-dynamic-require-include Negative + 'module-parser-javascript-dynamic-requ + ire-include' option. +--module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-dynamic-require-js Negative + 'module-parser-javascript-dynamic-requ + ire-js' option. +--module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-dynamic-strict-export-presence Negative + 'module-parser-javascript-dynamic-stri + ct-export-presence' option. +--module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative + 'module-parser-javascript-dynamic-stri + ct-this-context-on-imports' option. +--module-parser-javascript-dynamic-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-dynamic-system Negative + 'module-parser-javascript-dynamic-syst + em' option. +--module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-critical Negative + 'module-parser-javascript-dynamic-unkn + own-context-critical' option. +--module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-recursive Negative + 'module-parser-javascript-dynamic-unkn + own-context-recursive' option. +--module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative + 'module-parser-javascript-dynamic-unkn + own-context-reg-exp' option. +--module-parser-javascript-dynamic-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-dynamic-worker Negative + 'module-parser-javascript-dynamic-work + er' option. +--module-parser-javascript-dynamic-worker-reset Clear all items provided in + 'module.parser.javascript/dynamic.work + er' configuration. Disable or + configure parsing of WebWorker syntax + like new Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-critical Negative + 'module-parser-javascript-dynamic-wrap + ped-context-critical' option. +--module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-recursive Negative + 'module-parser-javascript-dynamic-wrap + ped-context-recursive' option. +--module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-esm-amd Negative + 'module-parser-javascript-esm-amd' + option. +--module-parser-javascript-esm-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-esm-browserify Negative + 'module-parser-javascript-esm-browseri + fy' option. +--module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-esm-commonjs Negative + 'module-parser-javascript-esm-commonjs + ' option. +--module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-esm-commonjs-magic-comments Negative + 'module-parser-javascript-esm-commonjs + -magic-comments' option. +--module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-esm-create-require Negative + 'module-parser-javascript-esm-create-r + equire' option. +--module-parser-javascript-esm-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-esm-defer-import Negative + 'module-parser-javascript-esm-defer-im + port' option. +--module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative + 'module-parser-javascript-esm-dynamic- + import-fetch-priority' option. +--module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-prefetch Negative + 'module-parser-javascript-esm-dynamic- + import-prefetch' option. +--module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-preload Negative + 'module-parser-javascript-esm-dynamic- + import-preload' option. +--module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-esm-dynamic-url Negative + 'module-parser-javascript-esm-dynamic- + url' option. +--module-parser-javascript-esm-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-esm-exports-presence Negative + 'module-parser-javascript-esm-exports- + presence' option. +--module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-esm-expr-context-critical Negative + 'module-parser-javascript-esm-expr-con + text-critical' option. +--module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-recursive Negative + 'module-parser-javascript-esm-expr-con + text-recursive' option. +--module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-reg-exp Negative + 'module-parser-javascript-esm-expr-con + text-reg-exp' option. +--module-parser-javascript-esm-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-esm-harmony Negative + 'module-parser-javascript-esm-harmony' + option. +--module-parser-javascript-esm-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-esm-import Negative + 'module-parser-javascript-esm-import' + option. +--module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-esm-import-exports-presence Negative + 'module-parser-javascript-esm-import-e + xports-presence' option. +--module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-esm-import-meta Negative + 'module-parser-javascript-esm-import-m + eta' option. +--module-parser-javascript-esm-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-esm-import-meta-context Negative + 'module-parser-javascript-esm-import-m + eta-context' option. +--no-module-parser-javascript-esm-node Negative + 'module-parser-javascript-esm-node' + option. +--module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-esm-node-dirname Negative + 'module-parser-javascript-esm-node-dir + name' option. +--module-parser-javascript-esm-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-esm-node-filename Negative + 'module-parser-javascript-esm-node-fil + ename' option. +--module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-esm-node-global Negative + 'module-parser-javascript-esm-node-glo + bal' option. +--module-parser-javascript-esm-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-esm-reexport-exports-presence Negative + 'module-parser-javascript-esm-reexport + -exports-presence' option. +--module-parser-javascript-esm-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-esm-require-context Negative + 'module-parser-javascript-esm-require- + context' option. +--module-parser-javascript-esm-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-esm-require-ensure Negative + 'module-parser-javascript-esm-require- + ensure' option. +--module-parser-javascript-esm-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-esm-require-include Negative + 'module-parser-javascript-esm-require- + include' option. +--module-parser-javascript-esm-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-esm-require-js Negative + 'module-parser-javascript-esm-require- + js' option. +--module-parser-javascript-esm-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-esm-strict-export-presence Negative + 'module-parser-javascript-esm-strict-e + xport-presence' option. +--module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-esm-strict-this-context-on-imports Negative + 'module-parser-javascript-esm-strict-t + his-context-on-imports' option. +--module-parser-javascript-esm-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-esm-system Negative + 'module-parser-javascript-esm-system' + option. +--module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-esm-unknown-context-critical Negative + 'module-parser-javascript-esm-unknown- + context-critical' option. +--module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-recursive Negative + 'module-parser-javascript-esm-unknown- + context-recursive' option. +--module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-reg-exp Negative + 'module-parser-javascript-esm-unknown- + context-reg-exp' option. +--module-parser-javascript-esm-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-esm-url Negative + 'module-parser-javascript-esm-url' + option. +--module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-esm-worker Negative + 'module-parser-javascript-esm-worker' + option. +--module-parser-javascript-esm-worker-reset Clear all items provided in + 'module.parser.javascript/esm.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-esm-wrapped-context-critical Negative + 'module-parser-javascript-esm-wrapped- + context-critical' option. +--module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-esm-wrapped-context-recursive Negative + 'module-parser-javascript-esm-wrapped- + context-recursive' option. +--module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--module-parser-json-exports-depth The depth of json dependency flagged + as \`exportInfo\`. +--module-parser-json-named-exports Allow named exports for json of object + type. +--no-module-parser-json-named-exports Negative + 'module-parser-json-named-exports' + option. +--module-rules-compiler Match the child compiler name. +--module-rules-compiler-not Logical NOT. +--module-rules-dependency Match dependency type. +--module-rules-dependency-not Logical NOT. +--module-rules-enforce Enforce this rule as pre or post step. +--module-rules-exclude Shortcut for resource.exclude. +--module-rules-exclude-not Logical NOT. +--module-rules-extract-source-map Enable/Disable extracting source map. +--no-module-rules-extract-source-map Negative + 'module-rules-extract-source-map' + option. +--module-rules-include Shortcut for resource.include. +--module-rules-include-not Logical NOT. +--module-rules-issuer Match the issuer of the module (The + module pointing to this module). +--module-rules-issuer-not Logical NOT. +--module-rules-issuer-layer Match layer of the issuer of this + module (The module pointing to this + module). +--module-rules-issuer-layer-not Logical NOT. +--module-rules-layer Specifies the layer in which the + module should be placed in. +--module-rules-loader A loader request. +--module-rules-mimetype Match module mimetype when load from + Data URI. +--module-rules-mimetype-not Logical NOT. +--module-rules-real-resource Match the real resource path of the + module. +--module-rules-real-resource-not Logical NOT. +--module-rules-resource Match the resource path of the module. +--module-rules-resource-not Logical NOT. +--module-rules-resource-fragment Match the resource fragment of the + module. +--module-rules-resource-fragment-not Logical NOT. +--module-rules-resource-query Match the resource query of the + module. +--module-rules-resource-query-not Logical NOT. +--module-rules-scheme Match module scheme. +--module-rules-scheme-not Logical NOT. +--module-rules-side-effects Flags a module as with or without side + effects. +--no-module-rules-side-effects Negative 'module-rules-side-effects' + option. +--module-rules-test Shortcut for resource.test. +--module-rules-test-not Logical NOT. +--module-rules-type Module type to use for the module. +--module-rules-use-ident Unique loader options identifier. +--module-rules-use-loader A loader request. +--module-rules-use-options Options passed to a loader. +--module-rules-use A loader request. +--module-rules-reset Clear all items provided in + 'module.rules' configuration. A list + of rules. +--module-strict-export-presence Emit errors instead of warnings when + imported names don't exist in imported + module. Deprecated: This option has + moved to + 'module.parser.javascript.strictExport + Presence'. +--no-module-strict-export-presence Negative + 'module-strict-export-presence' + option. +--module-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. Deprecated: This option has + moved to + 'module.parser.javascript.strictThisCo + ntextOnImports'. +--no-module-strict-this-context-on-imports Negative + 'module-strict-this-context-on-imports + ' option. +--module-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtCritical'. +--no-module-unknown-context-critical Negative + 'module-unknown-context-critical' + option. +--module-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRecursive'. +--no-module-unknown-context-recursive Negative + 'module-unknown-context-recursive' + option. +--module-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRegExp'. +--no-module-unknown-context-reg-exp Negative + 'module-unknown-context-reg-exp' + option. +--module-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtRequest'. +--module-unsafe-cache Cache the resolving of module + requests. +--no-module-unsafe-cache Negative 'module-unsafe-cache' option. +--module-wrapped-context-critical Enable warnings for partial dynamic + dependencies. Deprecated: This option + has moved to + 'module.parser.javascript.wrappedConte + xtCritical'. +--no-module-wrapped-context-critical Negative + 'module-wrapped-context-critical' + option. +--module-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRecursive'. +--no-module-wrapped-context-recursive Negative + 'module-wrapped-context-recursive' + option. +--module-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRegExp'. +--name Name of the configuration. Used when + loading multiple configurations. +--no-node Negative 'node' option. +--node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-node-dirname Negative 'node-dirname' option. +--node-filename [value] Include a polyfill for the + '__filename' variable. +--no-node-filename Negative 'node-filename' option. +--node-global [value] Include a polyfill for the 'global' + variable. +--no-node-global Negative 'node-global' option. +--optimization-avoid-entry-iife Avoid wrapping the entry module in an + IIFE. +--no-optimization-avoid-entry-iife Negative + 'optimization-avoid-entry-iife' + option. +--optimization-check-wasm-types Check for incompatible wasm types when + importing/exporting from/to ESM. +--no-optimization-check-wasm-types Negative + 'optimization-check-wasm-types' + option. +--optimization-chunk-ids Define the algorithm to choose chunk + ids (named: readable ids for better + debugging, deterministic: numeric hash + ids for better long term caching, + size: numeric ids focused on minimal + initial download size, total-size: + numeric ids focused on minimal total + download size, false: no algorithm + used, as custom one can be provided + via plugin). +--no-optimization-chunk-ids Negative 'optimization-chunk-ids' + option. +--optimization-concatenate-modules Concatenate modules when possible to + generate less modules, more efficient + code and enable more optimizations by + the minimizer. +--no-optimization-concatenate-modules Negative + 'optimization-concatenate-modules' + option. +--optimization-emit-on-errors Emit assets even when errors occur. + Critical errors are emitted into the + generated code and will cause errors at stack. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 's' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 's' command using the "--help" option: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - --allowed-hosts Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --bonjour Allows to broadcasts dev server via ZeroConf networking on start. - --no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start. - --no-client Disables client script. - --client-logging Allows to set log level in the browser. - --client-overlay Enables a full-screen overlay in the browser when there are compiler errors or warnings. - --no-client-overlay Disables the full-screen overlay in the browser when there are compiler errors or warnings. - --client-overlay-errors Enables a full-screen overlay in the browser when there are compiler errors. - --no-client-overlay-errors Disables the full-screen overlay in the browser when there are compiler errors. - --client-overlay-warnings Enables a full-screen overlay in the browser when there are compiler warnings. - --no-client-overlay-warnings Disables the full-screen overlay in the browser when there are compiler warnings. - --client-overlay-runtime-errors Enables a full-screen overlay in the browser when there are uncaught runtime errors. - --no-client-overlay-runtime-errors Disables the full-screen overlay in the browser when there are uncaught runtime errors. - --client-overlay-trusted-types-policy-name The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'. - --client-progress [value] Displays compilation progress in the browser. Options include 'linear' and 'circular' for visual indicators. - --no-client-progress Does not display compilation progress in the browser. - --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to reconnect the client. - --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. - --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). - --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname. - --client-web-socket-url-pathname Tells clients connected to devServer to use the provided path to connect. - --client-web-socket-url-password Tells clients connected to devServer to use the provided password to authenticate. - --client-web-socket-url-port Tells clients connected to devServer to use the provided port. - --client-web-socket-url-protocol Tells clients connected to devServer to use the provided protocol. - --client-web-socket-url-username Tells clients connected to devServer to use the provided username to authenticate. - --compress Enables gzip compression for everything served. - --no-compress Disables gzip compression for everything served. - --history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API. - --no-history-api-fallback Disallows to proxy requests through a specified index page. - --host Allows to specify a hostname to use. - --hot [value] Enables Hot Module Replacement. - --no-hot Disables Hot Module Replacement. - --ipc [value] Listen to a unix socket. - --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). - --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default). - --open [value...] Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --no-open Does not open the default browser. - --open-target Opens specified page in browser. - --open-app-name Open specified browser. - --open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser. - --open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser. - --port Allows to specify a port to use. - --server-type Allows to set server and options (by default 'http'). - --server-options-passphrase Passphrase for a pfx file. - --server-options-request-cert Request for an SSL certificate. - --no-server-options-request-cert Does not request for an SSL certificate. - --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cert Path to an SSL certificate or content of an SSL certificate. - --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. - --server-options-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-crl-reset Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-key Path to an SSL key or content of an SSL key. - --server-options-key-reset Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key. - --server-options-pfx Path to an SSL pfx file or content of an SSL pfx file. - --server-options-pfx-reset Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. - --static [value...] Allows to configure options for serving static files from directory (by default 'public' directory). - --no-static Disallows to configure options for serving static files from directory. - --static-directory Directory for static contents. - --static-public-path The static files will be available in the browser under this public path. - --static-serve-index Tells dev server to use serveIndex middleware when enabled. - --no-static-serve-index Does not tell dev server to use serveIndex middleware. - --static-watch Watches for files in static content directory. - --no-static-watch Does not watch for files in static content directory. - --static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). - --static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path. - --watch-files Allows to configure list of globs/directories/files to watch for file changes. - --watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. - --no-web-socket-server Disallows to set web socket server and options. - --web-socket-server-type Allows to set web socket server and options (by default 'ws'). - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment + to build for. An array of environments + to build for all of them when + possible. +-w, --watch Enter watch mode, which rebuilds on + file change. +--watch-options-stdin Stop watching when stdin stream has + ended. +--allowed-hosts Allows to enumerate the hosts from + which access to the dev server are + allowed (useful when you are proxying + dev server, by default is 'auto'). +--allowed-hosts-reset Clear all items provided in + 'allowedHosts' configuration. Allows + to enumerate the hosts from which + access to the dev server are allowed + (useful when you are proxying dev + server, by default is 'auto'). +--bonjour Allows to broadcasts dev server via + ZeroConf networking on start. +--no-bonjour Disallows to broadcasts dev server via + ZeroConf networking on start. +--no-client Disables client script. +--client-logging Allows to set log level in the + browser. +--client-overlay Enables a full-screen overlay in the + browser when there are compiler errors + or warnings. +--no-client-overlay Disables the full-screen overlay in + the browser when there are compiler + errors or warnings. +--client-overlay-errors Enables a full-screen overlay in the + browser when there are compiler + errors. +--no-client-overlay-errors Disables the full-screen overlay in + the browser when there are compiler + errors. +--client-overlay-warnings Enables a full-screen overlay in the + browser when there are compiler + warnings. +--no-client-overlay-warnings Disables the full-screen overlay in + the browser when there are compiler + warnings. +--client-overlay-runtime-errors Enables a full-screen overlay in the + browser when there are uncaught + runtime errors. +--no-client-overlay-runtime-errors Disables the full-screen overlay in + the browser when there are uncaught + runtime errors. +--client-overlay-trusted-types-policy-name The name of a Trusted Types policy for + the overlay. Defaults to + 'webpack-dev-server#overlay'. +--client-progress [value] Displays compilation progress in the + browser. Options include 'linear' and + 'circular' for visual indicators. +--no-client-progress Does not display compilation progress + in the browser. +--client-reconnect [value] Tells dev-server the number of times + it should try to reconnect the client. +--no-client-reconnect Tells dev-server to not to try to + reconnect the client. +--client-web-socket-transport Allows to set custom web socket + transport to communicate with dev + server. +--client-web-socket-url Allows to specify URL to web socket + server (useful when you're proxying + dev server and client script does not + always know where to connect to). +--client-web-socket-url-hostname Tells clients connected to devServer + to use the provided hostname. +--client-web-socket-url-pathname Tells clients connected to devServer + to use the provided path to connect. +--client-web-socket-url-password Tells clients connected to devServer + to use the provided password to + authenticate. +--client-web-socket-url-port Tells clients connected to devServer + to use the provided port. +--client-web-socket-url-protocol Tells clients connected to devServer + to use the provided protocol. +--client-web-socket-url-username Tells clients connected to devServer + to use the provided username to + authenticate. +--compress Enables gzip compression for + everything served. +--no-compress Disables gzip compression for + everything served. +--history-api-fallback Allows to proxy requests through a + specified index page (by default + 'index.html'), useful for Single Page + Applications that utilise the HTML5 + History API. +--no-history-api-fallback Disallows to proxy requests through a + specified index page. +--host Allows to specify a hostname to use. +--hot [value] Enables Hot Module Replacement. +--no-hot Disables Hot Module Replacement. +--ipc [value] Listen to a unix socket. +--live-reload Enables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--no-live-reload Disables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--open [value...] Allows to configure dev server to open + the browser(s) and page(s) after + server had been started (set it to + true to open your default browser). +--no-open Does not open the default browser. +--open-target Opens specified page in browser. +--open-app-name Open specified browser. +--open-reset Clear all items provided in 'open' + configuration. Allows to configure dev + server to open the browser(s) and + page(s) after server had been started + (set it to true to open your default + browser). +--open-target-reset Clear all items provided in + 'open.target' configuration. Opens + specified page in browser. +--open-app-name-reset Clear all items provided in + 'open.app.name' configuration. Open + specified browser. +--port Allows to specify a port to use. +--server-type Allows to set server and options (by + default 'http'). +--server-options-passphrase Passphrase for a pfx file. +--server-options-request-cert Request for an SSL certificate. +--no-server-options-request-cert Does not request for an SSL + certificate. +--server-options-ca Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-ca-reset Clear all items provided in + 'server.options.ca' configuration. + Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-cert Path to an SSL certificate or content + of an SSL certificate. +--server-options-cert-reset Clear all items provided in + 'server.options.cert' configuration. + Path to an SSL certificate or content + of an SSL certificate. +--server-options-crl Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-crl-reset Clear all items provided in + 'server.options.crl' configuration. + Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-key Path to an SSL key or content of an + SSL key. +--server-options-key-reset Clear all items provided in + 'server.options.key' configuration. + Path to an SSL key or content of an + SSL key. +--server-options-pfx Path to an SSL pfx file or content of + an SSL pfx file. +--server-options-pfx-reset Clear all items provided in + 'server.options.pfx' configuration. + Path to an SSL pfx file or content of + an SSL pfx file. +--static [value...] Allows to configure options for + serving static files from directory + (by default 'public' directory). +--no-static Disallows to configure options for + serving static files from directory. +--static-directory Directory for static contents. +--static-public-path The static files will be available in + the browser under this public path. +--static-serve-index Tells dev server to use serveIndex + middleware when enabled. +--no-static-serve-index Does not tell dev server to use + serveIndex middleware. +--static-watch Watches for files in static content + directory. +--no-static-watch Does not watch for files in static + content directory. +--static-reset Clear all items provided in 'static' + configuration. Allows to configure + options for serving static files from + directory (by default 'public' + directory). +--static-public-path-reset Clear all items provided in + 'static.publicPath' configuration. The + static files will be available in the + browser under this public path. +--watch-files Allows to configure list of + globs/directories/files to watch for + file changes. +--watch-files-reset Clear all items provided in + 'watchFiles' configuration. Allows to + configure list of + globs/directories/files to watch for + file changes. +--no-web-socket-server Disallows to set web socket server and + options. +--web-socket-server-type Allows to set web socket server and + options (by default 'ws'). +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'serve' and respect the "--color" flag using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'serve' and respect the "--color" flag using the "--help" option: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - --allowed-hosts Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --bonjour Allows to broadcasts dev server via ZeroConf networking on start. - --no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start. - --no-client Disables client script. - --client-logging Allows to set log level in the browser. - --client-overlay Enables a full-screen overlay in the browser when there are compiler errors or warnings. - --no-client-overlay Disables the full-screen overlay in the browser when there are compiler errors or warnings. - --client-overlay-errors Enables a full-screen overlay in the browser when there are compiler errors. - --no-client-overlay-errors Disables the full-screen overlay in the browser when there are compiler errors. - --client-overlay-warnings Enables a full-screen overlay in the browser when there are compiler warnings. - --no-client-overlay-warnings Disables the full-screen overlay in the browser when there are compiler warnings. - --client-overlay-runtime-errors Enables a full-screen overlay in the browser when there are uncaught runtime errors. - --no-client-overlay-runtime-errors Disables the full-screen overlay in the browser when there are uncaught runtime errors. - --client-overlay-trusted-types-policy-name The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'. - --client-progress [value] Displays compilation progress in the browser. Options include 'linear' and 'circular' for visual indicators. - --no-client-progress Does not display compilation progress in the browser. - --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to reconnect the client. - --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. - --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). - --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname. - --client-web-socket-url-pathname Tells clients connected to devServer to use the provided path to connect. - --client-web-socket-url-password Tells clients connected to devServer to use the provided password to authenticate. - --client-web-socket-url-port Tells clients connected to devServer to use the provided port. - --client-web-socket-url-protocol Tells clients connected to devServer to use the provided protocol. - --client-web-socket-url-username Tells clients connected to devServer to use the provided username to authenticate. - --compress Enables gzip compression for everything served. - --no-compress Disables gzip compression for everything served. - --history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API. - --no-history-api-fallback Disallows to proxy requests through a specified index page. - --host Allows to specify a hostname to use. - --hot [value] Enables Hot Module Replacement. - --no-hot Disables Hot Module Replacement. - --ipc [value] Listen to a unix socket. - --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). - --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default). - --open [value...] Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --no-open Does not open the default browser. - --open-target Opens specified page in browser. - --open-app-name Open specified browser. - --open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser. - --open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser. - --port Allows to specify a port to use. - --server-type Allows to set server and options (by default 'http'). - --server-options-passphrase Passphrase for a pfx file. - --server-options-request-cert Request for an SSL certificate. - --no-server-options-request-cert Does not request for an SSL certificate. - --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cert Path to an SSL certificate or content of an SSL certificate. - --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. - --server-options-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-crl-reset Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-key Path to an SSL key or content of an SSL key. - --server-options-key-reset Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key. - --server-options-pfx Path to an SSL pfx file or content of an SSL pfx file. - --server-options-pfx-reset Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. - --static [value...] Allows to configure options for serving static files from directory (by default 'public' directory). - --no-static Disallows to configure options for serving static files from directory. - --static-directory Directory for static contents. - --static-public-path The static files will be available in the browser under this public path. - --static-serve-index Tells dev server to use serveIndex middleware when enabled. - --no-static-serve-index Does not tell dev server to use serveIndex middleware. - --static-watch Watches for files in static content directory. - --no-static-watch Does not watch for files in static content directory. - --static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). - --static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path. - --watch-files Allows to configure list of globs/directories/files to watch for file changes. - --watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. - --no-web-socket-server Disallows to set web socket server and options. - --web-socket-server-type Allows to set web socket server and options (by default 'ws'). - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment + to build for. An array of environments + to build for all of them when + possible. +-w, --watch Enter watch mode, which rebuilds on + file change. +--watch-options-stdin Stop watching when stdin stream has + ended. +--allowed-hosts Allows to enumerate the hosts from + which access to the dev server are + allowed (useful when you are proxying + dev server, by default is 'auto'). +--allowed-hosts-reset Clear all items provided in + 'allowedHosts' configuration. Allows + to enumerate the hosts from which + access to the dev server are allowed + (useful when you are proxying dev + server, by default is 'auto'). +--bonjour Allows to broadcasts dev server via + ZeroConf networking on start. +--no-bonjour Disallows to broadcasts dev server via + ZeroConf networking on start. +--no-client Disables client script. +--client-logging Allows to set log level in the + browser. +--client-overlay Enables a full-screen overlay in the + browser when there are compiler errors + or warnings. +--no-client-overlay Disables the full-screen overlay in + the browser when there are compiler + errors or warnings. +--client-overlay-errors Enables a full-screen overlay in the + browser when there are compiler + errors. +--no-client-overlay-errors Disables the full-screen overlay in + the browser when there are compiler + errors. +--client-overlay-warnings Enables a full-screen overlay in the + browser when there are compiler + warnings. +--no-client-overlay-warnings Disables the full-screen overlay in + the browser when there are compiler + warnings. +--client-overlay-runtime-errors Enables a full-screen overlay in the + browser when there are uncaught + runtime errors. +--no-client-overlay-runtime-errors Disables the full-screen overlay in + the browser when there are uncaught + runtime errors. +--client-overlay-trusted-types-policy-name The name of a Trusted Types policy for + the overlay. Defaults to + 'webpack-dev-server#overlay'. +--client-progress [value] Displays compilation progress in the + browser. Options include 'linear' and + 'circular' for visual indicators. +--no-client-progress Does not display compilation progress + in the browser. +--client-reconnect [value] Tells dev-server the number of times + it should try to reconnect the client. +--no-client-reconnect Tells dev-server to not to try to + reconnect the client. +--client-web-socket-transport Allows to set custom web socket + transport to communicate with dev + server. +--client-web-socket-url Allows to specify URL to web socket + server (useful when you're proxying + dev server and client script does not + always know where to connect to). +--client-web-socket-url-hostname Tells clients connected to devServer + to use the provided hostname. +--client-web-socket-url-pathname Tells clients connected to devServer + to use the provided path to connect. +--client-web-socket-url-password Tells clients connected to devServer + to use the provided password to + authenticate. +--client-web-socket-url-port Tells clients connected to devServer + to use the provided port. +--client-web-socket-url-protocol Tells clients connected to devServer + to use the provided protocol. +--client-web-socket-url-username Tells clients connected to devServer + to use the provided username to + authenticate. +--compress Enables gzip compression for + everything served. +--no-compress Disables gzip compression for + everything served. +--history-api-fallback Allows to proxy requests through a + specified index page (by default + 'index.html'), useful for Single Page + Applications that utilise the HTML5 + History API. +--no-history-api-fallback Disallows to proxy requests through a + specified index page. +--host Allows to specify a hostname to use. +--hot [value] Enables Hot Module Replacement. +--no-hot Disables Hot Module Replacement. +--ipc [value] Listen to a unix socket. +--live-reload Enables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--no-live-reload Disables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--open [value...] Allows to configure dev server to open + the browser(s) and page(s) after + server had been started (set it to + true to open your default browser). +--no-open Does not open the default browser. +--open-target Opens specified page in browser. +--open-app-name Open specified browser. +--open-reset Clear all items provided in 'open' + configuration. Allows to configure dev + server to open the browser(s) and + page(s) after server had been started + (set it to true to open your default + browser). +--open-target-reset Clear all items provided in + 'open.target' configuration. Opens + specified page in browser. +--open-app-name-reset Clear all items provided in + 'open.app.name' configuration. Open + specified browser. +--port Allows to specify a port to use. +--server-type Allows to set server and options (by + default 'http'). +--server-options-passphrase Passphrase for a pfx file. +--server-options-request-cert Request for an SSL certificate. +--no-server-options-request-cert Does not request for an SSL + certificate. +--server-options-ca Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-ca-reset Clear all items provided in + 'server.options.ca' configuration. + Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-cert Path to an SSL certificate or content + of an SSL certificate. +--server-options-cert-reset Clear all items provided in + 'server.options.cert' configuration. + Path to an SSL certificate or content + of an SSL certificate. +--server-options-crl Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-crl-reset Clear all items provided in + 'server.options.crl' configuration. + Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-key Path to an SSL key or content of an + SSL key. +--server-options-key-reset Clear all items provided in + 'server.options.key' configuration. + Path to an SSL key or content of an + SSL key. +--server-options-pfx Path to an SSL pfx file or content of + an SSL pfx file. +--server-options-pfx-reset Clear all items provided in + 'server.options.pfx' configuration. + Path to an SSL pfx file or content of + an SSL pfx file. +--static [value...] Allows to configure options for + serving static files from directory + (by default 'public' directory). +--no-static Disallows to configure options for + serving static files from directory. +--static-directory Directory for static contents. +--static-public-path The static files will be available in + the browser under this public path. +--static-serve-index Tells dev server to use serveIndex + middleware when enabled. +--no-static-serve-index Does not tell dev server to use + serveIndex middleware. +--static-watch Watches for files in static content + directory. +--no-static-watch Does not watch for files in static + content directory. +--static-reset Clear all items provided in 'static' + configuration. Allows to configure + options for serving static files from + directory (by default 'public' + directory). +--static-public-path-reset Clear all items provided in + 'static.publicPath' configuration. The + static files will be available in the + browser under this public path. +--watch-files Allows to configure list of + globs/directories/files to watch for + file changes. +--watch-files-reset Clear all items provided in + 'watchFiles' configuration. Allows to + configure list of + globs/directories/files to watch for + file changes. +--no-web-socket-server Disallows to set web socket server and + options. +--web-socket-server-type Allows to set web socket server and + options (by default 'ws'). +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'serve' and respect the "--no-color" flag using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'serve' and respect the "--no-color" flag using the "--help" option: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - --allowed-hosts Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --bonjour Allows to broadcasts dev server via ZeroConf networking on start. - --no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start. - --no-client Disables client script. - --client-logging Allows to set log level in the browser. - --client-overlay Enables a full-screen overlay in the browser when there are compiler errors or warnings. - --no-client-overlay Disables the full-screen overlay in the browser when there are compiler errors or warnings. - --client-overlay-errors Enables a full-screen overlay in the browser when there are compiler errors. - --no-client-overlay-errors Disables the full-screen overlay in the browser when there are compiler errors. - --client-overlay-warnings Enables a full-screen overlay in the browser when there are compiler warnings. - --no-client-overlay-warnings Disables the full-screen overlay in the browser when there are compiler warnings. - --client-overlay-runtime-errors Enables a full-screen overlay in the browser when there are uncaught runtime errors. - --no-client-overlay-runtime-errors Disables the full-screen overlay in the browser when there are uncaught runtime errors. - --client-overlay-trusted-types-policy-name The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'. - --client-progress [value] Displays compilation progress in the browser. Options include 'linear' and 'circular' for visual indicators. - --no-client-progress Does not display compilation progress in the browser. - --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to reconnect the client. - --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. - --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). - --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname. - --client-web-socket-url-pathname Tells clients connected to devServer to use the provided path to connect. - --client-web-socket-url-password Tells clients connected to devServer to use the provided password to authenticate. - --client-web-socket-url-port Tells clients connected to devServer to use the provided port. - --client-web-socket-url-protocol Tells clients connected to devServer to use the provided protocol. - --client-web-socket-url-username Tells clients connected to devServer to use the provided username to authenticate. - --compress Enables gzip compression for everything served. - --no-compress Disables gzip compression for everything served. - --history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API. - --no-history-api-fallback Disallows to proxy requests through a specified index page. - --host Allows to specify a hostname to use. - --hot [value] Enables Hot Module Replacement. - --no-hot Disables Hot Module Replacement. - --ipc [value] Listen to a unix socket. - --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). - --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default). - --open [value...] Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --no-open Does not open the default browser. - --open-target Opens specified page in browser. - --open-app-name Open specified browser. - --open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser. - --open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser. - --port Allows to specify a port to use. - --server-type Allows to set server and options (by default 'http'). - --server-options-passphrase Passphrase for a pfx file. - --server-options-request-cert Request for an SSL certificate. - --no-server-options-request-cert Does not request for an SSL certificate. - --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cert Path to an SSL certificate or content of an SSL certificate. - --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. - --server-options-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-crl-reset Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-key Path to an SSL key or content of an SSL key. - --server-options-key-reset Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key. - --server-options-pfx Path to an SSL pfx file or content of an SSL pfx file. - --server-options-pfx-reset Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. - --static [value...] Allows to configure options for serving static files from directory (by default 'public' directory). - --no-static Disallows to configure options for serving static files from directory. - --static-directory Directory for static contents. - --static-public-path The static files will be available in the browser under this public path. - --static-serve-index Tells dev server to use serveIndex middleware when enabled. - --no-static-serve-index Does not tell dev server to use serveIndex middleware. - --static-watch Watches for files in static content directory. - --no-static-watch Does not watch for files in static content directory. - --static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). - --static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path. - --watch-files Allows to configure list of globs/directories/files to watch for file changes. - --watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. - --no-web-socket-server Disallows to set web socket server and options. - --web-socket-server-type Allows to set web socket server and options (by default 'ws'). - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment + to build for. An array of environments + to build for all of them when + possible. +-w, --watch Enter watch mode, which rebuilds on + file change. +--watch-options-stdin Stop watching when stdin stream has + ended. +--allowed-hosts Allows to enumerate the hosts from + which access to the dev server are + allowed (useful when you are proxying + dev server, by default is 'auto'). +--allowed-hosts-reset Clear all items provided in + 'allowedHosts' configuration. Allows + to enumerate the hosts from which + access to the dev server are allowed + (useful when you are proxying dev + server, by default is 'auto'). +--bonjour Allows to broadcasts dev server via + ZeroConf networking on start. +--no-bonjour Disallows to broadcasts dev server via + ZeroConf networking on start. +--no-client Disables client script. +--client-logging Allows to set log level in the + browser. +--client-overlay Enables a full-screen overlay in the + browser when there are compiler errors + or warnings. +--no-client-overlay Disables the full-screen overlay in + the browser when there are compiler + errors or warnings. +--client-overlay-errors Enables a full-screen overlay in the + browser when there are compiler + errors. +--no-client-overlay-errors Disables the full-screen overlay in + the browser when there are compiler + errors. +--client-overlay-warnings Enables a full-screen overlay in the + browser when there are compiler + warnings. +--no-client-overlay-warnings Disables the full-screen overlay in + the browser when there are compiler + warnings. +--client-overlay-runtime-errors Enables a full-screen overlay in the + browser when there are uncaught + runtime errors. +--no-client-overlay-runtime-errors Disables the full-screen overlay in + the browser when there are uncaught + runtime errors. +--client-overlay-trusted-types-policy-name The name of a Trusted Types policy for + the overlay. Defaults to + 'webpack-dev-server#overlay'. +--client-progress [value] Displays compilation progress in the + browser. Options include 'linear' and + 'circular' for visual indicators. +--no-client-progress Does not display compilation progress + in the browser. +--client-reconnect [value] Tells dev-server the number of times + it should try to reconnect the client. +--no-client-reconnect Tells dev-server to not to try to + reconnect the client. +--client-web-socket-transport Allows to set custom web socket + transport to communicate with dev + server. +--client-web-socket-url Allows to specify URL to web socket + server (useful when you're proxying + dev server and client script does not + always know where to connect to). +--client-web-socket-url-hostname Tells clients connected to devServer + to use the provided hostname. +--client-web-socket-url-pathname Tells clients connected to devServer + to use the provided path to connect. +--client-web-socket-url-password Tells clients connected to devServer + to use the provided password to + authenticate. +--client-web-socket-url-port Tells clients connected to devServer + to use the provided port. +--client-web-socket-url-protocol Tells clients connected to devServer + to use the provided protocol. +--client-web-socket-url-username Tells clients connected to devServer + to use the provided username to + authenticate. +--compress Enables gzip compression for + everything served. +--no-compress Disables gzip compression for + everything served. +--history-api-fallback Allows to proxy requests through a + specified index page (by default + 'index.html'), useful for Single Page + Applications that utilise the HTML5 + History API. +--no-history-api-fallback Disallows to proxy requests through a + specified index page. +--host Allows to specify a hostname to use. +--hot [value] Enables Hot Module Replacement. +--no-hot Disables Hot Module Replacement. +--ipc [value] Listen to a unix socket. +--live-reload Enables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--no-live-reload Disables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--open [value...] Allows to configure dev server to open + the browser(s) and page(s) after + server had been started (set it to + true to open your default browser). +--no-open Does not open the default browser. +--open-target Opens specified page in browser. +--open-app-name Open specified browser. +--open-reset Clear all items provided in 'open' + configuration. Allows to configure dev + server to open the browser(s) and + page(s) after server had been started + (set it to true to open your default + browser). +--open-target-reset Clear all items provided in + 'open.target' configuration. Opens + specified page in browser. +--open-app-name-reset Clear all items provided in + 'open.app.name' configuration. Open + specified browser. +--port Allows to specify a port to use. +--server-type Allows to set server and options (by + default 'http'). +--server-options-passphrase Passphrase for a pfx file. +--server-options-request-cert Request for an SSL certificate. +--no-server-options-request-cert Does not request for an SSL + certificate. +--server-options-ca Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-ca-reset Clear all items provided in + 'server.options.ca' configuration. + Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-cert Path to an SSL certificate or content + of an SSL certificate. +--server-options-cert-reset Clear all items provided in + 'server.options.cert' configuration. + Path to an SSL certificate or content + of an SSL certificate. +--server-options-crl Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-crl-reset Clear all items provided in + 'server.options.crl' configuration. + Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-key Path to an SSL key or content of an + SSL key. +--server-options-key-reset Clear all items provided in + 'server.options.key' configuration. + Path to an SSL key or content of an + SSL key. +--server-options-pfx Path to an SSL pfx file or content of + an SSL pfx file. +--server-options-pfx-reset Clear all items provided in + 'server.options.pfx' configuration. + Path to an SSL pfx file or content of + an SSL pfx file. +--static [value...] Allows to configure options for + serving static files from directory + (by default 'public' directory). +--no-static Disallows to configure options for + serving static files from directory. +--static-directory Directory for static contents. +--static-public-path The static files will be available in + the browser under this public path. +--static-serve-index Tells dev server to use serveIndex + middleware when enabled. +--no-static-serve-index Does not tell dev server to use + serveIndex middleware. +--static-watch Watches for files in static content + directory. +--no-static-watch Does not watch for files in static + content directory. +--static-reset Clear all items provided in 'static' + configuration. Allows to configure + options for serving static files from + directory (by default 'public' + directory). +--static-public-path-reset Clear all items provided in + 'static.publicPath' configuration. The + static files will be available in the + browser under this public path. +--watch-files Allows to configure list of + globs/directories/files to watch for + file changes. +--watch-files-reset Clear all items provided in + 'watchFiles' configuration. Allows to + configure list of + globs/directories/files to watch for + file changes. +--no-web-socket-server Disallows to set web socket server and + options. +--web-socket-server-type Allows to set web socket server and + options (by default 'ws'). +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'serve' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 'serve' command using command syntax: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - --allowed-hosts Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --bonjour Allows to broadcasts dev server via ZeroConf networking on start. - --no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start. - --no-client Disables client script. - --client-logging Allows to set log level in the browser. - --client-overlay Enables a full-screen overlay in the browser when there are compiler errors or warnings. - --no-client-overlay Disables the full-screen overlay in the browser when there are compiler errors or warnings. - --client-overlay-errors Enables a full-screen overlay in the browser when there are compiler errors. - --no-client-overlay-errors Disables the full-screen overlay in the browser when there are compiler errors. - --client-overlay-warnings Enables a full-screen overlay in the browser when there are compiler warnings. - --no-client-overlay-warnings Disables the full-screen overlay in the browser when there are compiler warnings. - --client-overlay-runtime-errors Enables a full-screen overlay in the browser when there are uncaught runtime errors. - --no-client-overlay-runtime-errors Disables the full-screen overlay in the browser when there are uncaught runtime errors. - --client-overlay-trusted-types-policy-name The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'. - --client-progress [value] Displays compilation progress in the browser. Options include 'linear' and 'circular' for visual indicators. - --no-client-progress Does not display compilation progress in the browser. - --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to reconnect the client. - --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. - --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). - --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname. - --client-web-socket-url-pathname Tells clients connected to devServer to use the provided path to connect. - --client-web-socket-url-password Tells clients connected to devServer to use the provided password to authenticate. - --client-web-socket-url-port Tells clients connected to devServer to use the provided port. - --client-web-socket-url-protocol Tells clients connected to devServer to use the provided protocol. - --client-web-socket-url-username Tells clients connected to devServer to use the provided username to authenticate. - --compress Enables gzip compression for everything served. - --no-compress Disables gzip compression for everything served. - --history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API. - --no-history-api-fallback Disallows to proxy requests through a specified index page. - --host Allows to specify a hostname to use. - --hot [value] Enables Hot Module Replacement. - --no-hot Disables Hot Module Replacement. - --ipc [value] Listen to a unix socket. - --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). - --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default). - --open [value...] Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --no-open Does not open the default browser. - --open-target Opens specified page in browser. - --open-app-name Open specified browser. - --open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser. - --open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser. - --port Allows to specify a port to use. - --server-type Allows to set server and options (by default 'http'). - --server-options-passphrase Passphrase for a pfx file. - --server-options-request-cert Request for an SSL certificate. - --no-server-options-request-cert Does not request for an SSL certificate. - --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cert Path to an SSL certificate or content of an SSL certificate. - --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. - --server-options-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-crl-reset Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-key Path to an SSL key or content of an SSL key. - --server-options-key-reset Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key. - --server-options-pfx Path to an SSL pfx file or content of an SSL pfx file. - --server-options-pfx-reset Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. - --static [value...] Allows to configure options for serving static files from directory (by default 'public' directory). - --no-static Disallows to configure options for serving static files from directory. - --static-directory Directory for static contents. - --static-public-path The static files will be available in the browser under this public path. - --static-serve-index Tells dev server to use serveIndex middleware when enabled. - --no-static-serve-index Does not tell dev server to use serveIndex middleware. - --static-watch Watches for files in static content directory. - --no-static-watch Does not watch for files in static content directory. - --static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). - --static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path. - --watch-files Allows to configure list of globs/directories/files to watch for file changes. - --watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. - --no-web-socket-server Disallows to set web socket server and options. - --web-socket-server-type Allows to set web socket server and options (by default 'ws'). - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment + to build for. An array of environments + to build for all of them when + possible. +-w, --watch Enter watch mode, which rebuilds on + file change. +--watch-options-stdin Stop watching when stdin stream has + ended. +--allowed-hosts Allows to enumerate the hosts from + which access to the dev server are + allowed (useful when you are proxying + dev server, by default is 'auto'). +--allowed-hosts-reset Clear all items provided in + 'allowedHosts' configuration. Allows + to enumerate the hosts from which + access to the dev server are allowed + (useful when you are proxying dev + server, by default is 'auto'). +--bonjour Allows to broadcasts dev server via + ZeroConf networking on start. +--no-bonjour Disallows to broadcasts dev server via + ZeroConf networking on start. +--no-client Disables client script. +--client-logging Allows to set log level in the + browser. +--client-overlay Enables a full-screen overlay in the + browser when there are compiler errors + or warnings. +--no-client-overlay Disables the full-screen overlay in + the browser when there are compiler + errors or warnings. +--client-overlay-errors Enables a full-screen overlay in the + browser when there are compiler + errors. +--no-client-overlay-errors Disables the full-screen overlay in + the browser when there are compiler + errors. +--client-overlay-warnings Enables a full-screen overlay in the + browser when there are compiler + warnings. +--no-client-overlay-warnings Disables the full-screen overlay in + the browser when there are compiler + warnings. +--client-overlay-runtime-errors Enables a full-screen overlay in the + browser when there are uncaught + runtime errors. +--no-client-overlay-runtime-errors Disables the full-screen overlay in + the browser when there are uncaught + runtime errors. +--client-overlay-trusted-types-policy-name The name of a Trusted Types policy for + the overlay. Defaults to + 'webpack-dev-server#overlay'. +--client-progress [value] Displays compilation progress in the + browser. Options include 'linear' and + 'circular' for visual indicators. +--no-client-progress Does not display compilation progress + in the browser. +--client-reconnect [value] Tells dev-server the number of times + it should try to reconnect the client. +--no-client-reconnect Tells dev-server to not to try to + reconnect the client. +--client-web-socket-transport Allows to set custom web socket + transport to communicate with dev + server. +--client-web-socket-url Allows to specify URL to web socket + server (useful when you're proxying + dev server and client script does not + always know where to connect to). +--client-web-socket-url-hostname Tells clients connected to devServer + to use the provided hostname. +--client-web-socket-url-pathname Tells clients connected to devServer + to use the provided path to connect. +--client-web-socket-url-password Tells clients connected to devServer + to use the provided password to + authenticate. +--client-web-socket-url-port Tells clients connected to devServer + to use the provided port. +--client-web-socket-url-protocol Tells clients connected to devServer + to use the provided protocol. +--client-web-socket-url-username Tells clients connected to devServer + to use the provided username to + authenticate. +--compress Enables gzip compression for + everything served. +--no-compress Disables gzip compression for + everything served. +--history-api-fallback Allows to proxy requests through a + specified index page (by default + 'index.html'), useful for Single Page + Applications that utilise the HTML5 + History API. +--no-history-api-fallback Disallows to proxy requests through a + specified index page. +--host Allows to specify a hostname to use. +--hot [value] Enables Hot Module Replacement. +--no-hot Disables Hot Module Replacement. +--ipc [value] Listen to a unix socket. +--live-reload Enables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--no-live-reload Disables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--open [value...] Allows to configure dev server to open + the browser(s) and page(s) after + server had been started (set it to + true to open your default browser). +--no-open Does not open the default browser. +--open-target Opens specified page in browser. +--open-app-name Open specified browser. +--open-reset Clear all items provided in 'open' + configuration. Allows to configure dev + server to open the browser(s) and + page(s) after server had been started + (set it to true to open your default + browser). +--open-target-reset Clear all items provided in + 'open.target' configuration. Opens + specified page in browser. +--open-app-name-reset Clear all items provided in + 'open.app.name' configuration. Open + specified browser. +--port Allows to specify a port to use. +--server-type Allows to set server and options (by + default 'http'). +--server-options-passphrase Passphrase for a pfx file. +--server-options-request-cert Request for an SSL certificate. +--no-server-options-request-cert Does not request for an SSL + certificate. +--server-options-ca Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-ca-reset Clear all items provided in + 'server.options.ca' configuration. + Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-cert Path to an SSL certificate or content + of an SSL certificate. +--server-options-cert-reset Clear all items provided in + 'server.options.cert' configuration. + Path to an SSL certificate or content + of an SSL certificate. +--server-options-crl Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-crl-reset Clear all items provided in + 'server.options.crl' configuration. + Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-key Path to an SSL key or content of an + SSL key. +--server-options-key-reset Clear all items provided in + 'server.options.key' configuration. + Path to an SSL key or content of an + SSL key. +--server-options-pfx Path to an SSL pfx file or content of + an SSL pfx file. +--server-options-pfx-reset Clear all items provided in + 'server.options.pfx' configuration. + Path to an SSL pfx file or content of + an SSL pfx file. +--static [value...] Allows to configure options for + serving static files from directory + (by default 'public' directory). +--no-static Disallows to configure options for + serving static files from directory. +--static-directory Directory for static contents. +--static-public-path The static files will be available in + the browser under this public path. +--static-serve-index Tells dev server to use serveIndex + middleware when enabled. +--no-static-serve-index Does not tell dev server to use + serveIndex middleware. +--static-watch Watches for files in static content + directory. +--no-static-watch Does not watch for files in static + content directory. +--static-reset Clear all items provided in 'static' + configuration. Allows to configure + options for serving static files from + directory (by default 'public' + directory). +--static-public-path-reset Clear all items provided in + 'static.publicPath' configuration. The + static files will be available in the + browser under this public path. +--watch-files Allows to configure list of + globs/directories/files to watch for + file changes. +--watch-files-reset Clear all items provided in + 'watchFiles' configuration. Allows to + configure list of + globs/directories/files to watch for + file changes. +--no-web-socket-server Disallows to set web socket server and + options. +--web-socket-server-type Allows to set web socket server and + options (by default 'ws'). +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'serve' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 'serve' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - --no-amd Negative 'amd' option. - --bail Report the first error as a hard error instead of tolerating it. - --no-bail Negative 'bail' option. - --cache Enable in memory caching. Disable caching. - --no-cache Negative 'cache' option. - --cache-cache-unaffected Additionally cache computation of modules that are unchanged and reference only unchanged modules. - --no-cache-cache-unaffected Negative 'cache-cache-unaffected' option. - --cache-max-generations Number of generations unused cache entries stay in memory cache +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +--no-amd Negative 'amd' option. +--bail Report the first error as a hard error + instead of tolerating it. +--no-bail Negative 'bail' option. +--cache Enable in memory caching. Disable + caching. +--no-cache Negative 'cache' option. +--cache-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules. +--no-cache-cache-unaffected Negative 'cache-cache-unaffected' + option. +--cache-max-generations Number of generations unused cache + entries stay in memory cache at + minimum (1 = may be removed after + unused for a single compilation, ..., + Infinity: kept forever). +--cache-type In memory caching. Filesystem caching. +--cache-allow-collecting-memory Allows to collect unused memory + allocated during deserialization. This + requires copying data into smaller + buffers and has a performance cost. +--no-cache-allow-collecting-memory Negative + 'cache-allow-collecting-memory' + option. +--cache-cache-directory Base directory for the cache (defaults + to node_modules/.cache/webpack). +--cache-cache-location Locations for the cache (defaults to + cacheDirectory / name). +--cache-compression Compression type used for the cache + files. +--no-cache-compression Negative 'cache-compression' option. +--cache-hash-algorithm Algorithm used for generation the hash + (see node.js crypto package). +--cache-idle-timeout Time in ms after which idle period the + cache storing should happen. +--cache-idle-timeout-after-large-changes Time in ms after which idle period the + cache storing should happen when + larger changes has been detected + (cumulative build time > 2 x avg cache + store time). +--cache-idle-timeout-for-initial-store Time in ms after which idle period the + initial cache storing should happen. +--cache-immutable-paths A RegExp matching an immutable + directory (usually a package manager + cache directory, including the tailing + slash) A path to an immutable + directory (usually a package manager + cache directory). +--cache-immutable-paths-reset Clear all items provided in + 'cache.immutablePaths' configuration. + List of paths that are managed by a + package manager and contain a version + or hash in its path so all files are + immutable. +--cache-managed-paths A RegExp matching a managed directory + (usually a node_modules directory, + including the tailing slash) A path to + a managed directory (usually a + node_modules directory). +--cache-managed-paths-reset Clear all items provided in + 'cache.managedPaths' configuration. + List of paths that are managed by a + package manager and can be trusted to + not be modified otherwise. +--cache-max-age Time for which unused cache entries + stay in the filesystem cache at + minimum (in milliseconds). +--cache-max-memory-generations Number of generations unused cache + entries stay in memory cache at + minimum (0 = no memory cache used, 1 = + may be removed after unused for a + single compilation, ..., Infinity: + kept forever). Cache entries will be + deserialized from disk when removed + from memory cache. +--cache-memory-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules in + memory. +--no-cache-memory-cache-unaffected Negative + 'cache-memory-cache-unaffected' + option. +--cache-name Name for the cache. Different names + will lead to different coexisting + caches. +--cache-profile Track and log detailed timing + information for individual cache + items. +--no-cache-profile Negative 'cache-profile' option. +--cache-readonly Enable/disable readonly mode. +--no-cache-readonly Negative 'cache-readonly' option. +--cache-store When to store data to the filesystem. + (pack: Store data when compiler is + idle in a single file). +--cache-version Version of the cache data. Different + versions won't allow to reuse the + cache and override existing content. + Update the version when config changed + in a way which doesn't allow to reuse + cache. This will invalidate the cache. +--context The base directory (absolute path!) + for resolving the \`entry\` option. If + \`output.pathinfo\` is set, the included + pathinfo is shortened to this + directory. +--dependencies References to another configuration to + depend on. +--dependencies-reset Clear all items provided in + 'dependencies' configuration. + References to other configurations to + depend on. +--no-dev-server Negative 'dev-server' option. +--devtool-type Which asset type should receive this + devtool value. +--devtool-use A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool-use Negative 'devtool-use' option. +--devtool-reset Clear all items provided in 'devtool' + configuration. A developer tool to + enhance debugging (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--dotenv Enable Dotenv plugin with default + options. +--no-dotenv Negative 'dotenv' option. +--dotenv-dir The directory from which .env files + are loaded. Can be an absolute path, + false will disable the .env file + loading. +--no-dotenv-dir Negative 'dotenv-dir' option. +--dotenv-prefix A prefix that environment variables + must start with to be exposed. +--dotenv-prefix-reset Clear all items provided in + 'dotenv.prefix' configuration. Only + expose environment variables that + start with these prefixes. Defaults to + 'WEBPACK_'. +--dotenv-template A template pattern for .env file + names. +--dotenv-template-reset Clear all items provided in + 'dotenv.template' configuration. + Template patterns for .env file names. + Use [mode] as placeholder for the + webpack mode. Defaults to ['.env', + '.env.local', '.env.[mode]', + '.env.[mode].local']. +--entry A module that is loaded upon startup. + Only the last one is exported. +--entry-reset Clear all items provided in 'entry' + configuration. All modules are loaded + upon startup. The last one is + exported. +--experiments-async-web-assembly Support WebAssembly as asynchronous + EcmaScript Module. +--no-experiments-async-web-assembly Negative + 'experiments-async-web-assembly' + option. +--experiments-back-compat Enable backward-compat layer with + deprecation warnings for many webpack + 4 APIs. +--no-experiments-back-compat Negative 'experiments-back-compat' + option. +--experiments-build-http-allowed-uris Allowed URI pattern. Allowed URI + (resp. the beginning of it). +--experiments-build-http-allowed-uris-reset Clear all items provided in + 'experiments.buildHttp.allowedUris' + configuration. List of allowed URIs + (resp. the beginning of them). +--experiments-build-http-cache-location Location where resource content is + stored for lockfile entries. It's also + possible to disable storing by passing + false. +--no-experiments-build-http-cache-location Negative + 'experiments-build-http-cache-location + ' option. +--experiments-build-http-frozen When set, anything that would lead to + a modification of the lockfile or any + resource content, will result in an + error. +--no-experiments-build-http-frozen Negative + 'experiments-build-http-frozen' + option. +--experiments-build-http-lockfile-location Location of the lockfile. +--experiments-build-http-proxy Proxy configuration, which can be used + to specify a proxy server to use for + HTTP requests. +--experiments-build-http-upgrade When set, resources of existing + lockfile entries will be fetched and + entries will be upgraded when resource + content has changed. +--no-experiments-build-http-upgrade Negative + 'experiments-build-http-upgrade' + option. +--experiments-cache-unaffected Enable additional in memory caching of + modules that are unchanged and + reference only unchanged modules. +--no-experiments-cache-unaffected Negative + 'experiments-cache-unaffected' option. +--experiments-css Enable css support. +--no-experiments-css Negative 'experiments-css' option. +--experiments-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-experiments-defer-import Negative 'experiments-defer-import' + option. +--experiments-future-defaults Apply defaults of next major version. +--no-experiments-future-defaults Negative 'experiments-future-defaults' + option. +--experiments-lazy-compilation Compile entrypoints and import()s only + when they are accessed. +--no-experiments-lazy-compilation Negative + 'experiments-lazy-compilation' option. +--experiments-lazy-compilation-backend-client A custom client. +--experiments-lazy-compilation-backend-listen A port. +--experiments-lazy-compilation-backend-listen-host A host. +--experiments-lazy-compilation-backend-listen-port A port. +--experiments-lazy-compilation-backend-protocol Specifies the protocol the client + should use to connect to the server. +--experiments-lazy-compilation-entries Enable/disable lazy compilation for + entries. +--no-experiments-lazy-compilation-entries Negative + 'experiments-lazy-compilation-entries' + option. +--experiments-lazy-compilation-imports Enable/disable lazy compilation for + import() modules. +--no-experiments-lazy-compilation-imports Negative + 'experiments-lazy-compilation-imports' + option. +--experiments-lazy-compilation-test Specify which entrypoints or + import()ed modules should be lazily + compiled. This is matched with the + imported module and not the entrypoint + name. +--experiments-output-module Allow output javascript files as + module source type. +--no-experiments-output-module Negative 'experiments-output-module' + option. +--experiments-sync-web-assembly Support WebAssembly as synchronous + EcmaScript Module (outdated). +--no-experiments-sync-web-assembly Negative + 'experiments-sync-web-assembly' + option. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--extends-reset Clear all items provided in 'extends' + configuration. Extend configuration + from another configuration (only works + when using webpack-cli). +--externals Every matched dependency becomes + external. An exact matched dependency + becomes external. The same string is + used as external dependency. +--externals-reset Clear all items provided in + 'externals' configuration. Specify + dependencies that shouldn't be + resolved by webpack, but should become + dependencies of the resulting bundle. + The kind of the dependency depends on + \`output.libraryTarget\`. +--externals-presets-electron Treat common electron built-in modules + in main and preload context like + 'electron', 'ipc' or 'shell' as + external and load them via require() + when used. +--no-externals-presets-electron Negative 'externals-presets-electron' + option. +--externals-presets-electron-main Treat electron built-in modules in the + main context like 'app', 'ipc-main' or + 'shell' as external and load them via + require() when used. +--no-externals-presets-electron-main Negative + 'externals-presets-electron-main' + option. +--externals-presets-electron-preload Treat electron built-in modules in the + preload context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-preload Negative + 'externals-presets-electron-preload' + option. +--externals-presets-electron-renderer Treat electron built-in modules in the + renderer context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-renderer Negative + 'externals-presets-electron-renderer' + option. +--externals-presets-node Treat node.js built-in modules like + fs, path or vm as external and load + them via require() when used. +--no-externals-presets-node Negative 'externals-presets-node' + option. +--externals-presets-nwjs Treat NW.js legacy nw.gui module as + external and load it via require() + when used. +--no-externals-presets-nwjs Negative 'externals-presets-nwjs' + option. +--externals-presets-web Treat references to 'http(s)://...' + and 'std:...' as external and load + them via import when used (Note that + this changes execution order as + externals are executed before any + other code in the chunk). +--no-externals-presets-web Negative 'externals-presets-web' + option. +--externals-presets-web-async Treat references to 'http(s)://...' + and 'std:...' as external and load + them via async import() when used + (Note that this external type is an + async module, which has various + effects on the execution). +--no-externals-presets-web-async Negative 'externals-presets-web-async' + option. +--externals-type Specifies the default type of + externals ('amd*', 'umd*', 'system' + and 'jsonp' depend on + output.libraryTarget set to the same + value). +--ignore-warnings A RegExp to select the warning + message. +--ignore-warnings-file A RegExp to select the origin file for + the warning. +--ignore-warnings-message A RegExp to select the warning + message. +--ignore-warnings-module A RegExp to select the origin module + for the warning. +--ignore-warnings-reset Clear all items provided in + 'ignoreWarnings' configuration. Ignore + specific warnings. +--infrastructure-logging-append-only Only appends lines to the output. + Avoids updating existing output e. g. + for status messages. This option is + only used when no custom console is + provided. +--no-infrastructure-logging-append-only Negative + 'infrastructure-logging-append-only' + option. +--infrastructure-logging-colors Enables/Disables colorful output. This + option is only used when no custom + console is provided. +--no-infrastructure-logging-colors Negative + 'infrastructure-logging-colors' + option. +--infrastructure-logging-debug [value...] Enable/Disable debug logging for all + loggers. Enable debug logging for + specific loggers. +--no-infrastructure-logging-debug Negative + 'infrastructure-logging-debug' option. +--infrastructure-logging-debug-reset Clear all items provided in + 'infrastructureLogging.debug' + configuration. Enable debug logging + for specific loggers. +--infrastructure-logging-level Log level. +--mode Enable production optimizations or + development hints. +--module-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-expr-context-critical Negative + 'module-expr-context-critical' option. +--module-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. Deprecated: + This option has moved to + 'module.parser.javascript.exprContextR + ecursive'. +--no-module-expr-context-recursive Negative + 'module-expr-context-recursive' + option. +--module-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.exprContextR + egExp'. +--no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' + option. +--module-expr-context-request Set the default request for full + dynamic dependencies. Deprecated: This + option has moved to + 'module.parser.javascript.exprContextR + equest'. +--module-generator-asset-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-binary Negative + 'module-generator-asset-binary' + option. +--module-generator-asset-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-data-url-encoding Negative + 'module-generator-asset-data-url-encod + ing' option. +--module-generator-asset-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-emit Negative 'module-generator-asset-emit' + option. +--module-generator-asset-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-asset-inline-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-inline-binary Negative + 'module-generator-asset-inline-binary' + option. +--module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-inline-data-url-encoding Negative + 'module-generator-asset-inline-data-ur + l-encoding' option. +--module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-resource-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-resource-binary Negative + 'module-generator-asset-resource-binar + y' option. +--module-generator-asset-resource-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-resource-emit Negative + 'module-generator-asset-resource-emit' + option. +--module-generator-asset-resource-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-resource-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-resource-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-css-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-es-module Negative + 'module-generator-css-es-module' + option. +--module-generator-css-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-exports-only Negative + 'module-generator-css-exports-only' + option. +--module-generator-css-auto-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-auto-es-module Negative + 'module-generator-css-auto-es-module' + option. +--module-generator-css-auto-export-type Configure how CSS content is exported + as default. +--module-generator-css-auto-exports-convention Specifies the convention of exported + names. +--module-generator-css-auto-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-auto-exports-only Negative + 'module-generator-css-auto-exports-onl + y' option. +--module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-auto-local-ident-name Configure the generated local ident + name. +--module-generator-css-global-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-global-es-module Negative + 'module-generator-css-global-es-module + ' option. +--module-generator-css-global-export-type Configure how CSS content is exported + as default. +--module-generator-css-global-exports-convention Specifies the convention of exported + names. +--module-generator-css-global-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-global-exports-only Negative + 'module-generator-css-global-exports-o + nly' option. +--module-generator-css-global-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-global-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-global-local-ident-name Configure the generated local ident + name. +--module-generator-css-module-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-module-es-module Negative + 'module-generator-css-module-es-module + ' option. +--module-generator-css-module-export-type Configure how CSS content is exported + as default. +--module-generator-css-module-exports-convention Specifies the convention of exported + names. +--module-generator-css-module-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-module-exports-only Negative + 'module-generator-css-module-exports-o + nly' option. +--module-generator-css-module-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-module-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-module-local-ident-name Configure the generated local ident + name. +--module-generator-json-json-parse Use \`JSON.parse\` when the JSON string + is longer than 20 characters. +--no-module-generator-json-json-parse Negative + 'module-generator-json-json-parse' + option. +--module-no-parse A regular expression, when matched the + module is not parsed. An absolute + path, when the module starts with this + path it is not parsed. +--module-no-parse-reset Clear all items provided in + 'module.noParse' configuration. Don't + parse files matching. It's matched + against the full resolved request. +--module-parser-asset-data-url-condition-max-size Maximum size of asset that should be + inline as modules. Default: 8kb. +--module-parser-css-export-type Configure how CSS content is exported + as default. +--module-parser-css-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-import Negative 'module-parser-css-import' + option. +--module-parser-css-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-named-exports Negative + 'module-parser-css-named-exports' + option. +--module-parser-css-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-url Negative 'module-parser-css-url' + option. +--module-parser-css-auto-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-auto-animation Negative + 'module-parser-css-auto-animation' + option. +--module-parser-css-auto-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-auto-container Negative + 'module-parser-css-auto-container' + option. +--module-parser-css-auto-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-auto-custom-idents Negative + 'module-parser-css-auto-custom-idents' + option. +--module-parser-css-auto-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-auto-dashed-idents Negative + 'module-parser-css-auto-dashed-idents' + option. +--module-parser-css-auto-export-type Configure how CSS content is exported + as default. +--module-parser-css-auto-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-auto-function Negative + 'module-parser-css-auto-function' + option. +--module-parser-css-auto-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' + option. +--module-parser-css-auto-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-auto-import Negative + 'module-parser-css-auto-import' + option. +--module-parser-css-auto-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-auto-named-exports Negative + 'module-parser-css-auto-named-exports' + option. +--module-parser-css-auto-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' + option. +--module-parser-css-global-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-global-animation Negative + 'module-parser-css-global-animation' + option. +--module-parser-css-global-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-global-container Negative + 'module-parser-css-global-container' + option. +--module-parser-css-global-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-global-custom-idents Negative + 'module-parser-css-global-custom-ident + s' option. +--module-parser-css-global-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-global-dashed-idents Negative + 'module-parser-css-global-dashed-ident + s' option. +--module-parser-css-global-export-type Configure how CSS content is exported + as default. +--module-parser-css-global-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-global-function Negative + 'module-parser-css-global-function' + option. +--module-parser-css-global-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-global-grid Negative + 'module-parser-css-global-grid' + option. +--module-parser-css-global-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-global-import Negative + 'module-parser-css-global-import' + option. +--module-parser-css-global-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-global-named-exports Negative + 'module-parser-css-global-named-export + s' option. +--module-parser-css-global-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-global-url Negative + 'module-parser-css-global-url' option. +--module-parser-css-module-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-module-animation Negative + 'module-parser-css-module-animation' + option. +--module-parser-css-module-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-module-container Negative + 'module-parser-css-module-container' + option. +--module-parser-css-module-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-module-custom-idents Negative + 'module-parser-css-module-custom-ident + s' option. +--module-parser-css-module-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-module-dashed-idents Negative + 'module-parser-css-module-dashed-ident + s' option. +--module-parser-css-module-export-type Configure how CSS content is exported + as default. +--module-parser-css-module-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-module-function Negative + 'module-parser-css-module-function' + option. +--module-parser-css-module-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-module-grid Negative + 'module-parser-css-module-grid' + option. +--module-parser-css-module-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-module-import Negative + 'module-parser-css-module-import' + option. +--module-parser-css-module-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-module-named-exports Negative + 'module-parser-css-module-named-export + s' option. +--module-parser-css-module-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-module-url Negative + 'module-parser-css-module-url' option. +--no-module-parser-javascript-amd Negative + 'module-parser-javascript-amd' option. +--module-parser-javascript-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-browserify Negative + 'module-parser-javascript-browserify' + option. +--module-parser-javascript-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-commonjs Negative + 'module-parser-javascript-commonjs' + option. +--module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-commonjs-magic-comments Negative + 'module-parser-javascript-commonjs-mag + ic-comments' option. +--module-parser-javascript-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-create-require Negative + 'module-parser-javascript-create-requi + re' option. +--module-parser-javascript-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-defer-import Negative + 'module-parser-javascript-defer-import + ' option. +--module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-impo + rt-fetch-priority' option. +--module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-impo + rt-prefetch' option. +--module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-impo + rt-preload' option. +--module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. + Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-dynamic-url Negative + 'module-parser-javascript-dynamic-url' + option. +--module-parser-javascript-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-exports-presence Negative + 'module-parser-javascript-exports-pres + ence' option. +--module-parser-javascript-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-expr-context-critical Negative + 'module-parser-javascript-expr-context + -critical' option. +--module-parser-javascript-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-expr-context-recursive Negative + 'module-parser-javascript-expr-context + -recursive' option. +--module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-expr-context-reg-exp Negative + 'module-parser-javascript-expr-context + -reg-exp' option. +--module-parser-javascript-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-harmony Negative + 'module-parser-javascript-harmony' + option. +--module-parser-javascript-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-import Negative + 'module-parser-javascript-import' + option. +--module-parser-javascript-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-import-exports-presence Negative + 'module-parser-javascript-import-expor + ts-presence' option. +--module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-import-meta Negative + 'module-parser-javascript-import-meta' + option. +--module-parser-javascript-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-import-meta-context Negative + 'module-parser-javascript-import-meta- + context' option. +--no-module-parser-javascript-node Negative + 'module-parser-javascript-node' + option. +--module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-node-dirname Negative + 'module-parser-javascript-node-dirname + ' option. +--module-parser-javascript-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-node-filename Negative + 'module-parser-javascript-node-filenam + e' option. +--module-parser-javascript-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-node-global Negative + 'module-parser-javascript-node-global' + option. +--module-parser-javascript-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-reexport-exports-presence Negative + 'module-parser-javascript-reexport-exp + orts-presence' option. +--module-parser-javascript-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-require-context Negative + 'module-parser-javascript-require-cont + ext' option. +--module-parser-javascript-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-require-ensure Negative + 'module-parser-javascript-require-ensu + re' option. +--module-parser-javascript-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-require-include Negative + 'module-parser-javascript-require-incl + ude' option. +--module-parser-javascript-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-require-js Negative + 'module-parser-javascript-require-js' + option. +--module-parser-javascript-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-strict-export-presence Negative + 'module-parser-javascript-strict-expor + t-presence' option. +--module-parser-javascript-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-strict-this-context-on-imports Negative + 'module-parser-javascript-strict-this- + context-on-imports' option. +--module-parser-javascript-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-system Negative + 'module-parser-javascript-system' + option. +--module-parser-javascript-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-unknown-context-critical Negative + 'module-parser-javascript-unknown-cont + ext-critical' option. +--module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-recursive Negative + 'module-parser-javascript-unknown-cont + ext-recursive' option. +--module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-reg-exp Negative + 'module-parser-javascript-unknown-cont + ext-reg-exp' option. +--module-parser-javascript-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-url Negative + 'module-parser-javascript-url' option. +--module-parser-javascript-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-worker Negative + 'module-parser-javascript-worker' + option. +--module-parser-javascript-worker-reset Clear all items provided in + 'module.parser.javascript.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-wrapped-context-critical Negative + 'module-parser-javascript-wrapped-cont + ext-critical' option. +--module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-wrapped-context-recursive Negative + 'module-parser-javascript-wrapped-cont + ext-recursive' option. +--module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-auto-amd Negative + 'module-parser-javascript-auto-amd' + option. +--module-parser-javascript-auto-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-auto-browserify Negative + 'module-parser-javascript-auto-browser + ify' option. +--module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-auto-commonjs Negative + 'module-parser-javascript-auto-commonj + s' option. +--module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-auto-commonjs-magic-comments Negative + 'module-parser-javascript-auto-commonj + s-magic-comments' option. +--module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-auto-create-require Negative + 'module-parser-javascript-auto-create- + require' option. +--module-parser-javascript-auto-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-auto-defer-import Negative + 'module-parser-javascript-auto-defer-i + mport' option. +--module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative + 'module-parser-javascript-auto-dynamic + -import-fetch-priority' option. +--module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-prefetch Negative + 'module-parser-javascript-auto-dynamic + -import-prefetch' option. +--module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-preload Negative + 'module-parser-javascript-auto-dynamic + -import-preload' option. +--module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-auto-dynamic-url Negative + 'module-parser-javascript-auto-dynamic + -url' option. +--module-parser-javascript-auto-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-auto-exports-presence Negative + 'module-parser-javascript-auto-exports + -presence' option. +--module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-auto-expr-context-critical Negative + 'module-parser-javascript-auto-expr-co + ntext-critical' option. +--module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-recursive Negative + 'module-parser-javascript-auto-expr-co + ntext-recursive' option. +--module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-reg-exp Negative + 'module-parser-javascript-auto-expr-co + ntext-reg-exp' option. +--module-parser-javascript-auto-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-auto-harmony Negative + 'module-parser-javascript-auto-harmony + ' option. +--module-parser-javascript-auto-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-auto-import Negative + 'module-parser-javascript-auto-import' + option. +--module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-auto-import-exports-presence Negative + 'module-parser-javascript-auto-import- + exports-presence' option. +--module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-auto-import-meta Negative + 'module-parser-javascript-auto-import- + meta' option. +--module-parser-javascript-auto-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-auto-import-meta-context Negative + 'module-parser-javascript-auto-import- + meta-context' option. +--no-module-parser-javascript-auto-node Negative + 'module-parser-javascript-auto-node' + option. +--module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-auto-node-dirname Negative + 'module-parser-javascript-auto-node-di + rname' option. +--module-parser-javascript-auto-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-auto-node-filename Negative + 'module-parser-javascript-auto-node-fi + lename' option. +--module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-auto-node-global Negative + 'module-parser-javascript-auto-node-gl + obal' option. +--module-parser-javascript-auto-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-auto-reexport-exports-presence Negative + 'module-parser-javascript-auto-reexpor + t-exports-presence' option. +--module-parser-javascript-auto-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-auto-require-context Negative + 'module-parser-javascript-auto-require + -context' option. +--module-parser-javascript-auto-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-auto-require-ensure Negative + 'module-parser-javascript-auto-require + -ensure' option. +--module-parser-javascript-auto-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-auto-require-include Negative + 'module-parser-javascript-auto-require + -include' option. +--module-parser-javascript-auto-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-auto-require-js Negative + 'module-parser-javascript-auto-require + -js' option. +--module-parser-javascript-auto-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-auto-strict-export-presence Negative + 'module-parser-javascript-auto-strict- + export-presence' option. +--module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-auto-strict-this-context-on-imports Negative + 'module-parser-javascript-auto-strict- + this-context-on-imports' option. +--module-parser-javascript-auto-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-auto-system Negative + 'module-parser-javascript-auto-system' + option. +--module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-auto-unknown-context-critical Negative + 'module-parser-javascript-auto-unknown + -context-critical' option. +--module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-recursive Negative + 'module-parser-javascript-auto-unknown + -context-recursive' option. +--module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-reg-exp Negative + 'module-parser-javascript-auto-unknown + -context-reg-exp' option. +--module-parser-javascript-auto-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-auto-url Negative + 'module-parser-javascript-auto-url' + option. +--module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-auto-worker Negative + 'module-parser-javascript-auto-worker' + option. +--module-parser-javascript-auto-worker-reset Clear all items provided in + 'module.parser.javascript/auto.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-auto-wrapped-context-critical Negative + 'module-parser-javascript-auto-wrapped + -context-critical' option. +--module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-auto-wrapped-context-recursive Negative + 'module-parser-javascript-auto-wrapped + -context-recursive' option. +--module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-amd Negative + 'module-parser-javascript-dynamic-amd' + option. +--module-parser-javascript-dynamic-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-dynamic-browserify Negative + 'module-parser-javascript-dynamic-brow + serify' option. +--module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-dynamic-commonjs Negative + 'module-parser-javascript-dynamic-comm + onjs' option. +--module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-dynamic-commonjs-magic-comments Negative + 'module-parser-javascript-dynamic-comm + onjs-magic-comments' option. +--module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-dynamic-create-require Negative + 'module-parser-javascript-dynamic-crea + te-require' option. +--module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-dynamic-defer-import Negative + 'module-parser-javascript-dynamic-defe + r-import' option. +--module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-dyna + mic-import-fetch-priority' option. +--module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-dyna + mic-import-prefetch' option. +--module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-dyna + mic-import-preload' option. +--module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-dynamic-dynamic-url Negative + 'module-parser-javascript-dynamic-dyna + mic-url' option. +--module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-dynamic-exports-presence Negative + 'module-parser-javascript-dynamic-expo + rts-presence' option. +--module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-dynamic-expr-context-critical Negative + 'module-parser-javascript-dynamic-expr + -context-critical' option. +--module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-recursive Negative + 'module-parser-javascript-dynamic-expr + -context-recursive' option. +--module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-reg-exp Negative + 'module-parser-javascript-dynamic-expr + -context-reg-exp' option. +--module-parser-javascript-dynamic-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-dynamic-harmony Negative + 'module-parser-javascript-dynamic-harm + ony' option. +--module-parser-javascript-dynamic-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-dynamic-import Negative + 'module-parser-javascript-dynamic-impo + rt' option. +--module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-dynamic-import-exports-presence Negative + 'module-parser-javascript-dynamic-impo + rt-exports-presence' option. +--module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-dynamic-import-meta Negative + 'module-parser-javascript-dynamic-impo + rt-meta' option. +--module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-dynamic-import-meta-context Negative + 'module-parser-javascript-dynamic-impo + rt-meta-context' option. +--no-module-parser-javascript-dynamic-node Negative + 'module-parser-javascript-dynamic-node + ' option. +--module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-dynamic-node-dirname Negative + 'module-parser-javascript-dynamic-node + -dirname' option. +--module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-dynamic-node-filename Negative + 'module-parser-javascript-dynamic-node + -filename' option. +--module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-dynamic-node-global Negative + 'module-parser-javascript-dynamic-node + -global' option. +--module-parser-javascript-dynamic-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-dynamic-reexport-exports-presence Negative + 'module-parser-javascript-dynamic-reex + port-exports-presence' option. +--module-parser-javascript-dynamic-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-dynamic-require-context Negative + 'module-parser-javascript-dynamic-requ + ire-context' option. +--module-parser-javascript-dynamic-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-dynamic-require-ensure Negative + 'module-parser-javascript-dynamic-requ + ire-ensure' option. +--module-parser-javascript-dynamic-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-dynamic-require-include Negative + 'module-parser-javascript-dynamic-requ + ire-include' option. +--module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-dynamic-require-js Negative + 'module-parser-javascript-dynamic-requ + ire-js' option. +--module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-dynamic-strict-export-presence Negative + 'module-parser-javascript-dynamic-stri + ct-export-presence' option. +--module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative + 'module-parser-javascript-dynamic-stri + ct-this-context-on-imports' option. +--module-parser-javascript-dynamic-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-dynamic-system Negative + 'module-parser-javascript-dynamic-syst + em' option. +--module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-critical Negative + 'module-parser-javascript-dynamic-unkn + own-context-critical' option. +--module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-recursive Negative + 'module-parser-javascript-dynamic-unkn + own-context-recursive' option. +--module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative + 'module-parser-javascript-dynamic-unkn + own-context-reg-exp' option. +--module-parser-javascript-dynamic-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-dynamic-worker Negative + 'module-parser-javascript-dynamic-work + er' option. +--module-parser-javascript-dynamic-worker-reset Clear all items provided in + 'module.parser.javascript/dynamic.work + er' configuration. Disable or + configure parsing of WebWorker syntax + like new Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-critical Negative + 'module-parser-javascript-dynamic-wrap + ped-context-critical' option. +--module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-recursive Negative + 'module-parser-javascript-dynamic-wrap + ped-context-recursive' option. +--module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-esm-amd Negative + 'module-parser-javascript-esm-amd' + option. +--module-parser-javascript-esm-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-esm-browserify Negative + 'module-parser-javascript-esm-browseri + fy' option. +--module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-esm-commonjs Negative + 'module-parser-javascript-esm-commonjs + ' option. +--module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-esm-commonjs-magic-comments Negative + 'module-parser-javascript-esm-commonjs + -magic-comments' option. +--module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-esm-create-require Negative + 'module-parser-javascript-esm-create-r + equire' option. +--module-parser-javascript-esm-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-esm-defer-import Negative + 'module-parser-javascript-esm-defer-im + port' option. +--module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative + 'module-parser-javascript-esm-dynamic- + import-fetch-priority' option. +--module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-prefetch Negative + 'module-parser-javascript-esm-dynamic- + import-prefetch' option. +--module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-preload Negative + 'module-parser-javascript-esm-dynamic- + import-preload' option. +--module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-esm-dynamic-url Negative + 'module-parser-javascript-esm-dynamic- + url' option. +--module-parser-javascript-esm-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-esm-exports-presence Negative + 'module-parser-javascript-esm-exports- + presence' option. +--module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-esm-expr-context-critical Negative + 'module-parser-javascript-esm-expr-con + text-critical' option. +--module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-recursive Negative + 'module-parser-javascript-esm-expr-con + text-recursive' option. +--module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-reg-exp Negative + 'module-parser-javascript-esm-expr-con + text-reg-exp' option. +--module-parser-javascript-esm-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-esm-harmony Negative + 'module-parser-javascript-esm-harmony' + option. +--module-parser-javascript-esm-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-esm-import Negative + 'module-parser-javascript-esm-import' + option. +--module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-esm-import-exports-presence Negative + 'module-parser-javascript-esm-import-e + xports-presence' option. +--module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-esm-import-meta Negative + 'module-parser-javascript-esm-import-m + eta' option. +--module-parser-javascript-esm-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-esm-import-meta-context Negative + 'module-parser-javascript-esm-import-m + eta-context' option. +--no-module-parser-javascript-esm-node Negative + 'module-parser-javascript-esm-node' + option. +--module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-esm-node-dirname Negative + 'module-parser-javascript-esm-node-dir + name' option. +--module-parser-javascript-esm-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-esm-node-filename Negative + 'module-parser-javascript-esm-node-fil + ename' option. +--module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-esm-node-global Negative + 'module-parser-javascript-esm-node-glo + bal' option. +--module-parser-javascript-esm-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-esm-reexport-exports-presence Negative + 'module-parser-javascript-esm-reexport + -exports-presence' option. +--module-parser-javascript-esm-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-esm-require-context Negative + 'module-parser-javascript-esm-require- + context' option. +--module-parser-javascript-esm-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-esm-require-ensure Negative + 'module-parser-javascript-esm-require- + ensure' option. +--module-parser-javascript-esm-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-esm-require-include Negative + 'module-parser-javascript-esm-require- + include' option. +--module-parser-javascript-esm-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-esm-require-js Negative + 'module-parser-javascript-esm-require- + js' option. +--module-parser-javascript-esm-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-esm-strict-export-presence Negative + 'module-parser-javascript-esm-strict-e + xport-presence' option. +--module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-esm-strict-this-context-on-imports Negative + 'module-parser-javascript-esm-strict-t + his-context-on-imports' option. +--module-parser-javascript-esm-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-esm-system Negative + 'module-parser-javascript-esm-system' + option. +--module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-esm-unknown-context-critical Negative + 'module-parser-javascript-esm-unknown- + context-critical' option. +--module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-recursive Negative + 'module-parser-javascript-esm-unknown- + context-recursive' option. +--module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-reg-exp Negative + 'module-parser-javascript-esm-unknown- + context-reg-exp' option. +--module-parser-javascript-esm-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-esm-url Negative + 'module-parser-javascript-esm-url' + option. +--module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-esm-worker Negative + 'module-parser-javascript-esm-worker' + option. +--module-parser-javascript-esm-worker-reset Clear all items provided in + 'module.parser.javascript/esm.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-esm-wrapped-context-critical Negative + 'module-parser-javascript-esm-wrapped- + context-critical' option. +--module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-esm-wrapped-context-recursive Negative + 'module-parser-javascript-esm-wrapped- + context-recursive' option. +--module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--module-parser-json-exports-depth The depth of json dependency flagged + as \`exportInfo\`. +--module-parser-json-named-exports Allow named exports for json of object + type. +--no-module-parser-json-named-exports Negative + 'module-parser-json-named-exports' + option. +--module-rules-compiler Match the child compiler name. +--module-rules-compiler-not Logical NOT. +--module-rules-dependency Match dependency type. +--module-rules-dependency-not Logical NOT. +--module-rules-enforce Enforce this rule as pre or post step. +--module-rules-exclude Shortcut for resource.exclude. +--module-rules-exclude-not Logical NOT. +--module-rules-extract-source-map Enable/Disable extracting source map. +--no-module-rules-extract-source-map Negative + 'module-rules-extract-source-map' + option. +--module-rules-include Shortcut for resource.include. +--module-rules-include-not Logical NOT. +--module-rules-issuer Match the issuer of the module (The + module pointing to this module). +--module-rules-issuer-not Logical NOT. +--module-rules-issuer-layer Match layer of the issuer of this + module (The module pointing to this + module). +--module-rules-issuer-layer-not Logical NOT. +--module-rules-layer Specifies the layer in which the + module should be placed in. +--module-rules-loader A loader request. +--module-rules-mimetype Match module mimetype when load from + Data URI. +--module-rules-mimetype-not Logical NOT. +--module-rules-real-resource Match the real resource path of the + module. +--module-rules-real-resource-not Logical NOT. +--module-rules-resource Match the resource path of the module. +--module-rules-resource-not Logical NOT. +--module-rules-resource-fragment Match the resource fragment of the + module. +--module-rules-resource-fragment-not Logical NOT. +--module-rules-resource-query Match the resource query of the + module. +--module-rules-resource-query-not Logical NOT. +--module-rules-scheme Match module scheme. +--module-rules-scheme-not Logical NOT. +--module-rules-side-effects Flags a module as with or without side + effects. +--no-module-rules-side-effects Negative 'module-rules-side-effects' + option. +--module-rules-test Shortcut for resource.test. +--module-rules-test-not Logical NOT. +--module-rules-type Module type to use for the module. +--module-rules-use-ident Unique loader options identifier. +--module-rules-use-loader A loader request. +--module-rules-use-options Options passed to a loader. +--module-rules-use A loader request. +--module-rules-reset Clear all items provided in + 'module.rules' configuration. A list + of rules. +--module-strict-export-presence Emit errors instead of warnings when + imported names don't exist in imported + module. Deprecated: This option has + moved to + 'module.parser.javascript.strictExport + Presence'. +--no-module-strict-export-presence Negative + 'module-strict-export-presence' + option. +--module-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. Deprecated: This option has + moved to + 'module.parser.javascript.strictThisCo + ntextOnImports'. +--no-module-strict-this-context-on-imports Negative + 'module-strict-this-context-on-imports + ' option. +--module-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtCritical'. +--no-module-unknown-context-critical Negative + 'module-unknown-context-critical' + option. +--module-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRecursive'. +--no-module-unknown-context-recursive Negative + 'module-unknown-context-recursive' + option. +--module-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRegExp'. +--no-module-unknown-context-reg-exp Negative + 'module-unknown-context-reg-exp' + option. +--module-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtRequest'. +--module-unsafe-cache Cache the resolving of module + requests. +--no-module-unsafe-cache Negative 'module-unsafe-cache' option. +--module-wrapped-context-critical Enable warnings for partial dynamic + dependencies. Deprecated: This option + has moved to + 'module.parser.javascript.wrappedConte + xtCritical'. +--no-module-wrapped-context-critical Negative + 'module-wrapped-context-critical' + option. +--module-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRecursive'. +--no-module-wrapped-context-recursive Negative + 'module-wrapped-context-recursive' + option. +--module-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRegExp'. +--name Name of the configuration. Used when + loading multiple configurations. +--no-node Negative 'node' option. +--node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-node-dirname Negative 'node-dirname' option. +--node-filename [value] Include a polyfill for the + '__filename' variable. +--no-node-filename Negative 'node-filename' option. +--node-global [value] Include a polyfill for the 'global' + variable. +--no-node-global Negative 'node-global' option. +--optimization-avoid-entry-iife Avoid wrapping the entry module in an + IIFE. +--no-optimization-avoid-entry-iife Negative + 'optimization-avoid-entry-iife' + option. +--optimization-check-wasm-types Check for incompatible wasm types when + importing/exporting from/to ESM. +--no-optimization-check-wasm-types Negative + 'optimization-check-wasm-types' + option. +--optimization-chunk-ids Define the algorithm to choose chunk + ids (named: readable ids for better + debugging, deterministic: numeric hash + ids for better long term caching, + size: numeric ids focused on minimal + initial download size, total-size: + numeric ids focused on minimal total + download size, false: no algorithm + used, as custom one can be provided + via plugin). +--no-optimization-chunk-ids Negative 'optimization-chunk-ids' + option. +--optimization-concatenate-modules Concatenate modules when possible to + generate less modules, more efficient + code and enable more optimizations by + the minimizer. +--no-optimization-concatenate-modules Negative + 'optimization-concatenate-modules' + option. +--optimization-emit-on-errors Emit assets even when errors occur. + Critical errors are emitted into the + generated code and will cause errors at stack. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'serve' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'serve' command using the "--help" option: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - --allowed-hosts Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --bonjour Allows to broadcasts dev server via ZeroConf networking on start. - --no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start. - --no-client Disables client script. - --client-logging Allows to set log level in the browser. - --client-overlay Enables a full-screen overlay in the browser when there are compiler errors or warnings. - --no-client-overlay Disables the full-screen overlay in the browser when there are compiler errors or warnings. - --client-overlay-errors Enables a full-screen overlay in the browser when there are compiler errors. - --no-client-overlay-errors Disables the full-screen overlay in the browser when there are compiler errors. - --client-overlay-warnings Enables a full-screen overlay in the browser when there are compiler warnings. - --no-client-overlay-warnings Disables the full-screen overlay in the browser when there are compiler warnings. - --client-overlay-runtime-errors Enables a full-screen overlay in the browser when there are uncaught runtime errors. - --no-client-overlay-runtime-errors Disables the full-screen overlay in the browser when there are uncaught runtime errors. - --client-overlay-trusted-types-policy-name The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'. - --client-progress [value] Displays compilation progress in the browser. Options include 'linear' and 'circular' for visual indicators. - --no-client-progress Does not display compilation progress in the browser. - --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to reconnect the client. - --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. - --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). - --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname. - --client-web-socket-url-pathname Tells clients connected to devServer to use the provided path to connect. - --client-web-socket-url-password Tells clients connected to devServer to use the provided password to authenticate. - --client-web-socket-url-port Tells clients connected to devServer to use the provided port. - --client-web-socket-url-protocol Tells clients connected to devServer to use the provided protocol. - --client-web-socket-url-username Tells clients connected to devServer to use the provided username to authenticate. - --compress Enables gzip compression for everything served. - --no-compress Disables gzip compression for everything served. - --history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API. - --no-history-api-fallback Disallows to proxy requests through a specified index page. - --host Allows to specify a hostname to use. - --hot [value] Enables Hot Module Replacement. - --no-hot Disables Hot Module Replacement. - --ipc [value] Listen to a unix socket. - --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). - --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default). - --open [value...] Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --no-open Does not open the default browser. - --open-target Opens specified page in browser. - --open-app-name Open specified browser. - --open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser. - --open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser. - --port Allows to specify a port to use. - --server-type Allows to set server and options (by default 'http'). - --server-options-passphrase Passphrase for a pfx file. - --server-options-request-cert Request for an SSL certificate. - --no-server-options-request-cert Does not request for an SSL certificate. - --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cert Path to an SSL certificate or content of an SSL certificate. - --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. - --server-options-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-crl-reset Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-key Path to an SSL key or content of an SSL key. - --server-options-key-reset Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key. - --server-options-pfx Path to an SSL pfx file or content of an SSL pfx file. - --server-options-pfx-reset Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. - --static [value...] Allows to configure options for serving static files from directory (by default 'public' directory). - --no-static Disallows to configure options for serving static files from directory. - --static-directory Directory for static contents. - --static-public-path The static files will be available in the browser under this public path. - --static-serve-index Tells dev server to use serveIndex middleware when enabled. - --no-static-serve-index Does not tell dev server to use serveIndex middleware. - --static-watch Watches for files in static content directory. - --no-static-watch Does not watch for files in static content directory. - --static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). - --static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path. - --watch-files Allows to configure list of globs/directories/files to watch for file changes. - --watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. - --no-web-socket-server Disallows to set web socket server and options. - --web-socket-server-type Allows to set web socket server and options (by default 'ws'). - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment + to build for. An array of environments + to build for all of them when + possible. +-w, --watch Enter watch mode, which rebuilds on + file change. +--watch-options-stdin Stop watching when stdin stream has + ended. +--allowed-hosts Allows to enumerate the hosts from + which access to the dev server are + allowed (useful when you are proxying + dev server, by default is 'auto'). +--allowed-hosts-reset Clear all items provided in + 'allowedHosts' configuration. Allows + to enumerate the hosts from which + access to the dev server are allowed + (useful when you are proxying dev + server, by default is 'auto'). +--bonjour Allows to broadcasts dev server via + ZeroConf networking on start. +--no-bonjour Disallows to broadcasts dev server via + ZeroConf networking on start. +--no-client Disables client script. +--client-logging Allows to set log level in the + browser. +--client-overlay Enables a full-screen overlay in the + browser when there are compiler errors + or warnings. +--no-client-overlay Disables the full-screen overlay in + the browser when there are compiler + errors or warnings. +--client-overlay-errors Enables a full-screen overlay in the + browser when there are compiler + errors. +--no-client-overlay-errors Disables the full-screen overlay in + the browser when there are compiler + errors. +--client-overlay-warnings Enables a full-screen overlay in the + browser when there are compiler + warnings. +--no-client-overlay-warnings Disables the full-screen overlay in + the browser when there are compiler + warnings. +--client-overlay-runtime-errors Enables a full-screen overlay in the + browser when there are uncaught + runtime errors. +--no-client-overlay-runtime-errors Disables the full-screen overlay in + the browser when there are uncaught + runtime errors. +--client-overlay-trusted-types-policy-name The name of a Trusted Types policy for + the overlay. Defaults to + 'webpack-dev-server#overlay'. +--client-progress [value] Displays compilation progress in the + browser. Options include 'linear' and + 'circular' for visual indicators. +--no-client-progress Does not display compilation progress + in the browser. +--client-reconnect [value] Tells dev-server the number of times + it should try to reconnect the client. +--no-client-reconnect Tells dev-server to not to try to + reconnect the client. +--client-web-socket-transport Allows to set custom web socket + transport to communicate with dev + server. +--client-web-socket-url Allows to specify URL to web socket + server (useful when you're proxying + dev server and client script does not + always know where to connect to). +--client-web-socket-url-hostname Tells clients connected to devServer + to use the provided hostname. +--client-web-socket-url-pathname Tells clients connected to devServer + to use the provided path to connect. +--client-web-socket-url-password Tells clients connected to devServer + to use the provided password to + authenticate. +--client-web-socket-url-port Tells clients connected to devServer + to use the provided port. +--client-web-socket-url-protocol Tells clients connected to devServer + to use the provided protocol. +--client-web-socket-url-username Tells clients connected to devServer + to use the provided username to + authenticate. +--compress Enables gzip compression for + everything served. +--no-compress Disables gzip compression for + everything served. +--history-api-fallback Allows to proxy requests through a + specified index page (by default + 'index.html'), useful for Single Page + Applications that utilise the HTML5 + History API. +--no-history-api-fallback Disallows to proxy requests through a + specified index page. +--host Allows to specify a hostname to use. +--hot [value] Enables Hot Module Replacement. +--no-hot Disables Hot Module Replacement. +--ipc [value] Listen to a unix socket. +--live-reload Enables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--no-live-reload Disables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--open [value...] Allows to configure dev server to open + the browser(s) and page(s) after + server had been started (set it to + true to open your default browser). +--no-open Does not open the default browser. +--open-target Opens specified page in browser. +--open-app-name Open specified browser. +--open-reset Clear all items provided in 'open' + configuration. Allows to configure dev + server to open the browser(s) and + page(s) after server had been started + (set it to true to open your default + browser). +--open-target-reset Clear all items provided in + 'open.target' configuration. Opens + specified page in browser. +--open-app-name-reset Clear all items provided in + 'open.app.name' configuration. Open + specified browser. +--port Allows to specify a port to use. +--server-type Allows to set server and options (by + default 'http'). +--server-options-passphrase Passphrase for a pfx file. +--server-options-request-cert Request for an SSL certificate. +--no-server-options-request-cert Does not request for an SSL + certificate. +--server-options-ca Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-ca-reset Clear all items provided in + 'server.options.ca' configuration. + Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-cert Path to an SSL certificate or content + of an SSL certificate. +--server-options-cert-reset Clear all items provided in + 'server.options.cert' configuration. + Path to an SSL certificate or content + of an SSL certificate. +--server-options-crl Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-crl-reset Clear all items provided in + 'server.options.crl' configuration. + Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-key Path to an SSL key or content of an + SSL key. +--server-options-key-reset Clear all items provided in + 'server.options.key' configuration. + Path to an SSL key or content of an + SSL key. +--server-options-pfx Path to an SSL pfx file or content of + an SSL pfx file. +--server-options-pfx-reset Clear all items provided in + 'server.options.pfx' configuration. + Path to an SSL pfx file or content of + an SSL pfx file. +--static [value...] Allows to configure options for + serving static files from directory + (by default 'public' directory). +--no-static Disallows to configure options for + serving static files from directory. +--static-directory Directory for static contents. +--static-public-path The static files will be available in + the browser under this public path. +--static-serve-index Tells dev server to use serveIndex + middleware when enabled. +--no-static-serve-index Does not tell dev server to use + serveIndex middleware. +--static-watch Watches for files in static content + directory. +--no-static-watch Does not watch for files in static + content directory. +--static-reset Clear all items provided in 'static' + configuration. Allows to configure + options for serving static files from + directory (by default 'public' + directory). +--static-public-path-reset Clear all items provided in + 'static.publicPath' configuration. The + static files will be available in the + browser under this public path. +--watch-files Allows to configure list of + globs/directories/files to watch for + file changes. +--watch-files-reset Clear all items provided in + 'watchFiles' configuration. Allows to + configure list of + globs/directories/files to watch for + file changes. +--no-web-socket-server Disallows to set web socket server and + options. +--web-socket-server-type Allows to set web socket server and + options (by default 'ws'). +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'server' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 'server' command using command syntax: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - --allowed-hosts Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --bonjour Allows to broadcasts dev server via ZeroConf networking on start. - --no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start. - --no-client Disables client script. - --client-logging Allows to set log level in the browser. - --client-overlay Enables a full-screen overlay in the browser when there are compiler errors or warnings. - --no-client-overlay Disables the full-screen overlay in the browser when there are compiler errors or warnings. - --client-overlay-errors Enables a full-screen overlay in the browser when there are compiler errors. - --no-client-overlay-errors Disables the full-screen overlay in the browser when there are compiler errors. - --client-overlay-warnings Enables a full-screen overlay in the browser when there are compiler warnings. - --no-client-overlay-warnings Disables the full-screen overlay in the browser when there are compiler warnings. - --client-overlay-runtime-errors Enables a full-screen overlay in the browser when there are uncaught runtime errors. - --no-client-overlay-runtime-errors Disables the full-screen overlay in the browser when there are uncaught runtime errors. - --client-overlay-trusted-types-policy-name The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'. - --client-progress [value] Displays compilation progress in the browser. Options include 'linear' and 'circular' for visual indicators. - --no-client-progress Does not display compilation progress in the browser. - --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to reconnect the client. - --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. - --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). - --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname. - --client-web-socket-url-pathname Tells clients connected to devServer to use the provided path to connect. - --client-web-socket-url-password Tells clients connected to devServer to use the provided password to authenticate. - --client-web-socket-url-port Tells clients connected to devServer to use the provided port. - --client-web-socket-url-protocol Tells clients connected to devServer to use the provided protocol. - --client-web-socket-url-username Tells clients connected to devServer to use the provided username to authenticate. - --compress Enables gzip compression for everything served. - --no-compress Disables gzip compression for everything served. - --history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API. - --no-history-api-fallback Disallows to proxy requests through a specified index page. - --host Allows to specify a hostname to use. - --hot [value] Enables Hot Module Replacement. - --no-hot Disables Hot Module Replacement. - --ipc [value] Listen to a unix socket. - --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). - --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default). - --open [value...] Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --no-open Does not open the default browser. - --open-target Opens specified page in browser. - --open-app-name Open specified browser. - --open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser. - --open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser. - --port Allows to specify a port to use. - --server-type Allows to set server and options (by default 'http'). - --server-options-passphrase Passphrase for a pfx file. - --server-options-request-cert Request for an SSL certificate. - --no-server-options-request-cert Does not request for an SSL certificate. - --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cert Path to an SSL certificate or content of an SSL certificate. - --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. - --server-options-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-crl-reset Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-key Path to an SSL key or content of an SSL key. - --server-options-key-reset Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key. - --server-options-pfx Path to an SSL pfx file or content of an SSL pfx file. - --server-options-pfx-reset Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. - --static [value...] Allows to configure options for serving static files from directory (by default 'public' directory). - --no-static Disallows to configure options for serving static files from directory. - --static-directory Directory for static contents. - --static-public-path The static files will be available in the browser under this public path. - --static-serve-index Tells dev server to use serveIndex middleware when enabled. - --no-static-serve-index Does not tell dev server to use serveIndex middleware. - --static-watch Watches for files in static content directory. - --no-static-watch Does not watch for files in static content directory. - --static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). - --static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path. - --watch-files Allows to configure list of globs/directories/files to watch for file changes. - --watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. - --no-web-socket-server Disallows to set web socket server and options. - --web-socket-server-type Allows to set web socket server and options (by default 'ws'). - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment + to build for. An array of environments + to build for all of them when + possible. +-w, --watch Enter watch mode, which rebuilds on + file change. +--watch-options-stdin Stop watching when stdin stream has + ended. +--allowed-hosts Allows to enumerate the hosts from + which access to the dev server are + allowed (useful when you are proxying + dev server, by default is 'auto'). +--allowed-hosts-reset Clear all items provided in + 'allowedHosts' configuration. Allows + to enumerate the hosts from which + access to the dev server are allowed + (useful when you are proxying dev + server, by default is 'auto'). +--bonjour Allows to broadcasts dev server via + ZeroConf networking on start. +--no-bonjour Disallows to broadcasts dev server via + ZeroConf networking on start. +--no-client Disables client script. +--client-logging Allows to set log level in the + browser. +--client-overlay Enables a full-screen overlay in the + browser when there are compiler errors + or warnings. +--no-client-overlay Disables the full-screen overlay in + the browser when there are compiler + errors or warnings. +--client-overlay-errors Enables a full-screen overlay in the + browser when there are compiler + errors. +--no-client-overlay-errors Disables the full-screen overlay in + the browser when there are compiler + errors. +--client-overlay-warnings Enables a full-screen overlay in the + browser when there are compiler + warnings. +--no-client-overlay-warnings Disables the full-screen overlay in + the browser when there are compiler + warnings. +--client-overlay-runtime-errors Enables a full-screen overlay in the + browser when there are uncaught + runtime errors. +--no-client-overlay-runtime-errors Disables the full-screen overlay in + the browser when there are uncaught + runtime errors. +--client-overlay-trusted-types-policy-name The name of a Trusted Types policy for + the overlay. Defaults to + 'webpack-dev-server#overlay'. +--client-progress [value] Displays compilation progress in the + browser. Options include 'linear' and + 'circular' for visual indicators. +--no-client-progress Does not display compilation progress + in the browser. +--client-reconnect [value] Tells dev-server the number of times + it should try to reconnect the client. +--no-client-reconnect Tells dev-server to not to try to + reconnect the client. +--client-web-socket-transport Allows to set custom web socket + transport to communicate with dev + server. +--client-web-socket-url Allows to specify URL to web socket + server (useful when you're proxying + dev server and client script does not + always know where to connect to). +--client-web-socket-url-hostname Tells clients connected to devServer + to use the provided hostname. +--client-web-socket-url-pathname Tells clients connected to devServer + to use the provided path to connect. +--client-web-socket-url-password Tells clients connected to devServer + to use the provided password to + authenticate. +--client-web-socket-url-port Tells clients connected to devServer + to use the provided port. +--client-web-socket-url-protocol Tells clients connected to devServer + to use the provided protocol. +--client-web-socket-url-username Tells clients connected to devServer + to use the provided username to + authenticate. +--compress Enables gzip compression for + everything served. +--no-compress Disables gzip compression for + everything served. +--history-api-fallback Allows to proxy requests through a + specified index page (by default + 'index.html'), useful for Single Page + Applications that utilise the HTML5 + History API. +--no-history-api-fallback Disallows to proxy requests through a + specified index page. +--host Allows to specify a hostname to use. +--hot [value] Enables Hot Module Replacement. +--no-hot Disables Hot Module Replacement. +--ipc [value] Listen to a unix socket. +--live-reload Enables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--no-live-reload Disables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--open [value...] Allows to configure dev server to open + the browser(s) and page(s) after + server had been started (set it to + true to open your default browser). +--no-open Does not open the default browser. +--open-target Opens specified page in browser. +--open-app-name Open specified browser. +--open-reset Clear all items provided in 'open' + configuration. Allows to configure dev + server to open the browser(s) and + page(s) after server had been started + (set it to true to open your default + browser). +--open-target-reset Clear all items provided in + 'open.target' configuration. Opens + specified page in browser. +--open-app-name-reset Clear all items provided in + 'open.app.name' configuration. Open + specified browser. +--port Allows to specify a port to use. +--server-type Allows to set server and options (by + default 'http'). +--server-options-passphrase Passphrase for a pfx file. +--server-options-request-cert Request for an SSL certificate. +--no-server-options-request-cert Does not request for an SSL + certificate. +--server-options-ca Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-ca-reset Clear all items provided in + 'server.options.ca' configuration. + Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-cert Path to an SSL certificate or content + of an SSL certificate. +--server-options-cert-reset Clear all items provided in + 'server.options.cert' configuration. + Path to an SSL certificate or content + of an SSL certificate. +--server-options-crl Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-crl-reset Clear all items provided in + 'server.options.crl' configuration. + Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-key Path to an SSL key or content of an + SSL key. +--server-options-key-reset Clear all items provided in + 'server.options.key' configuration. + Path to an SSL key or content of an + SSL key. +--server-options-pfx Path to an SSL pfx file or content of + an SSL pfx file. +--server-options-pfx-reset Clear all items provided in + 'server.options.pfx' configuration. + Path to an SSL pfx file or content of + an SSL pfx file. +--static [value...] Allows to configure options for + serving static files from directory + (by default 'public' directory). +--no-static Disallows to configure options for + serving static files from directory. +--static-directory Directory for static contents. +--static-public-path The static files will be available in + the browser under this public path. +--static-serve-index Tells dev server to use serveIndex + middleware when enabled. +--no-static-serve-index Does not tell dev server to use + serveIndex middleware. +--static-watch Watches for files in static content + directory. +--no-static-watch Does not watch for files in static + content directory. +--static-reset Clear all items provided in 'static' + configuration. Allows to configure + options for serving static files from + directory (by default 'public' + directory). +--static-public-path-reset Clear all items provided in + 'static.publicPath' configuration. The + static files will be available in the + browser under this public path. +--watch-files Allows to configure list of + globs/directories/files to watch for + file changes. +--watch-files-reset Clear all items provided in + 'watchFiles' configuration. Allows to + configure list of + globs/directories/files to watch for + file changes. +--no-web-socket-server Disallows to set web socket server and + options. +--web-socket-server-type Allows to set web socket server and + options (by default 'ws'). +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'server' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 'server' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - --no-amd Negative 'amd' option. - --bail Report the first error as a hard error instead of tolerating it. - --no-bail Negative 'bail' option. - --cache Enable in memory caching. Disable caching. - --no-cache Negative 'cache' option. - --cache-cache-unaffected Additionally cache computation of modules that are unchanged and reference only unchanged modules. - --no-cache-cache-unaffected Negative 'cache-cache-unaffected' option. - --cache-max-generations Number of generations unused cache entries stay in memory cache +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +--no-amd Negative 'amd' option. +--bail Report the first error as a hard error + instead of tolerating it. +--no-bail Negative 'bail' option. +--cache Enable in memory caching. Disable + caching. +--no-cache Negative 'cache' option. +--cache-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules. +--no-cache-cache-unaffected Negative 'cache-cache-unaffected' + option. +--cache-max-generations Number of generations unused cache + entries stay in memory cache at + minimum (1 = may be removed after + unused for a single compilation, ..., + Infinity: kept forever). +--cache-type In memory caching. Filesystem caching. +--cache-allow-collecting-memory Allows to collect unused memory + allocated during deserialization. This + requires copying data into smaller + buffers and has a performance cost. +--no-cache-allow-collecting-memory Negative + 'cache-allow-collecting-memory' + option. +--cache-cache-directory Base directory for the cache (defaults + to node_modules/.cache/webpack). +--cache-cache-location Locations for the cache (defaults to + cacheDirectory / name). +--cache-compression Compression type used for the cache + files. +--no-cache-compression Negative 'cache-compression' option. +--cache-hash-algorithm Algorithm used for generation the hash + (see node.js crypto package). +--cache-idle-timeout Time in ms after which idle period the + cache storing should happen. +--cache-idle-timeout-after-large-changes Time in ms after which idle period the + cache storing should happen when + larger changes has been detected + (cumulative build time > 2 x avg cache + store time). +--cache-idle-timeout-for-initial-store Time in ms after which idle period the + initial cache storing should happen. +--cache-immutable-paths A RegExp matching an immutable + directory (usually a package manager + cache directory, including the tailing + slash) A path to an immutable + directory (usually a package manager + cache directory). +--cache-immutable-paths-reset Clear all items provided in + 'cache.immutablePaths' configuration. + List of paths that are managed by a + package manager and contain a version + or hash in its path so all files are + immutable. +--cache-managed-paths A RegExp matching a managed directory + (usually a node_modules directory, + including the tailing slash) A path to + a managed directory (usually a + node_modules directory). +--cache-managed-paths-reset Clear all items provided in + 'cache.managedPaths' configuration. + List of paths that are managed by a + package manager and can be trusted to + not be modified otherwise. +--cache-max-age Time for which unused cache entries + stay in the filesystem cache at + minimum (in milliseconds). +--cache-max-memory-generations Number of generations unused cache + entries stay in memory cache at + minimum (0 = no memory cache used, 1 = + may be removed after unused for a + single compilation, ..., Infinity: + kept forever). Cache entries will be + deserialized from disk when removed + from memory cache. +--cache-memory-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules in + memory. +--no-cache-memory-cache-unaffected Negative + 'cache-memory-cache-unaffected' + option. +--cache-name Name for the cache. Different names + will lead to different coexisting + caches. +--cache-profile Track and log detailed timing + information for individual cache + items. +--no-cache-profile Negative 'cache-profile' option. +--cache-readonly Enable/disable readonly mode. +--no-cache-readonly Negative 'cache-readonly' option. +--cache-store When to store data to the filesystem. + (pack: Store data when compiler is + idle in a single file). +--cache-version Version of the cache data. Different + versions won't allow to reuse the + cache and override existing content. + Update the version when config changed + in a way which doesn't allow to reuse + cache. This will invalidate the cache. +--context The base directory (absolute path!) + for resolving the \`entry\` option. If + \`output.pathinfo\` is set, the included + pathinfo is shortened to this + directory. +--dependencies References to another configuration to + depend on. +--dependencies-reset Clear all items provided in + 'dependencies' configuration. + References to other configurations to + depend on. +--no-dev-server Negative 'dev-server' option. +--devtool-type Which asset type should receive this + devtool value. +--devtool-use A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool-use Negative 'devtool-use' option. +--devtool-reset Clear all items provided in 'devtool' + configuration. A developer tool to + enhance debugging (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--dotenv Enable Dotenv plugin with default + options. +--no-dotenv Negative 'dotenv' option. +--dotenv-dir The directory from which .env files + are loaded. Can be an absolute path, + false will disable the .env file + loading. +--no-dotenv-dir Negative 'dotenv-dir' option. +--dotenv-prefix A prefix that environment variables + must start with to be exposed. +--dotenv-prefix-reset Clear all items provided in + 'dotenv.prefix' configuration. Only + expose environment variables that + start with these prefixes. Defaults to + 'WEBPACK_'. +--dotenv-template A template pattern for .env file + names. +--dotenv-template-reset Clear all items provided in + 'dotenv.template' configuration. + Template patterns for .env file names. + Use [mode] as placeholder for the + webpack mode. Defaults to ['.env', + '.env.local', '.env.[mode]', + '.env.[mode].local']. +--entry A module that is loaded upon startup. + Only the last one is exported. +--entry-reset Clear all items provided in 'entry' + configuration. All modules are loaded + upon startup. The last one is + exported. +--experiments-async-web-assembly Support WebAssembly as asynchronous + EcmaScript Module. +--no-experiments-async-web-assembly Negative + 'experiments-async-web-assembly' + option. +--experiments-back-compat Enable backward-compat layer with + deprecation warnings for many webpack + 4 APIs. +--no-experiments-back-compat Negative 'experiments-back-compat' + option. +--experiments-build-http-allowed-uris Allowed URI pattern. Allowed URI + (resp. the beginning of it). +--experiments-build-http-allowed-uris-reset Clear all items provided in + 'experiments.buildHttp.allowedUris' + configuration. List of allowed URIs + (resp. the beginning of them). +--experiments-build-http-cache-location Location where resource content is + stored for lockfile entries. It's also + possible to disable storing by passing + false. +--no-experiments-build-http-cache-location Negative + 'experiments-build-http-cache-location + ' option. +--experiments-build-http-frozen When set, anything that would lead to + a modification of the lockfile or any + resource content, will result in an + error. +--no-experiments-build-http-frozen Negative + 'experiments-build-http-frozen' + option. +--experiments-build-http-lockfile-location Location of the lockfile. +--experiments-build-http-proxy Proxy configuration, which can be used + to specify a proxy server to use for + HTTP requests. +--experiments-build-http-upgrade When set, resources of existing + lockfile entries will be fetched and + entries will be upgraded when resource + content has changed. +--no-experiments-build-http-upgrade Negative + 'experiments-build-http-upgrade' + option. +--experiments-cache-unaffected Enable additional in memory caching of + modules that are unchanged and + reference only unchanged modules. +--no-experiments-cache-unaffected Negative + 'experiments-cache-unaffected' option. +--experiments-css Enable css support. +--no-experiments-css Negative 'experiments-css' option. +--experiments-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-experiments-defer-import Negative 'experiments-defer-import' + option. +--experiments-future-defaults Apply defaults of next major version. +--no-experiments-future-defaults Negative 'experiments-future-defaults' + option. +--experiments-lazy-compilation Compile entrypoints and import()s only + when they are accessed. +--no-experiments-lazy-compilation Negative + 'experiments-lazy-compilation' option. +--experiments-lazy-compilation-backend-client A custom client. +--experiments-lazy-compilation-backend-listen A port. +--experiments-lazy-compilation-backend-listen-host A host. +--experiments-lazy-compilation-backend-listen-port A port. +--experiments-lazy-compilation-backend-protocol Specifies the protocol the client + should use to connect to the server. +--experiments-lazy-compilation-entries Enable/disable lazy compilation for + entries. +--no-experiments-lazy-compilation-entries Negative + 'experiments-lazy-compilation-entries' + option. +--experiments-lazy-compilation-imports Enable/disable lazy compilation for + import() modules. +--no-experiments-lazy-compilation-imports Negative + 'experiments-lazy-compilation-imports' + option. +--experiments-lazy-compilation-test Specify which entrypoints or + import()ed modules should be lazily + compiled. This is matched with the + imported module and not the entrypoint + name. +--experiments-output-module Allow output javascript files as + module source type. +--no-experiments-output-module Negative 'experiments-output-module' + option. +--experiments-sync-web-assembly Support WebAssembly as synchronous + EcmaScript Module (outdated). +--no-experiments-sync-web-assembly Negative + 'experiments-sync-web-assembly' + option. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--extends-reset Clear all items provided in 'extends' + configuration. Extend configuration + from another configuration (only works + when using webpack-cli). +--externals Every matched dependency becomes + external. An exact matched dependency + becomes external. The same string is + used as external dependency. +--externals-reset Clear all items provided in + 'externals' configuration. Specify + dependencies that shouldn't be + resolved by webpack, but should become + dependencies of the resulting bundle. + The kind of the dependency depends on + \`output.libraryTarget\`. +--externals-presets-electron Treat common electron built-in modules + in main and preload context like + 'electron', 'ipc' or 'shell' as + external and load them via require() + when used. +--no-externals-presets-electron Negative 'externals-presets-electron' + option. +--externals-presets-electron-main Treat electron built-in modules in the + main context like 'app', 'ipc-main' or + 'shell' as external and load them via + require() when used. +--no-externals-presets-electron-main Negative + 'externals-presets-electron-main' + option. +--externals-presets-electron-preload Treat electron built-in modules in the + preload context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-preload Negative + 'externals-presets-electron-preload' + option. +--externals-presets-electron-renderer Treat electron built-in modules in the + renderer context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-renderer Negative + 'externals-presets-electron-renderer' + option. +--externals-presets-node Treat node.js built-in modules like + fs, path or vm as external and load + them via require() when used. +--no-externals-presets-node Negative 'externals-presets-node' + option. +--externals-presets-nwjs Treat NW.js legacy nw.gui module as + external and load it via require() + when used. +--no-externals-presets-nwjs Negative 'externals-presets-nwjs' + option. +--externals-presets-web Treat references to 'http(s)://...' + and 'std:...' as external and load + them via import when used (Note that + this changes execution order as + externals are executed before any + other code in the chunk). +--no-externals-presets-web Negative 'externals-presets-web' + option. +--externals-presets-web-async Treat references to 'http(s)://...' + and 'std:...' as external and load + them via async import() when used + (Note that this external type is an + async module, which has various + effects on the execution). +--no-externals-presets-web-async Negative 'externals-presets-web-async' + option. +--externals-type Specifies the default type of + externals ('amd*', 'umd*', 'system' + and 'jsonp' depend on + output.libraryTarget set to the same + value). +--ignore-warnings A RegExp to select the warning + message. +--ignore-warnings-file A RegExp to select the origin file for + the warning. +--ignore-warnings-message A RegExp to select the warning + message. +--ignore-warnings-module A RegExp to select the origin module + for the warning. +--ignore-warnings-reset Clear all items provided in + 'ignoreWarnings' configuration. Ignore + specific warnings. +--infrastructure-logging-append-only Only appends lines to the output. + Avoids updating existing output e. g. + for status messages. This option is + only used when no custom console is + provided. +--no-infrastructure-logging-append-only Negative + 'infrastructure-logging-append-only' + option. +--infrastructure-logging-colors Enables/Disables colorful output. This + option is only used when no custom + console is provided. +--no-infrastructure-logging-colors Negative + 'infrastructure-logging-colors' + option. +--infrastructure-logging-debug [value...] Enable/Disable debug logging for all + loggers. Enable debug logging for + specific loggers. +--no-infrastructure-logging-debug Negative + 'infrastructure-logging-debug' option. +--infrastructure-logging-debug-reset Clear all items provided in + 'infrastructureLogging.debug' + configuration. Enable debug logging + for specific loggers. +--infrastructure-logging-level Log level. +--mode Enable production optimizations or + development hints. +--module-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-expr-context-critical Negative + 'module-expr-context-critical' option. +--module-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. Deprecated: + This option has moved to + 'module.parser.javascript.exprContextR + ecursive'. +--no-module-expr-context-recursive Negative + 'module-expr-context-recursive' + option. +--module-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.exprContextR + egExp'. +--no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' + option. +--module-expr-context-request Set the default request for full + dynamic dependencies. Deprecated: This + option has moved to + 'module.parser.javascript.exprContextR + equest'. +--module-generator-asset-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-binary Negative + 'module-generator-asset-binary' + option. +--module-generator-asset-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-data-url-encoding Negative + 'module-generator-asset-data-url-encod + ing' option. +--module-generator-asset-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-emit Negative 'module-generator-asset-emit' + option. +--module-generator-asset-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-asset-inline-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-inline-binary Negative + 'module-generator-asset-inline-binary' + option. +--module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-inline-data-url-encoding Negative + 'module-generator-asset-inline-data-ur + l-encoding' option. +--module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-resource-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-resource-binary Negative + 'module-generator-asset-resource-binar + y' option. +--module-generator-asset-resource-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-resource-emit Negative + 'module-generator-asset-resource-emit' + option. +--module-generator-asset-resource-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-resource-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-resource-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-css-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-es-module Negative + 'module-generator-css-es-module' + option. +--module-generator-css-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-exports-only Negative + 'module-generator-css-exports-only' + option. +--module-generator-css-auto-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-auto-es-module Negative + 'module-generator-css-auto-es-module' + option. +--module-generator-css-auto-export-type Configure how CSS content is exported + as default. +--module-generator-css-auto-exports-convention Specifies the convention of exported + names. +--module-generator-css-auto-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-auto-exports-only Negative + 'module-generator-css-auto-exports-onl + y' option. +--module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-auto-local-ident-name Configure the generated local ident + name. +--module-generator-css-global-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-global-es-module Negative + 'module-generator-css-global-es-module + ' option. +--module-generator-css-global-export-type Configure how CSS content is exported + as default. +--module-generator-css-global-exports-convention Specifies the convention of exported + names. +--module-generator-css-global-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-global-exports-only Negative + 'module-generator-css-global-exports-o + nly' option. +--module-generator-css-global-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-global-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-global-local-ident-name Configure the generated local ident + name. +--module-generator-css-module-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-module-es-module Negative + 'module-generator-css-module-es-module + ' option. +--module-generator-css-module-export-type Configure how CSS content is exported + as default. +--module-generator-css-module-exports-convention Specifies the convention of exported + names. +--module-generator-css-module-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-module-exports-only Negative + 'module-generator-css-module-exports-o + nly' option. +--module-generator-css-module-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-module-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-module-local-ident-name Configure the generated local ident + name. +--module-generator-json-json-parse Use \`JSON.parse\` when the JSON string + is longer than 20 characters. +--no-module-generator-json-json-parse Negative + 'module-generator-json-json-parse' + option. +--module-no-parse A regular expression, when matched the + module is not parsed. An absolute + path, when the module starts with this + path it is not parsed. +--module-no-parse-reset Clear all items provided in + 'module.noParse' configuration. Don't + parse files matching. It's matched + against the full resolved request. +--module-parser-asset-data-url-condition-max-size Maximum size of asset that should be + inline as modules. Default: 8kb. +--module-parser-css-export-type Configure how CSS content is exported + as default. +--module-parser-css-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-import Negative 'module-parser-css-import' + option. +--module-parser-css-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-named-exports Negative + 'module-parser-css-named-exports' + option. +--module-parser-css-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-url Negative 'module-parser-css-url' + option. +--module-parser-css-auto-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-auto-animation Negative + 'module-parser-css-auto-animation' + option. +--module-parser-css-auto-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-auto-container Negative + 'module-parser-css-auto-container' + option. +--module-parser-css-auto-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-auto-custom-idents Negative + 'module-parser-css-auto-custom-idents' + option. +--module-parser-css-auto-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-auto-dashed-idents Negative + 'module-parser-css-auto-dashed-idents' + option. +--module-parser-css-auto-export-type Configure how CSS content is exported + as default. +--module-parser-css-auto-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-auto-function Negative + 'module-parser-css-auto-function' + option. +--module-parser-css-auto-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' + option. +--module-parser-css-auto-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-auto-import Negative + 'module-parser-css-auto-import' + option. +--module-parser-css-auto-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-auto-named-exports Negative + 'module-parser-css-auto-named-exports' + option. +--module-parser-css-auto-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' + option. +--module-parser-css-global-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-global-animation Negative + 'module-parser-css-global-animation' + option. +--module-parser-css-global-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-global-container Negative + 'module-parser-css-global-container' + option. +--module-parser-css-global-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-global-custom-idents Negative + 'module-parser-css-global-custom-ident + s' option. +--module-parser-css-global-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-global-dashed-idents Negative + 'module-parser-css-global-dashed-ident + s' option. +--module-parser-css-global-export-type Configure how CSS content is exported + as default. +--module-parser-css-global-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-global-function Negative + 'module-parser-css-global-function' + option. +--module-parser-css-global-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-global-grid Negative + 'module-parser-css-global-grid' + option. +--module-parser-css-global-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-global-import Negative + 'module-parser-css-global-import' + option. +--module-parser-css-global-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-global-named-exports Negative + 'module-parser-css-global-named-export + s' option. +--module-parser-css-global-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-global-url Negative + 'module-parser-css-global-url' option. +--module-parser-css-module-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-module-animation Negative + 'module-parser-css-module-animation' + option. +--module-parser-css-module-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-module-container Negative + 'module-parser-css-module-container' + option. +--module-parser-css-module-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-module-custom-idents Negative + 'module-parser-css-module-custom-ident + s' option. +--module-parser-css-module-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-module-dashed-idents Negative + 'module-parser-css-module-dashed-ident + s' option. +--module-parser-css-module-export-type Configure how CSS content is exported + as default. +--module-parser-css-module-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-module-function Negative + 'module-parser-css-module-function' + option. +--module-parser-css-module-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-module-grid Negative + 'module-parser-css-module-grid' + option. +--module-parser-css-module-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-module-import Negative + 'module-parser-css-module-import' + option. +--module-parser-css-module-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-module-named-exports Negative + 'module-parser-css-module-named-export + s' option. +--module-parser-css-module-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-module-url Negative + 'module-parser-css-module-url' option. +--no-module-parser-javascript-amd Negative + 'module-parser-javascript-amd' option. +--module-parser-javascript-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-browserify Negative + 'module-parser-javascript-browserify' + option. +--module-parser-javascript-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-commonjs Negative + 'module-parser-javascript-commonjs' + option. +--module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-commonjs-magic-comments Negative + 'module-parser-javascript-commonjs-mag + ic-comments' option. +--module-parser-javascript-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-create-require Negative + 'module-parser-javascript-create-requi + re' option. +--module-parser-javascript-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-defer-import Negative + 'module-parser-javascript-defer-import + ' option. +--module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-impo + rt-fetch-priority' option. +--module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-impo + rt-prefetch' option. +--module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-impo + rt-preload' option. +--module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. + Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-dynamic-url Negative + 'module-parser-javascript-dynamic-url' + option. +--module-parser-javascript-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-exports-presence Negative + 'module-parser-javascript-exports-pres + ence' option. +--module-parser-javascript-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-expr-context-critical Negative + 'module-parser-javascript-expr-context + -critical' option. +--module-parser-javascript-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-expr-context-recursive Negative + 'module-parser-javascript-expr-context + -recursive' option. +--module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-expr-context-reg-exp Negative + 'module-parser-javascript-expr-context + -reg-exp' option. +--module-parser-javascript-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-harmony Negative + 'module-parser-javascript-harmony' + option. +--module-parser-javascript-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-import Negative + 'module-parser-javascript-import' + option. +--module-parser-javascript-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-import-exports-presence Negative + 'module-parser-javascript-import-expor + ts-presence' option. +--module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-import-meta Negative + 'module-parser-javascript-import-meta' + option. +--module-parser-javascript-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-import-meta-context Negative + 'module-parser-javascript-import-meta- + context' option. +--no-module-parser-javascript-node Negative + 'module-parser-javascript-node' + option. +--module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-node-dirname Negative + 'module-parser-javascript-node-dirname + ' option. +--module-parser-javascript-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-node-filename Negative + 'module-parser-javascript-node-filenam + e' option. +--module-parser-javascript-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-node-global Negative + 'module-parser-javascript-node-global' + option. +--module-parser-javascript-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-reexport-exports-presence Negative + 'module-parser-javascript-reexport-exp + orts-presence' option. +--module-parser-javascript-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-require-context Negative + 'module-parser-javascript-require-cont + ext' option. +--module-parser-javascript-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-require-ensure Negative + 'module-parser-javascript-require-ensu + re' option. +--module-parser-javascript-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-require-include Negative + 'module-parser-javascript-require-incl + ude' option. +--module-parser-javascript-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-require-js Negative + 'module-parser-javascript-require-js' + option. +--module-parser-javascript-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-strict-export-presence Negative + 'module-parser-javascript-strict-expor + t-presence' option. +--module-parser-javascript-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-strict-this-context-on-imports Negative + 'module-parser-javascript-strict-this- + context-on-imports' option. +--module-parser-javascript-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-system Negative + 'module-parser-javascript-system' + option. +--module-parser-javascript-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-unknown-context-critical Negative + 'module-parser-javascript-unknown-cont + ext-critical' option. +--module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-recursive Negative + 'module-parser-javascript-unknown-cont + ext-recursive' option. +--module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-reg-exp Negative + 'module-parser-javascript-unknown-cont + ext-reg-exp' option. +--module-parser-javascript-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-url Negative + 'module-parser-javascript-url' option. +--module-parser-javascript-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-worker Negative + 'module-parser-javascript-worker' + option. +--module-parser-javascript-worker-reset Clear all items provided in + 'module.parser.javascript.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-wrapped-context-critical Negative + 'module-parser-javascript-wrapped-cont + ext-critical' option. +--module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-wrapped-context-recursive Negative + 'module-parser-javascript-wrapped-cont + ext-recursive' option. +--module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-auto-amd Negative + 'module-parser-javascript-auto-amd' + option. +--module-parser-javascript-auto-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-auto-browserify Negative + 'module-parser-javascript-auto-browser + ify' option. +--module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-auto-commonjs Negative + 'module-parser-javascript-auto-commonj + s' option. +--module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-auto-commonjs-magic-comments Negative + 'module-parser-javascript-auto-commonj + s-magic-comments' option. +--module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-auto-create-require Negative + 'module-parser-javascript-auto-create- + require' option. +--module-parser-javascript-auto-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-auto-defer-import Negative + 'module-parser-javascript-auto-defer-i + mport' option. +--module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative + 'module-parser-javascript-auto-dynamic + -import-fetch-priority' option. +--module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-prefetch Negative + 'module-parser-javascript-auto-dynamic + -import-prefetch' option. +--module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-preload Negative + 'module-parser-javascript-auto-dynamic + -import-preload' option. +--module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-auto-dynamic-url Negative + 'module-parser-javascript-auto-dynamic + -url' option. +--module-parser-javascript-auto-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-auto-exports-presence Negative + 'module-parser-javascript-auto-exports + -presence' option. +--module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-auto-expr-context-critical Negative + 'module-parser-javascript-auto-expr-co + ntext-critical' option. +--module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-recursive Negative + 'module-parser-javascript-auto-expr-co + ntext-recursive' option. +--module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-reg-exp Negative + 'module-parser-javascript-auto-expr-co + ntext-reg-exp' option. +--module-parser-javascript-auto-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-auto-harmony Negative + 'module-parser-javascript-auto-harmony + ' option. +--module-parser-javascript-auto-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-auto-import Negative + 'module-parser-javascript-auto-import' + option. +--module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-auto-import-exports-presence Negative + 'module-parser-javascript-auto-import- + exports-presence' option. +--module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-auto-import-meta Negative + 'module-parser-javascript-auto-import- + meta' option. +--module-parser-javascript-auto-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-auto-import-meta-context Negative + 'module-parser-javascript-auto-import- + meta-context' option. +--no-module-parser-javascript-auto-node Negative + 'module-parser-javascript-auto-node' + option. +--module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-auto-node-dirname Negative + 'module-parser-javascript-auto-node-di + rname' option. +--module-parser-javascript-auto-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-auto-node-filename Negative + 'module-parser-javascript-auto-node-fi + lename' option. +--module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-auto-node-global Negative + 'module-parser-javascript-auto-node-gl + obal' option. +--module-parser-javascript-auto-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-auto-reexport-exports-presence Negative + 'module-parser-javascript-auto-reexpor + t-exports-presence' option. +--module-parser-javascript-auto-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-auto-require-context Negative + 'module-parser-javascript-auto-require + -context' option. +--module-parser-javascript-auto-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-auto-require-ensure Negative + 'module-parser-javascript-auto-require + -ensure' option. +--module-parser-javascript-auto-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-auto-require-include Negative + 'module-parser-javascript-auto-require + -include' option. +--module-parser-javascript-auto-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-auto-require-js Negative + 'module-parser-javascript-auto-require + -js' option. +--module-parser-javascript-auto-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-auto-strict-export-presence Negative + 'module-parser-javascript-auto-strict- + export-presence' option. +--module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-auto-strict-this-context-on-imports Negative + 'module-parser-javascript-auto-strict- + this-context-on-imports' option. +--module-parser-javascript-auto-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-auto-system Negative + 'module-parser-javascript-auto-system' + option. +--module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-auto-unknown-context-critical Negative + 'module-parser-javascript-auto-unknown + -context-critical' option. +--module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-recursive Negative + 'module-parser-javascript-auto-unknown + -context-recursive' option. +--module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-reg-exp Negative + 'module-parser-javascript-auto-unknown + -context-reg-exp' option. +--module-parser-javascript-auto-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-auto-url Negative + 'module-parser-javascript-auto-url' + option. +--module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-auto-worker Negative + 'module-parser-javascript-auto-worker' + option. +--module-parser-javascript-auto-worker-reset Clear all items provided in + 'module.parser.javascript/auto.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-auto-wrapped-context-critical Negative + 'module-parser-javascript-auto-wrapped + -context-critical' option. +--module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-auto-wrapped-context-recursive Negative + 'module-parser-javascript-auto-wrapped + -context-recursive' option. +--module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-amd Negative + 'module-parser-javascript-dynamic-amd' + option. +--module-parser-javascript-dynamic-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-dynamic-browserify Negative + 'module-parser-javascript-dynamic-brow + serify' option. +--module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-dynamic-commonjs Negative + 'module-parser-javascript-dynamic-comm + onjs' option. +--module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-dynamic-commonjs-magic-comments Negative + 'module-parser-javascript-dynamic-comm + onjs-magic-comments' option. +--module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-dynamic-create-require Negative + 'module-parser-javascript-dynamic-crea + te-require' option. +--module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-dynamic-defer-import Negative + 'module-parser-javascript-dynamic-defe + r-import' option. +--module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-dyna + mic-import-fetch-priority' option. +--module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-dyna + mic-import-prefetch' option. +--module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-dyna + mic-import-preload' option. +--module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-dynamic-dynamic-url Negative + 'module-parser-javascript-dynamic-dyna + mic-url' option. +--module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-dynamic-exports-presence Negative + 'module-parser-javascript-dynamic-expo + rts-presence' option. +--module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-dynamic-expr-context-critical Negative + 'module-parser-javascript-dynamic-expr + -context-critical' option. +--module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-recursive Negative + 'module-parser-javascript-dynamic-expr + -context-recursive' option. +--module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-reg-exp Negative + 'module-parser-javascript-dynamic-expr + -context-reg-exp' option. +--module-parser-javascript-dynamic-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-dynamic-harmony Negative + 'module-parser-javascript-dynamic-harm + ony' option. +--module-parser-javascript-dynamic-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-dynamic-import Negative + 'module-parser-javascript-dynamic-impo + rt' option. +--module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-dynamic-import-exports-presence Negative + 'module-parser-javascript-dynamic-impo + rt-exports-presence' option. +--module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-dynamic-import-meta Negative + 'module-parser-javascript-dynamic-impo + rt-meta' option. +--module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-dynamic-import-meta-context Negative + 'module-parser-javascript-dynamic-impo + rt-meta-context' option. +--no-module-parser-javascript-dynamic-node Negative + 'module-parser-javascript-dynamic-node + ' option. +--module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-dynamic-node-dirname Negative + 'module-parser-javascript-dynamic-node + -dirname' option. +--module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-dynamic-node-filename Negative + 'module-parser-javascript-dynamic-node + -filename' option. +--module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-dynamic-node-global Negative + 'module-parser-javascript-dynamic-node + -global' option. +--module-parser-javascript-dynamic-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-dynamic-reexport-exports-presence Negative + 'module-parser-javascript-dynamic-reex + port-exports-presence' option. +--module-parser-javascript-dynamic-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-dynamic-require-context Negative + 'module-parser-javascript-dynamic-requ + ire-context' option. +--module-parser-javascript-dynamic-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-dynamic-require-ensure Negative + 'module-parser-javascript-dynamic-requ + ire-ensure' option. +--module-parser-javascript-dynamic-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-dynamic-require-include Negative + 'module-parser-javascript-dynamic-requ + ire-include' option. +--module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-dynamic-require-js Negative + 'module-parser-javascript-dynamic-requ + ire-js' option. +--module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-dynamic-strict-export-presence Negative + 'module-parser-javascript-dynamic-stri + ct-export-presence' option. +--module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative + 'module-parser-javascript-dynamic-stri + ct-this-context-on-imports' option. +--module-parser-javascript-dynamic-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-dynamic-system Negative + 'module-parser-javascript-dynamic-syst + em' option. +--module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-critical Negative + 'module-parser-javascript-dynamic-unkn + own-context-critical' option. +--module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-recursive Negative + 'module-parser-javascript-dynamic-unkn + own-context-recursive' option. +--module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative + 'module-parser-javascript-dynamic-unkn + own-context-reg-exp' option. +--module-parser-javascript-dynamic-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-dynamic-worker Negative + 'module-parser-javascript-dynamic-work + er' option. +--module-parser-javascript-dynamic-worker-reset Clear all items provided in + 'module.parser.javascript/dynamic.work + er' configuration. Disable or + configure parsing of WebWorker syntax + like new Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-critical Negative + 'module-parser-javascript-dynamic-wrap + ped-context-critical' option. +--module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-recursive Negative + 'module-parser-javascript-dynamic-wrap + ped-context-recursive' option. +--module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-esm-amd Negative + 'module-parser-javascript-esm-amd' + option. +--module-parser-javascript-esm-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-esm-browserify Negative + 'module-parser-javascript-esm-browseri + fy' option. +--module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-esm-commonjs Negative + 'module-parser-javascript-esm-commonjs + ' option. +--module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-esm-commonjs-magic-comments Negative + 'module-parser-javascript-esm-commonjs + -magic-comments' option. +--module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-esm-create-require Negative + 'module-parser-javascript-esm-create-r + equire' option. +--module-parser-javascript-esm-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-esm-defer-import Negative + 'module-parser-javascript-esm-defer-im + port' option. +--module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative + 'module-parser-javascript-esm-dynamic- + import-fetch-priority' option. +--module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-prefetch Negative + 'module-parser-javascript-esm-dynamic- + import-prefetch' option. +--module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-preload Negative + 'module-parser-javascript-esm-dynamic- + import-preload' option. +--module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-esm-dynamic-url Negative + 'module-parser-javascript-esm-dynamic- + url' option. +--module-parser-javascript-esm-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-esm-exports-presence Negative + 'module-parser-javascript-esm-exports- + presence' option. +--module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-esm-expr-context-critical Negative + 'module-parser-javascript-esm-expr-con + text-critical' option. +--module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-recursive Negative + 'module-parser-javascript-esm-expr-con + text-recursive' option. +--module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-reg-exp Negative + 'module-parser-javascript-esm-expr-con + text-reg-exp' option. +--module-parser-javascript-esm-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-esm-harmony Negative + 'module-parser-javascript-esm-harmony' + option. +--module-parser-javascript-esm-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-esm-import Negative + 'module-parser-javascript-esm-import' + option. +--module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-esm-import-exports-presence Negative + 'module-parser-javascript-esm-import-e + xports-presence' option. +--module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-esm-import-meta Negative + 'module-parser-javascript-esm-import-m + eta' option. +--module-parser-javascript-esm-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-esm-import-meta-context Negative + 'module-parser-javascript-esm-import-m + eta-context' option. +--no-module-parser-javascript-esm-node Negative + 'module-parser-javascript-esm-node' + option. +--module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-esm-node-dirname Negative + 'module-parser-javascript-esm-node-dir + name' option. +--module-parser-javascript-esm-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-esm-node-filename Negative + 'module-parser-javascript-esm-node-fil + ename' option. +--module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-esm-node-global Negative + 'module-parser-javascript-esm-node-glo + bal' option. +--module-parser-javascript-esm-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-esm-reexport-exports-presence Negative + 'module-parser-javascript-esm-reexport + -exports-presence' option. +--module-parser-javascript-esm-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-esm-require-context Negative + 'module-parser-javascript-esm-require- + context' option. +--module-parser-javascript-esm-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-esm-require-ensure Negative + 'module-parser-javascript-esm-require- + ensure' option. +--module-parser-javascript-esm-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-esm-require-include Negative + 'module-parser-javascript-esm-require- + include' option. +--module-parser-javascript-esm-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-esm-require-js Negative + 'module-parser-javascript-esm-require- + js' option. +--module-parser-javascript-esm-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-esm-strict-export-presence Negative + 'module-parser-javascript-esm-strict-e + xport-presence' option. +--module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-esm-strict-this-context-on-imports Negative + 'module-parser-javascript-esm-strict-t + his-context-on-imports' option. +--module-parser-javascript-esm-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-esm-system Negative + 'module-parser-javascript-esm-system' + option. +--module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-esm-unknown-context-critical Negative + 'module-parser-javascript-esm-unknown- + context-critical' option. +--module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-recursive Negative + 'module-parser-javascript-esm-unknown- + context-recursive' option. +--module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-reg-exp Negative + 'module-parser-javascript-esm-unknown- + context-reg-exp' option. +--module-parser-javascript-esm-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-esm-url Negative + 'module-parser-javascript-esm-url' + option. +--module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-esm-worker Negative + 'module-parser-javascript-esm-worker' + option. +--module-parser-javascript-esm-worker-reset Clear all items provided in + 'module.parser.javascript/esm.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-esm-wrapped-context-critical Negative + 'module-parser-javascript-esm-wrapped- + context-critical' option. +--module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-esm-wrapped-context-recursive Negative + 'module-parser-javascript-esm-wrapped- + context-recursive' option. +--module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--module-parser-json-exports-depth The depth of json dependency flagged + as \`exportInfo\`. +--module-parser-json-named-exports Allow named exports for json of object + type. +--no-module-parser-json-named-exports Negative + 'module-parser-json-named-exports' + option. +--module-rules-compiler Match the child compiler name. +--module-rules-compiler-not Logical NOT. +--module-rules-dependency Match dependency type. +--module-rules-dependency-not Logical NOT. +--module-rules-enforce Enforce this rule as pre or post step. +--module-rules-exclude Shortcut for resource.exclude. +--module-rules-exclude-not Logical NOT. +--module-rules-extract-source-map Enable/Disable extracting source map. +--no-module-rules-extract-source-map Negative + 'module-rules-extract-source-map' + option. +--module-rules-include Shortcut for resource.include. +--module-rules-include-not Logical NOT. +--module-rules-issuer Match the issuer of the module (The + module pointing to this module). +--module-rules-issuer-not Logical NOT. +--module-rules-issuer-layer Match layer of the issuer of this + module (The module pointing to this + module). +--module-rules-issuer-layer-not Logical NOT. +--module-rules-layer Specifies the layer in which the + module should be placed in. +--module-rules-loader A loader request. +--module-rules-mimetype Match module mimetype when load from + Data URI. +--module-rules-mimetype-not Logical NOT. +--module-rules-real-resource Match the real resource path of the + module. +--module-rules-real-resource-not Logical NOT. +--module-rules-resource Match the resource path of the module. +--module-rules-resource-not Logical NOT. +--module-rules-resource-fragment Match the resource fragment of the + module. +--module-rules-resource-fragment-not Logical NOT. +--module-rules-resource-query Match the resource query of the + module. +--module-rules-resource-query-not Logical NOT. +--module-rules-scheme Match module scheme. +--module-rules-scheme-not Logical NOT. +--module-rules-side-effects Flags a module as with or without side + effects. +--no-module-rules-side-effects Negative 'module-rules-side-effects' + option. +--module-rules-test Shortcut for resource.test. +--module-rules-test-not Logical NOT. +--module-rules-type Module type to use for the module. +--module-rules-use-ident Unique loader options identifier. +--module-rules-use-loader A loader request. +--module-rules-use-options Options passed to a loader. +--module-rules-use A loader request. +--module-rules-reset Clear all items provided in + 'module.rules' configuration. A list + of rules. +--module-strict-export-presence Emit errors instead of warnings when + imported names don't exist in imported + module. Deprecated: This option has + moved to + 'module.parser.javascript.strictExport + Presence'. +--no-module-strict-export-presence Negative + 'module-strict-export-presence' + option. +--module-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. Deprecated: This option has + moved to + 'module.parser.javascript.strictThisCo + ntextOnImports'. +--no-module-strict-this-context-on-imports Negative + 'module-strict-this-context-on-imports + ' option. +--module-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtCritical'. +--no-module-unknown-context-critical Negative + 'module-unknown-context-critical' + option. +--module-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRecursive'. +--no-module-unknown-context-recursive Negative + 'module-unknown-context-recursive' + option. +--module-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRegExp'. +--no-module-unknown-context-reg-exp Negative + 'module-unknown-context-reg-exp' + option. +--module-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtRequest'. +--module-unsafe-cache Cache the resolving of module + requests. +--no-module-unsafe-cache Negative 'module-unsafe-cache' option. +--module-wrapped-context-critical Enable warnings for partial dynamic + dependencies. Deprecated: This option + has moved to + 'module.parser.javascript.wrappedConte + xtCritical'. +--no-module-wrapped-context-critical Negative + 'module-wrapped-context-critical' + option. +--module-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRecursive'. +--no-module-wrapped-context-recursive Negative + 'module-wrapped-context-recursive' + option. +--module-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRegExp'. +--name Name of the configuration. Used when + loading multiple configurations. +--no-node Negative 'node' option. +--node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-node-dirname Negative 'node-dirname' option. +--node-filename [value] Include a polyfill for the + '__filename' variable. +--no-node-filename Negative 'node-filename' option. +--node-global [value] Include a polyfill for the 'global' + variable. +--no-node-global Negative 'node-global' option. +--optimization-avoid-entry-iife Avoid wrapping the entry module in an + IIFE. +--no-optimization-avoid-entry-iife Negative + 'optimization-avoid-entry-iife' + option. +--optimization-check-wasm-types Check for incompatible wasm types when + importing/exporting from/to ESM. +--no-optimization-check-wasm-types Negative + 'optimization-check-wasm-types' + option. +--optimization-chunk-ids Define the algorithm to choose chunk + ids (named: readable ids for better + debugging, deterministic: numeric hash + ids for better long term caching, + size: numeric ids focused on minimal + initial download size, total-size: + numeric ids focused on minimal total + download size, false: no algorithm + used, as custom one can be provided + via plugin). +--no-optimization-chunk-ids Negative 'optimization-chunk-ids' + option. +--optimization-concatenate-modules Concatenate modules when possible to + generate less modules, more efficient + code and enable more optimizations by + the minimizer. +--no-optimization-concatenate-modules Negative + 'optimization-concatenate-modules' + option. +--optimization-emit-on-errors Emit assets even when errors occur. + Critical errors are emitted into the + generated code and will cause errors at stack. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'server' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'server' command using the "--help" option: stdout 1`] = ` -"Usage: webpack serve|server|s [entries...] [options] - -Run the webpack dev server and watch for source file changes while serving. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. - --allowed-hosts Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --allowed-hosts-reset Clear all items provided in 'allowedHosts' configuration. Allows to enumerate the hosts from which access to the dev server are allowed (useful when you are proxying dev server, by default is 'auto'). - --bonjour Allows to broadcasts dev server via ZeroConf networking on start. - --no-bonjour Disallows to broadcasts dev server via ZeroConf networking on start. - --no-client Disables client script. - --client-logging Allows to set log level in the browser. - --client-overlay Enables a full-screen overlay in the browser when there are compiler errors or warnings. - --no-client-overlay Disables the full-screen overlay in the browser when there are compiler errors or warnings. - --client-overlay-errors Enables a full-screen overlay in the browser when there are compiler errors. - --no-client-overlay-errors Disables the full-screen overlay in the browser when there are compiler errors. - --client-overlay-warnings Enables a full-screen overlay in the browser when there are compiler warnings. - --no-client-overlay-warnings Disables the full-screen overlay in the browser when there are compiler warnings. - --client-overlay-runtime-errors Enables a full-screen overlay in the browser when there are uncaught runtime errors. - --no-client-overlay-runtime-errors Disables the full-screen overlay in the browser when there are uncaught runtime errors. - --client-overlay-trusted-types-policy-name The name of a Trusted Types policy for the overlay. Defaults to 'webpack-dev-server#overlay'. - --client-progress [value] Displays compilation progress in the browser. Options include 'linear' and 'circular' for visual indicators. - --no-client-progress Does not display compilation progress in the browser. - --client-reconnect [value] Tells dev-server the number of times it should try to reconnect the client. - --no-client-reconnect Tells dev-server to not to try to reconnect the client. - --client-web-socket-transport Allows to set custom web socket transport to communicate with dev server. - --client-web-socket-url Allows to specify URL to web socket server (useful when you're proxying dev server and client script does not always know where to connect to). - --client-web-socket-url-hostname Tells clients connected to devServer to use the provided hostname. - --client-web-socket-url-pathname Tells clients connected to devServer to use the provided path to connect. - --client-web-socket-url-password Tells clients connected to devServer to use the provided password to authenticate. - --client-web-socket-url-port Tells clients connected to devServer to use the provided port. - --client-web-socket-url-protocol Tells clients connected to devServer to use the provided protocol. - --client-web-socket-url-username Tells clients connected to devServer to use the provided username to authenticate. - --compress Enables gzip compression for everything served. - --no-compress Disables gzip compression for everything served. - --history-api-fallback Allows to proxy requests through a specified index page (by default 'index.html'), useful for Single Page Applications that utilise the HTML5 History API. - --no-history-api-fallback Disallows to proxy requests through a specified index page. - --host Allows to specify a hostname to use. - --hot [value] Enables Hot Module Replacement. - --no-hot Disables Hot Module Replacement. - --ipc [value] Listen to a unix socket. - --live-reload Enables reload/refresh the page(s) when file changes are detected (enabled by default). - --no-live-reload Disables reload/refresh the page(s) when file changes are detected (enabled by default). - --open [value...] Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --no-open Does not open the default browser. - --open-target Opens specified page in browser. - --open-app-name Open specified browser. - --open-reset Clear all items provided in 'open' configuration. Allows to configure dev server to open the browser(s) and page(s) after server had been started (set it to true to open your default browser). - --open-target-reset Clear all items provided in 'open.target' configuration. Opens specified page in browser. - --open-app-name-reset Clear all items provided in 'open.app.name' configuration. Open specified browser. - --port Allows to specify a port to use. - --server-type Allows to set server and options (by default 'http'). - --server-options-passphrase Passphrase for a pfx file. - --server-options-request-cert Request for an SSL certificate. - --no-server-options-request-cert Does not request for an SSL certificate. - --server-options-ca Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-ca-reset Clear all items provided in 'server.options.ca' configuration. Path to an SSL CA certificate or content of an SSL CA certificate. - --server-options-cert Path to an SSL certificate or content of an SSL certificate. - --server-options-cert-reset Clear all items provided in 'server.options.cert' configuration. Path to an SSL certificate or content of an SSL certificate. - --server-options-crl Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-crl-reset Clear all items provided in 'server.options.crl' configuration. Path to PEM formatted CRLs (Certificate Revocation Lists) or content of PEM formatted CRLs (Certificate Revocation Lists). - --server-options-key Path to an SSL key or content of an SSL key. - --server-options-key-reset Clear all items provided in 'server.options.key' configuration. Path to an SSL key or content of an SSL key. - --server-options-pfx Path to an SSL pfx file or content of an SSL pfx file. - --server-options-pfx-reset Clear all items provided in 'server.options.pfx' configuration. Path to an SSL pfx file or content of an SSL pfx file. - --static [value...] Allows to configure options for serving static files from directory (by default 'public' directory). - --no-static Disallows to configure options for serving static files from directory. - --static-directory Directory for static contents. - --static-public-path The static files will be available in the browser under this public path. - --static-serve-index Tells dev server to use serveIndex middleware when enabled. - --no-static-serve-index Does not tell dev server to use serveIndex middleware. - --static-watch Watches for files in static content directory. - --no-static-watch Does not watch for files in static content directory. - --static-reset Clear all items provided in 'static' configuration. Allows to configure options for serving static files from directory (by default 'public' directory). - --static-public-path-reset Clear all items provided in 'static.publicPath' configuration. The static files will be available in the browser under this public path. - --watch-files Allows to configure list of globs/directories/files to watch for file changes. - --watch-files-reset Clear all items provided in 'watchFiles' configuration. Allows to configure list of globs/directories/files to watch for file changes. - --no-web-socket-server Disallows to set web socket server and options. - --web-socket-server-type Allows to set web socket server and options (by default 'ws'). - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment + to build for. An array of environments + to build for all of them when + possible. +-w, --watch Enter watch mode, which rebuilds on + file change. +--watch-options-stdin Stop watching when stdin stream has + ended. +--allowed-hosts Allows to enumerate the hosts from + which access to the dev server are + allowed (useful when you are proxying + dev server, by default is 'auto'). +--allowed-hosts-reset Clear all items provided in + 'allowedHosts' configuration. Allows + to enumerate the hosts from which + access to the dev server are allowed + (useful when you are proxying dev + server, by default is 'auto'). +--bonjour Allows to broadcasts dev server via + ZeroConf networking on start. +--no-bonjour Disallows to broadcasts dev server via + ZeroConf networking on start. +--no-client Disables client script. +--client-logging Allows to set log level in the + browser. +--client-overlay Enables a full-screen overlay in the + browser when there are compiler errors + or warnings. +--no-client-overlay Disables the full-screen overlay in + the browser when there are compiler + errors or warnings. +--client-overlay-errors Enables a full-screen overlay in the + browser when there are compiler + errors. +--no-client-overlay-errors Disables the full-screen overlay in + the browser when there are compiler + errors. +--client-overlay-warnings Enables a full-screen overlay in the + browser when there are compiler + warnings. +--no-client-overlay-warnings Disables the full-screen overlay in + the browser when there are compiler + warnings. +--client-overlay-runtime-errors Enables a full-screen overlay in the + browser when there are uncaught + runtime errors. +--no-client-overlay-runtime-errors Disables the full-screen overlay in + the browser when there are uncaught + runtime errors. +--client-overlay-trusted-types-policy-name The name of a Trusted Types policy for + the overlay. Defaults to + 'webpack-dev-server#overlay'. +--client-progress [value] Displays compilation progress in the + browser. Options include 'linear' and + 'circular' for visual indicators. +--no-client-progress Does not display compilation progress + in the browser. +--client-reconnect [value] Tells dev-server the number of times + it should try to reconnect the client. +--no-client-reconnect Tells dev-server to not to try to + reconnect the client. +--client-web-socket-transport Allows to set custom web socket + transport to communicate with dev + server. +--client-web-socket-url Allows to specify URL to web socket + server (useful when you're proxying + dev server and client script does not + always know where to connect to). +--client-web-socket-url-hostname Tells clients connected to devServer + to use the provided hostname. +--client-web-socket-url-pathname Tells clients connected to devServer + to use the provided path to connect. +--client-web-socket-url-password Tells clients connected to devServer + to use the provided password to + authenticate. +--client-web-socket-url-port Tells clients connected to devServer + to use the provided port. +--client-web-socket-url-protocol Tells clients connected to devServer + to use the provided protocol. +--client-web-socket-url-username Tells clients connected to devServer + to use the provided username to + authenticate. +--compress Enables gzip compression for + everything served. +--no-compress Disables gzip compression for + everything served. +--history-api-fallback Allows to proxy requests through a + specified index page (by default + 'index.html'), useful for Single Page + Applications that utilise the HTML5 + History API. +--no-history-api-fallback Disallows to proxy requests through a + specified index page. +--host Allows to specify a hostname to use. +--hot [value] Enables Hot Module Replacement. +--no-hot Disables Hot Module Replacement. +--ipc [value] Listen to a unix socket. +--live-reload Enables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--no-live-reload Disables reload/refresh the page(s) + when file changes are detected + (enabled by default). +--open [value...] Allows to configure dev server to open + the browser(s) and page(s) after + server had been started (set it to + true to open your default browser). +--no-open Does not open the default browser. +--open-target Opens specified page in browser. +--open-app-name Open specified browser. +--open-reset Clear all items provided in 'open' + configuration. Allows to configure dev + server to open the browser(s) and + page(s) after server had been started + (set it to true to open your default + browser). +--open-target-reset Clear all items provided in + 'open.target' configuration. Opens + specified page in browser. +--open-app-name-reset Clear all items provided in + 'open.app.name' configuration. Open + specified browser. +--port Allows to specify a port to use. +--server-type Allows to set server and options (by + default 'http'). +--server-options-passphrase Passphrase for a pfx file. +--server-options-request-cert Request for an SSL certificate. +--no-server-options-request-cert Does not request for an SSL + certificate. +--server-options-ca Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-ca-reset Clear all items provided in + 'server.options.ca' configuration. + Path to an SSL CA certificate or + content of an SSL CA certificate. +--server-options-cert Path to an SSL certificate or content + of an SSL certificate. +--server-options-cert-reset Clear all items provided in + 'server.options.cert' configuration. + Path to an SSL certificate or content + of an SSL certificate. +--server-options-crl Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-crl-reset Clear all items provided in + 'server.options.crl' configuration. + Path to PEM formatted CRLs + (Certificate Revocation Lists) or + content of PEM formatted CRLs + (Certificate Revocation Lists). +--server-options-key Path to an SSL key or content of an + SSL key. +--server-options-key-reset Clear all items provided in + 'server.options.key' configuration. + Path to an SSL key or content of an + SSL key. +--server-options-pfx Path to an SSL pfx file or content of + an SSL pfx file. +--server-options-pfx-reset Clear all items provided in + 'server.options.pfx' configuration. + Path to an SSL pfx file or content of + an SSL pfx file. +--static [value...] Allows to configure options for + serving static files from directory + (by default 'public' directory). +--no-static Disallows to configure options for + serving static files from directory. +--static-directory Directory for static contents. +--static-public-path The static files will be available in + the browser under this public path. +--static-serve-index Tells dev server to use serveIndex + middleware when enabled. +--no-static-serve-index Does not tell dev server to use + serveIndex middleware. +--static-watch Watches for files in static content + directory. +--no-static-watch Does not watch for files in static + content directory. +--static-reset Clear all items provided in 'static' + configuration. Allows to configure + options for serving static files from + directory (by default 'public' + directory). +--static-public-path-reset Clear all items provided in + 'static.publicPath' configuration. The + static files will be available in the + browser under this public path. +--watch-files Allows to configure list of + globs/directories/files to watch for + file changes. +--watch-files-reset Clear all items provided in + 'watchFiles' configuration. Allows to + configure list of + globs/directories/files to watch for + file changes. +--no-web-socket-server Disallows to set web socket server and + options. +--web-socket-server-type Allows to set web socket server and + options (by default 'ws'). +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help serve --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 't' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 't' command using command syntax: stdout 1`] = ` -"Usage: webpack configtest|t [config-path] +"Validate a webpack configuration. -Validate a webpack configuration. +Usage: webpack configtest|t [options] [config-path] -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Options +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' + and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help configtest --verbose' to see all available options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 't' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 't' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack configtest|t [config-path] +"Validate a webpack configuration. -Validate a webpack configuration. +Usage: webpack configtest|t [options] [config-path] -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Options +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' + and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack help configtest --verbose' to see all available options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 't' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 't' command using the "--help" option: stdout 1`] = ` -"Usage: webpack configtest|t [config-path] +"Validate a webpack configuration. -Validate a webpack configuration. +Usage: webpack configtest|t [options] [config-path] -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Options +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' + and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack help configtest --verbose' to see all available options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'w' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 'w' command using command syntax: stdout 1`] = ` -"Usage: webpack watch|w [entries...] [options] - -Run webpack and watch for files changes. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack and watch for files changes. + +Usage: webpack watch|w [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help watch --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'w' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 'w' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack watch|w [entries...] [options] - -Run webpack and watch for files changes. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - --no-amd Negative 'amd' option. - --bail Report the first error as a hard error instead of tolerating it. - --no-bail Negative 'bail' option. - --cache Enable in memory caching. Disable caching. - --no-cache Negative 'cache' option. - --cache-cache-unaffected Additionally cache computation of modules that are unchanged and reference only unchanged modules. - --no-cache-cache-unaffected Negative 'cache-cache-unaffected' option. - --cache-max-generations Number of generations unused cache entries stay in memory cache +"Run webpack and watch for files changes. + +Usage: webpack watch|w [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +--no-amd Negative 'amd' option. +--bail Report the first error as a hard error + instead of tolerating it. +--no-bail Negative 'bail' option. +--cache Enable in memory caching. Disable + caching. +--no-cache Negative 'cache' option. +--cache-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules. +--no-cache-cache-unaffected Negative 'cache-cache-unaffected' + option. +--cache-max-generations Number of generations unused cache + entries stay in memory cache at + minimum (1 = may be removed after + unused for a single compilation, ..., + Infinity: kept forever). +--cache-type In memory caching. Filesystem caching. +--cache-allow-collecting-memory Allows to collect unused memory + allocated during deserialization. This + requires copying data into smaller + buffers and has a performance cost. +--no-cache-allow-collecting-memory Negative + 'cache-allow-collecting-memory' + option. +--cache-cache-directory Base directory for the cache (defaults + to node_modules/.cache/webpack). +--cache-cache-location Locations for the cache (defaults to + cacheDirectory / name). +--cache-compression Compression type used for the cache + files. +--no-cache-compression Negative 'cache-compression' option. +--cache-hash-algorithm Algorithm used for generation the hash + (see node.js crypto package). +--cache-idle-timeout Time in ms after which idle period the + cache storing should happen. +--cache-idle-timeout-after-large-changes Time in ms after which idle period the + cache storing should happen when + larger changes has been detected + (cumulative build time > 2 x avg cache + store time). +--cache-idle-timeout-for-initial-store Time in ms after which idle period the + initial cache storing should happen. +--cache-immutable-paths A RegExp matching an immutable + directory (usually a package manager + cache directory, including the tailing + slash) A path to an immutable + directory (usually a package manager + cache directory). +--cache-immutable-paths-reset Clear all items provided in + 'cache.immutablePaths' configuration. + List of paths that are managed by a + package manager and contain a version + or hash in its path so all files are + immutable. +--cache-managed-paths A RegExp matching a managed directory + (usually a node_modules directory, + including the tailing slash) A path to + a managed directory (usually a + node_modules directory). +--cache-managed-paths-reset Clear all items provided in + 'cache.managedPaths' configuration. + List of paths that are managed by a + package manager and can be trusted to + not be modified otherwise. +--cache-max-age Time for which unused cache entries + stay in the filesystem cache at + minimum (in milliseconds). +--cache-max-memory-generations Number of generations unused cache + entries stay in memory cache at + minimum (0 = no memory cache used, 1 = + may be removed after unused for a + single compilation, ..., Infinity: + kept forever). Cache entries will be + deserialized from disk when removed + from memory cache. +--cache-memory-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules in + memory. +--no-cache-memory-cache-unaffected Negative + 'cache-memory-cache-unaffected' + option. +--cache-name Name for the cache. Different names + will lead to different coexisting + caches. +--cache-profile Track and log detailed timing + information for individual cache + items. +--no-cache-profile Negative 'cache-profile' option. +--cache-readonly Enable/disable readonly mode. +--no-cache-readonly Negative 'cache-readonly' option. +--cache-store When to store data to the filesystem. + (pack: Store data when compiler is + idle in a single file). +--cache-version Version of the cache data. Different + versions won't allow to reuse the + cache and override existing content. + Update the version when config changed + in a way which doesn't allow to reuse + cache. This will invalidate the cache. +--context The base directory (absolute path!) + for resolving the \`entry\` option. If + \`output.pathinfo\` is set, the included + pathinfo is shortened to this + directory. +--dependencies References to another configuration to + depend on. +--dependencies-reset Clear all items provided in + 'dependencies' configuration. + References to other configurations to + depend on. +--no-dev-server Negative 'dev-server' option. +--devtool-type Which asset type should receive this + devtool value. +--devtool-use A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool-use Negative 'devtool-use' option. +--devtool-reset Clear all items provided in 'devtool' + configuration. A developer tool to + enhance debugging (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--dotenv Enable Dotenv plugin with default + options. +--no-dotenv Negative 'dotenv' option. +--dotenv-dir The directory from which .env files + are loaded. Can be an absolute path, + false will disable the .env file + loading. +--no-dotenv-dir Negative 'dotenv-dir' option. +--dotenv-prefix A prefix that environment variables + must start with to be exposed. +--dotenv-prefix-reset Clear all items provided in + 'dotenv.prefix' configuration. Only + expose environment variables that + start with these prefixes. Defaults to + 'WEBPACK_'. +--dotenv-template A template pattern for .env file + names. +--dotenv-template-reset Clear all items provided in + 'dotenv.template' configuration. + Template patterns for .env file names. + Use [mode] as placeholder for the + webpack mode. Defaults to ['.env', + '.env.local', '.env.[mode]', + '.env.[mode].local']. +--entry A module that is loaded upon startup. + Only the last one is exported. +--entry-reset Clear all items provided in 'entry' + configuration. All modules are loaded + upon startup. The last one is + exported. +--experiments-async-web-assembly Support WebAssembly as asynchronous + EcmaScript Module. +--no-experiments-async-web-assembly Negative + 'experiments-async-web-assembly' + option. +--experiments-back-compat Enable backward-compat layer with + deprecation warnings for many webpack + 4 APIs. +--no-experiments-back-compat Negative 'experiments-back-compat' + option. +--experiments-build-http-allowed-uris Allowed URI pattern. Allowed URI + (resp. the beginning of it). +--experiments-build-http-allowed-uris-reset Clear all items provided in + 'experiments.buildHttp.allowedUris' + configuration. List of allowed URIs + (resp. the beginning of them). +--experiments-build-http-cache-location Location where resource content is + stored for lockfile entries. It's also + possible to disable storing by passing + false. +--no-experiments-build-http-cache-location Negative + 'experiments-build-http-cache-location + ' option. +--experiments-build-http-frozen When set, anything that would lead to + a modification of the lockfile or any + resource content, will result in an + error. +--no-experiments-build-http-frozen Negative + 'experiments-build-http-frozen' + option. +--experiments-build-http-lockfile-location Location of the lockfile. +--experiments-build-http-proxy Proxy configuration, which can be used + to specify a proxy server to use for + HTTP requests. +--experiments-build-http-upgrade When set, resources of existing + lockfile entries will be fetched and + entries will be upgraded when resource + content has changed. +--no-experiments-build-http-upgrade Negative + 'experiments-build-http-upgrade' + option. +--experiments-cache-unaffected Enable additional in memory caching of + modules that are unchanged and + reference only unchanged modules. +--no-experiments-cache-unaffected Negative + 'experiments-cache-unaffected' option. +--experiments-css Enable css support. +--no-experiments-css Negative 'experiments-css' option. +--experiments-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-experiments-defer-import Negative 'experiments-defer-import' + option. +--experiments-future-defaults Apply defaults of next major version. +--no-experiments-future-defaults Negative 'experiments-future-defaults' + option. +--experiments-lazy-compilation Compile entrypoints and import()s only + when they are accessed. +--no-experiments-lazy-compilation Negative + 'experiments-lazy-compilation' option. +--experiments-lazy-compilation-backend-client A custom client. +--experiments-lazy-compilation-backend-listen A port. +--experiments-lazy-compilation-backend-listen-host A host. +--experiments-lazy-compilation-backend-listen-port A port. +--experiments-lazy-compilation-backend-protocol Specifies the protocol the client + should use to connect to the server. +--experiments-lazy-compilation-entries Enable/disable lazy compilation for + entries. +--no-experiments-lazy-compilation-entries Negative + 'experiments-lazy-compilation-entries' + option. +--experiments-lazy-compilation-imports Enable/disable lazy compilation for + import() modules. +--no-experiments-lazy-compilation-imports Negative + 'experiments-lazy-compilation-imports' + option. +--experiments-lazy-compilation-test Specify which entrypoints or + import()ed modules should be lazily + compiled. This is matched with the + imported module and not the entrypoint + name. +--experiments-output-module Allow output javascript files as + module source type. +--no-experiments-output-module Negative 'experiments-output-module' + option. +--experiments-sync-web-assembly Support WebAssembly as synchronous + EcmaScript Module (outdated). +--no-experiments-sync-web-assembly Negative + 'experiments-sync-web-assembly' + option. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--extends-reset Clear all items provided in 'extends' + configuration. Extend configuration + from another configuration (only works + when using webpack-cli). +--externals Every matched dependency becomes + external. An exact matched dependency + becomes external. The same string is + used as external dependency. +--externals-reset Clear all items provided in + 'externals' configuration. Specify + dependencies that shouldn't be + resolved by webpack, but should become + dependencies of the resulting bundle. + The kind of the dependency depends on + \`output.libraryTarget\`. +--externals-presets-electron Treat common electron built-in modules + in main and preload context like + 'electron', 'ipc' or 'shell' as + external and load them via require() + when used. +--no-externals-presets-electron Negative 'externals-presets-electron' + option. +--externals-presets-electron-main Treat electron built-in modules in the + main context like 'app', 'ipc-main' or + 'shell' as external and load them via + require() when used. +--no-externals-presets-electron-main Negative + 'externals-presets-electron-main' + option. +--externals-presets-electron-preload Treat electron built-in modules in the + preload context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-preload Negative + 'externals-presets-electron-preload' + option. +--externals-presets-electron-renderer Treat electron built-in modules in the + renderer context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-renderer Negative + 'externals-presets-electron-renderer' + option. +--externals-presets-node Treat node.js built-in modules like + fs, path or vm as external and load + them via require() when used. +--no-externals-presets-node Negative 'externals-presets-node' + option. +--externals-presets-nwjs Treat NW.js legacy nw.gui module as + external and load it via require() + when used. +--no-externals-presets-nwjs Negative 'externals-presets-nwjs' + option. +--externals-presets-web Treat references to 'http(s)://...' + and 'std:...' as external and load + them via import when used (Note that + this changes execution order as + externals are executed before any + other code in the chunk). +--no-externals-presets-web Negative 'externals-presets-web' + option. +--externals-presets-web-async Treat references to 'http(s)://...' + and 'std:...' as external and load + them via async import() when used + (Note that this external type is an + async module, which has various + effects on the execution). +--no-externals-presets-web-async Negative 'externals-presets-web-async' + option. +--externals-type Specifies the default type of + externals ('amd*', 'umd*', 'system' + and 'jsonp' depend on + output.libraryTarget set to the same + value). +--ignore-warnings A RegExp to select the warning + message. +--ignore-warnings-file A RegExp to select the origin file for + the warning. +--ignore-warnings-message A RegExp to select the warning + message. +--ignore-warnings-module A RegExp to select the origin module + for the warning. +--ignore-warnings-reset Clear all items provided in + 'ignoreWarnings' configuration. Ignore + specific warnings. +--infrastructure-logging-append-only Only appends lines to the output. + Avoids updating existing output e. g. + for status messages. This option is + only used when no custom console is + provided. +--no-infrastructure-logging-append-only Negative + 'infrastructure-logging-append-only' + option. +--infrastructure-logging-colors Enables/Disables colorful output. This + option is only used when no custom + console is provided. +--no-infrastructure-logging-colors Negative + 'infrastructure-logging-colors' + option. +--infrastructure-logging-debug [value...] Enable/Disable debug logging for all + loggers. Enable debug logging for + specific loggers. +--no-infrastructure-logging-debug Negative + 'infrastructure-logging-debug' option. +--infrastructure-logging-debug-reset Clear all items provided in + 'infrastructureLogging.debug' + configuration. Enable debug logging + for specific loggers. +--infrastructure-logging-level Log level. +--mode Enable production optimizations or + development hints. +--module-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-expr-context-critical Negative + 'module-expr-context-critical' option. +--module-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. Deprecated: + This option has moved to + 'module.parser.javascript.exprContextR + ecursive'. +--no-module-expr-context-recursive Negative + 'module-expr-context-recursive' + option. +--module-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.exprContextR + egExp'. +--no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' + option. +--module-expr-context-request Set the default request for full + dynamic dependencies. Deprecated: This + option has moved to + 'module.parser.javascript.exprContextR + equest'. +--module-generator-asset-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-binary Negative + 'module-generator-asset-binary' + option. +--module-generator-asset-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-data-url-encoding Negative + 'module-generator-asset-data-url-encod + ing' option. +--module-generator-asset-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-emit Negative 'module-generator-asset-emit' + option. +--module-generator-asset-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-asset-inline-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-inline-binary Negative + 'module-generator-asset-inline-binary' + option. +--module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-inline-data-url-encoding Negative + 'module-generator-asset-inline-data-ur + l-encoding' option. +--module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-resource-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-resource-binary Negative + 'module-generator-asset-resource-binar + y' option. +--module-generator-asset-resource-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-resource-emit Negative + 'module-generator-asset-resource-emit' + option. +--module-generator-asset-resource-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-resource-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-resource-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-css-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-es-module Negative + 'module-generator-css-es-module' + option. +--module-generator-css-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-exports-only Negative + 'module-generator-css-exports-only' + option. +--module-generator-css-auto-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-auto-es-module Negative + 'module-generator-css-auto-es-module' + option. +--module-generator-css-auto-export-type Configure how CSS content is exported + as default. +--module-generator-css-auto-exports-convention Specifies the convention of exported + names. +--module-generator-css-auto-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-auto-exports-only Negative + 'module-generator-css-auto-exports-onl + y' option. +--module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-auto-local-ident-name Configure the generated local ident + name. +--module-generator-css-global-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-global-es-module Negative + 'module-generator-css-global-es-module + ' option. +--module-generator-css-global-export-type Configure how CSS content is exported + as default. +--module-generator-css-global-exports-convention Specifies the convention of exported + names. +--module-generator-css-global-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-global-exports-only Negative + 'module-generator-css-global-exports-o + nly' option. +--module-generator-css-global-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-global-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-global-local-ident-name Configure the generated local ident + name. +--module-generator-css-module-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-module-es-module Negative + 'module-generator-css-module-es-module + ' option. +--module-generator-css-module-export-type Configure how CSS content is exported + as default. +--module-generator-css-module-exports-convention Specifies the convention of exported + names. +--module-generator-css-module-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-module-exports-only Negative + 'module-generator-css-module-exports-o + nly' option. +--module-generator-css-module-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-module-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-module-local-ident-name Configure the generated local ident + name. +--module-generator-json-json-parse Use \`JSON.parse\` when the JSON string + is longer than 20 characters. +--no-module-generator-json-json-parse Negative + 'module-generator-json-json-parse' + option. +--module-no-parse A regular expression, when matched the + module is not parsed. An absolute + path, when the module starts with this + path it is not parsed. +--module-no-parse-reset Clear all items provided in + 'module.noParse' configuration. Don't + parse files matching. It's matched + against the full resolved request. +--module-parser-asset-data-url-condition-max-size Maximum size of asset that should be + inline as modules. Default: 8kb. +--module-parser-css-export-type Configure how CSS content is exported + as default. +--module-parser-css-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-import Negative 'module-parser-css-import' + option. +--module-parser-css-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-named-exports Negative + 'module-parser-css-named-exports' + option. +--module-parser-css-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-url Negative 'module-parser-css-url' + option. +--module-parser-css-auto-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-auto-animation Negative + 'module-parser-css-auto-animation' + option. +--module-parser-css-auto-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-auto-container Negative + 'module-parser-css-auto-container' + option. +--module-parser-css-auto-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-auto-custom-idents Negative + 'module-parser-css-auto-custom-idents' + option. +--module-parser-css-auto-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-auto-dashed-idents Negative + 'module-parser-css-auto-dashed-idents' + option. +--module-parser-css-auto-export-type Configure how CSS content is exported + as default. +--module-parser-css-auto-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-auto-function Negative + 'module-parser-css-auto-function' + option. +--module-parser-css-auto-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' + option. +--module-parser-css-auto-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-auto-import Negative + 'module-parser-css-auto-import' + option. +--module-parser-css-auto-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-auto-named-exports Negative + 'module-parser-css-auto-named-exports' + option. +--module-parser-css-auto-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' + option. +--module-parser-css-global-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-global-animation Negative + 'module-parser-css-global-animation' + option. +--module-parser-css-global-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-global-container Negative + 'module-parser-css-global-container' + option. +--module-parser-css-global-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-global-custom-idents Negative + 'module-parser-css-global-custom-ident + s' option. +--module-parser-css-global-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-global-dashed-idents Negative + 'module-parser-css-global-dashed-ident + s' option. +--module-parser-css-global-export-type Configure how CSS content is exported + as default. +--module-parser-css-global-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-global-function Negative + 'module-parser-css-global-function' + option. +--module-parser-css-global-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-global-grid Negative + 'module-parser-css-global-grid' + option. +--module-parser-css-global-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-global-import Negative + 'module-parser-css-global-import' + option. +--module-parser-css-global-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-global-named-exports Negative + 'module-parser-css-global-named-export + s' option. +--module-parser-css-global-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-global-url Negative + 'module-parser-css-global-url' option. +--module-parser-css-module-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-module-animation Negative + 'module-parser-css-module-animation' + option. +--module-parser-css-module-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-module-container Negative + 'module-parser-css-module-container' + option. +--module-parser-css-module-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-module-custom-idents Negative + 'module-parser-css-module-custom-ident + s' option. +--module-parser-css-module-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-module-dashed-idents Negative + 'module-parser-css-module-dashed-ident + s' option. +--module-parser-css-module-export-type Configure how CSS content is exported + as default. +--module-parser-css-module-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-module-function Negative + 'module-parser-css-module-function' + option. +--module-parser-css-module-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-module-grid Negative + 'module-parser-css-module-grid' + option. +--module-parser-css-module-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-module-import Negative + 'module-parser-css-module-import' + option. +--module-parser-css-module-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-module-named-exports Negative + 'module-parser-css-module-named-export + s' option. +--module-parser-css-module-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-module-url Negative + 'module-parser-css-module-url' option. +--no-module-parser-javascript-amd Negative + 'module-parser-javascript-amd' option. +--module-parser-javascript-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-browserify Negative + 'module-parser-javascript-browserify' + option. +--module-parser-javascript-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-commonjs Negative + 'module-parser-javascript-commonjs' + option. +--module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-commonjs-magic-comments Negative + 'module-parser-javascript-commonjs-mag + ic-comments' option. +--module-parser-javascript-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-create-require Negative + 'module-parser-javascript-create-requi + re' option. +--module-parser-javascript-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-defer-import Negative + 'module-parser-javascript-defer-import + ' option. +--module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-impo + rt-fetch-priority' option. +--module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-impo + rt-prefetch' option. +--module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-impo + rt-preload' option. +--module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. + Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-dynamic-url Negative + 'module-parser-javascript-dynamic-url' + option. +--module-parser-javascript-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-exports-presence Negative + 'module-parser-javascript-exports-pres + ence' option. +--module-parser-javascript-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-expr-context-critical Negative + 'module-parser-javascript-expr-context + -critical' option. +--module-parser-javascript-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-expr-context-recursive Negative + 'module-parser-javascript-expr-context + -recursive' option. +--module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-expr-context-reg-exp Negative + 'module-parser-javascript-expr-context + -reg-exp' option. +--module-parser-javascript-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-harmony Negative + 'module-parser-javascript-harmony' + option. +--module-parser-javascript-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-import Negative + 'module-parser-javascript-import' + option. +--module-parser-javascript-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-import-exports-presence Negative + 'module-parser-javascript-import-expor + ts-presence' option. +--module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-import-meta Negative + 'module-parser-javascript-import-meta' + option. +--module-parser-javascript-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-import-meta-context Negative + 'module-parser-javascript-import-meta- + context' option. +--no-module-parser-javascript-node Negative + 'module-parser-javascript-node' + option. +--module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-node-dirname Negative + 'module-parser-javascript-node-dirname + ' option. +--module-parser-javascript-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-node-filename Negative + 'module-parser-javascript-node-filenam + e' option. +--module-parser-javascript-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-node-global Negative + 'module-parser-javascript-node-global' + option. +--module-parser-javascript-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-reexport-exports-presence Negative + 'module-parser-javascript-reexport-exp + orts-presence' option. +--module-parser-javascript-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-require-context Negative + 'module-parser-javascript-require-cont + ext' option. +--module-parser-javascript-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-require-ensure Negative + 'module-parser-javascript-require-ensu + re' option. +--module-parser-javascript-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-require-include Negative + 'module-parser-javascript-require-incl + ude' option. +--module-parser-javascript-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-require-js Negative + 'module-parser-javascript-require-js' + option. +--module-parser-javascript-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-strict-export-presence Negative + 'module-parser-javascript-strict-expor + t-presence' option. +--module-parser-javascript-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-strict-this-context-on-imports Negative + 'module-parser-javascript-strict-this- + context-on-imports' option. +--module-parser-javascript-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-system Negative + 'module-parser-javascript-system' + option. +--module-parser-javascript-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-unknown-context-critical Negative + 'module-parser-javascript-unknown-cont + ext-critical' option. +--module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-recursive Negative + 'module-parser-javascript-unknown-cont + ext-recursive' option. +--module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-reg-exp Negative + 'module-parser-javascript-unknown-cont + ext-reg-exp' option. +--module-parser-javascript-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-url Negative + 'module-parser-javascript-url' option. +--module-parser-javascript-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-worker Negative + 'module-parser-javascript-worker' + option. +--module-parser-javascript-worker-reset Clear all items provided in + 'module.parser.javascript.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-wrapped-context-critical Negative + 'module-parser-javascript-wrapped-cont + ext-critical' option. +--module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-wrapped-context-recursive Negative + 'module-parser-javascript-wrapped-cont + ext-recursive' option. +--module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-auto-amd Negative + 'module-parser-javascript-auto-amd' + option. +--module-parser-javascript-auto-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-auto-browserify Negative + 'module-parser-javascript-auto-browser + ify' option. +--module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-auto-commonjs Negative + 'module-parser-javascript-auto-commonj + s' option. +--module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-auto-commonjs-magic-comments Negative + 'module-parser-javascript-auto-commonj + s-magic-comments' option. +--module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-auto-create-require Negative + 'module-parser-javascript-auto-create- + require' option. +--module-parser-javascript-auto-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-auto-defer-import Negative + 'module-parser-javascript-auto-defer-i + mport' option. +--module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative + 'module-parser-javascript-auto-dynamic + -import-fetch-priority' option. +--module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-prefetch Negative + 'module-parser-javascript-auto-dynamic + -import-prefetch' option. +--module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-preload Negative + 'module-parser-javascript-auto-dynamic + -import-preload' option. +--module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-auto-dynamic-url Negative + 'module-parser-javascript-auto-dynamic + -url' option. +--module-parser-javascript-auto-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-auto-exports-presence Negative + 'module-parser-javascript-auto-exports + -presence' option. +--module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-auto-expr-context-critical Negative + 'module-parser-javascript-auto-expr-co + ntext-critical' option. +--module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-recursive Negative + 'module-parser-javascript-auto-expr-co + ntext-recursive' option. +--module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-reg-exp Negative + 'module-parser-javascript-auto-expr-co + ntext-reg-exp' option. +--module-parser-javascript-auto-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-auto-harmony Negative + 'module-parser-javascript-auto-harmony + ' option. +--module-parser-javascript-auto-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-auto-import Negative + 'module-parser-javascript-auto-import' + option. +--module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-auto-import-exports-presence Negative + 'module-parser-javascript-auto-import- + exports-presence' option. +--module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-auto-import-meta Negative + 'module-parser-javascript-auto-import- + meta' option. +--module-parser-javascript-auto-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-auto-import-meta-context Negative + 'module-parser-javascript-auto-import- + meta-context' option. +--no-module-parser-javascript-auto-node Negative + 'module-parser-javascript-auto-node' + option. +--module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-auto-node-dirname Negative + 'module-parser-javascript-auto-node-di + rname' option. +--module-parser-javascript-auto-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-auto-node-filename Negative + 'module-parser-javascript-auto-node-fi + lename' option. +--module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-auto-node-global Negative + 'module-parser-javascript-auto-node-gl + obal' option. +--module-parser-javascript-auto-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-auto-reexport-exports-presence Negative + 'module-parser-javascript-auto-reexpor + t-exports-presence' option. +--module-parser-javascript-auto-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-auto-require-context Negative + 'module-parser-javascript-auto-require + -context' option. +--module-parser-javascript-auto-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-auto-require-ensure Negative + 'module-parser-javascript-auto-require + -ensure' option. +--module-parser-javascript-auto-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-auto-require-include Negative + 'module-parser-javascript-auto-require + -include' option. +--module-parser-javascript-auto-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-auto-require-js Negative + 'module-parser-javascript-auto-require + -js' option. +--module-parser-javascript-auto-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-auto-strict-export-presence Negative + 'module-parser-javascript-auto-strict- + export-presence' option. +--module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-auto-strict-this-context-on-imports Negative + 'module-parser-javascript-auto-strict- + this-context-on-imports' option. +--module-parser-javascript-auto-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-auto-system Negative + 'module-parser-javascript-auto-system' + option. +--module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-auto-unknown-context-critical Negative + 'module-parser-javascript-auto-unknown + -context-critical' option. +--module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-recursive Negative + 'module-parser-javascript-auto-unknown + -context-recursive' option. +--module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-reg-exp Negative + 'module-parser-javascript-auto-unknown + -context-reg-exp' option. +--module-parser-javascript-auto-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-auto-url Negative + 'module-parser-javascript-auto-url' + option. +--module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-auto-worker Negative + 'module-parser-javascript-auto-worker' + option. +--module-parser-javascript-auto-worker-reset Clear all items provided in + 'module.parser.javascript/auto.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-auto-wrapped-context-critical Negative + 'module-parser-javascript-auto-wrapped + -context-critical' option. +--module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-auto-wrapped-context-recursive Negative + 'module-parser-javascript-auto-wrapped + -context-recursive' option. +--module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-amd Negative + 'module-parser-javascript-dynamic-amd' + option. +--module-parser-javascript-dynamic-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-dynamic-browserify Negative + 'module-parser-javascript-dynamic-brow + serify' option. +--module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-dynamic-commonjs Negative + 'module-parser-javascript-dynamic-comm + onjs' option. +--module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-dynamic-commonjs-magic-comments Negative + 'module-parser-javascript-dynamic-comm + onjs-magic-comments' option. +--module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-dynamic-create-require Negative + 'module-parser-javascript-dynamic-crea + te-require' option. +--module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-dynamic-defer-import Negative + 'module-parser-javascript-dynamic-defe + r-import' option. +--module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-dyna + mic-import-fetch-priority' option. +--module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-dyna + mic-import-prefetch' option. +--module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-dyna + mic-import-preload' option. +--module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-dynamic-dynamic-url Negative + 'module-parser-javascript-dynamic-dyna + mic-url' option. +--module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-dynamic-exports-presence Negative + 'module-parser-javascript-dynamic-expo + rts-presence' option. +--module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-dynamic-expr-context-critical Negative + 'module-parser-javascript-dynamic-expr + -context-critical' option. +--module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-recursive Negative + 'module-parser-javascript-dynamic-expr + -context-recursive' option. +--module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-reg-exp Negative + 'module-parser-javascript-dynamic-expr + -context-reg-exp' option. +--module-parser-javascript-dynamic-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-dynamic-harmony Negative + 'module-parser-javascript-dynamic-harm + ony' option. +--module-parser-javascript-dynamic-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-dynamic-import Negative + 'module-parser-javascript-dynamic-impo + rt' option. +--module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-dynamic-import-exports-presence Negative + 'module-parser-javascript-dynamic-impo + rt-exports-presence' option. +--module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-dynamic-import-meta Negative + 'module-parser-javascript-dynamic-impo + rt-meta' option. +--module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-dynamic-import-meta-context Negative + 'module-parser-javascript-dynamic-impo + rt-meta-context' option. +--no-module-parser-javascript-dynamic-node Negative + 'module-parser-javascript-dynamic-node + ' option. +--module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-dynamic-node-dirname Negative + 'module-parser-javascript-dynamic-node + -dirname' option. +--module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-dynamic-node-filename Negative + 'module-parser-javascript-dynamic-node + -filename' option. +--module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-dynamic-node-global Negative + 'module-parser-javascript-dynamic-node + -global' option. +--module-parser-javascript-dynamic-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-dynamic-reexport-exports-presence Negative + 'module-parser-javascript-dynamic-reex + port-exports-presence' option. +--module-parser-javascript-dynamic-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-dynamic-require-context Negative + 'module-parser-javascript-dynamic-requ + ire-context' option. +--module-parser-javascript-dynamic-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-dynamic-require-ensure Negative + 'module-parser-javascript-dynamic-requ + ire-ensure' option. +--module-parser-javascript-dynamic-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-dynamic-require-include Negative + 'module-parser-javascript-dynamic-requ + ire-include' option. +--module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-dynamic-require-js Negative + 'module-parser-javascript-dynamic-requ + ire-js' option. +--module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-dynamic-strict-export-presence Negative + 'module-parser-javascript-dynamic-stri + ct-export-presence' option. +--module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative + 'module-parser-javascript-dynamic-stri + ct-this-context-on-imports' option. +--module-parser-javascript-dynamic-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-dynamic-system Negative + 'module-parser-javascript-dynamic-syst + em' option. +--module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-critical Negative + 'module-parser-javascript-dynamic-unkn + own-context-critical' option. +--module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-recursive Negative + 'module-parser-javascript-dynamic-unkn + own-context-recursive' option. +--module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative + 'module-parser-javascript-dynamic-unkn + own-context-reg-exp' option. +--module-parser-javascript-dynamic-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-dynamic-worker Negative + 'module-parser-javascript-dynamic-work + er' option. +--module-parser-javascript-dynamic-worker-reset Clear all items provided in + 'module.parser.javascript/dynamic.work + er' configuration. Disable or + configure parsing of WebWorker syntax + like new Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-critical Negative + 'module-parser-javascript-dynamic-wrap + ped-context-critical' option. +--module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-recursive Negative + 'module-parser-javascript-dynamic-wrap + ped-context-recursive' option. +--module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-esm-amd Negative + 'module-parser-javascript-esm-amd' + option. +--module-parser-javascript-esm-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-esm-browserify Negative + 'module-parser-javascript-esm-browseri + fy' option. +--module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-esm-commonjs Negative + 'module-parser-javascript-esm-commonjs + ' option. +--module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-esm-commonjs-magic-comments Negative + 'module-parser-javascript-esm-commonjs + -magic-comments' option. +--module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-esm-create-require Negative + 'module-parser-javascript-esm-create-r + equire' option. +--module-parser-javascript-esm-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-esm-defer-import Negative + 'module-parser-javascript-esm-defer-im + port' option. +--module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative + 'module-parser-javascript-esm-dynamic- + import-fetch-priority' option. +--module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-prefetch Negative + 'module-parser-javascript-esm-dynamic- + import-prefetch' option. +--module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-preload Negative + 'module-parser-javascript-esm-dynamic- + import-preload' option. +--module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-esm-dynamic-url Negative + 'module-parser-javascript-esm-dynamic- + url' option. +--module-parser-javascript-esm-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-esm-exports-presence Negative + 'module-parser-javascript-esm-exports- + presence' option. +--module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-esm-expr-context-critical Negative + 'module-parser-javascript-esm-expr-con + text-critical' option. +--module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-recursive Negative + 'module-parser-javascript-esm-expr-con + text-recursive' option. +--module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-reg-exp Negative + 'module-parser-javascript-esm-expr-con + text-reg-exp' option. +--module-parser-javascript-esm-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-esm-harmony Negative + 'module-parser-javascript-esm-harmony' + option. +--module-parser-javascript-esm-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-esm-import Negative + 'module-parser-javascript-esm-import' + option. +--module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-esm-import-exports-presence Negative + 'module-parser-javascript-esm-import-e + xports-presence' option. +--module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-esm-import-meta Negative + 'module-parser-javascript-esm-import-m + eta' option. +--module-parser-javascript-esm-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-esm-import-meta-context Negative + 'module-parser-javascript-esm-import-m + eta-context' option. +--no-module-parser-javascript-esm-node Negative + 'module-parser-javascript-esm-node' + option. +--module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-esm-node-dirname Negative + 'module-parser-javascript-esm-node-dir + name' option. +--module-parser-javascript-esm-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-esm-node-filename Negative + 'module-parser-javascript-esm-node-fil + ename' option. +--module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-esm-node-global Negative + 'module-parser-javascript-esm-node-glo + bal' option. +--module-parser-javascript-esm-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-esm-reexport-exports-presence Negative + 'module-parser-javascript-esm-reexport + -exports-presence' option. +--module-parser-javascript-esm-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-esm-require-context Negative + 'module-parser-javascript-esm-require- + context' option. +--module-parser-javascript-esm-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-esm-require-ensure Negative + 'module-parser-javascript-esm-require- + ensure' option. +--module-parser-javascript-esm-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-esm-require-include Negative + 'module-parser-javascript-esm-require- + include' option. +--module-parser-javascript-esm-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-esm-require-js Negative + 'module-parser-javascript-esm-require- + js' option. +--module-parser-javascript-esm-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-esm-strict-export-presence Negative + 'module-parser-javascript-esm-strict-e + xport-presence' option. +--module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-esm-strict-this-context-on-imports Negative + 'module-parser-javascript-esm-strict-t + his-context-on-imports' option. +--module-parser-javascript-esm-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-esm-system Negative + 'module-parser-javascript-esm-system' + option. +--module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-esm-unknown-context-critical Negative + 'module-parser-javascript-esm-unknown- + context-critical' option. +--module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-recursive Negative + 'module-parser-javascript-esm-unknown- + context-recursive' option. +--module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-reg-exp Negative + 'module-parser-javascript-esm-unknown- + context-reg-exp' option. +--module-parser-javascript-esm-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-esm-url Negative + 'module-parser-javascript-esm-url' + option. +--module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-esm-worker Negative + 'module-parser-javascript-esm-worker' + option. +--module-parser-javascript-esm-worker-reset Clear all items provided in + 'module.parser.javascript/esm.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-esm-wrapped-context-critical Negative + 'module-parser-javascript-esm-wrapped- + context-critical' option. +--module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-esm-wrapped-context-recursive Negative + 'module-parser-javascript-esm-wrapped- + context-recursive' option. +--module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--module-parser-json-exports-depth The depth of json dependency flagged + as \`exportInfo\`. +--module-parser-json-named-exports Allow named exports for json of object + type. +--no-module-parser-json-named-exports Negative + 'module-parser-json-named-exports' + option. +--module-rules-compiler Match the child compiler name. +--module-rules-compiler-not Logical NOT. +--module-rules-dependency Match dependency type. +--module-rules-dependency-not Logical NOT. +--module-rules-enforce Enforce this rule as pre or post step. +--module-rules-exclude Shortcut for resource.exclude. +--module-rules-exclude-not Logical NOT. +--module-rules-extract-source-map Enable/Disable extracting source map. +--no-module-rules-extract-source-map Negative + 'module-rules-extract-source-map' + option. +--module-rules-include Shortcut for resource.include. +--module-rules-include-not Logical NOT. +--module-rules-issuer Match the issuer of the module (The + module pointing to this module). +--module-rules-issuer-not Logical NOT. +--module-rules-issuer-layer Match layer of the issuer of this + module (The module pointing to this + module). +--module-rules-issuer-layer-not Logical NOT. +--module-rules-layer Specifies the layer in which the + module should be placed in. +--module-rules-loader A loader request. +--module-rules-mimetype Match module mimetype when load from + Data URI. +--module-rules-mimetype-not Logical NOT. +--module-rules-real-resource Match the real resource path of the + module. +--module-rules-real-resource-not Logical NOT. +--module-rules-resource Match the resource path of the module. +--module-rules-resource-not Logical NOT. +--module-rules-resource-fragment Match the resource fragment of the + module. +--module-rules-resource-fragment-not Logical NOT. +--module-rules-resource-query Match the resource query of the + module. +--module-rules-resource-query-not Logical NOT. +--module-rules-scheme Match module scheme. +--module-rules-scheme-not Logical NOT. +--module-rules-side-effects Flags a module as with or without side + effects. +--no-module-rules-side-effects Negative 'module-rules-side-effects' + option. +--module-rules-test Shortcut for resource.test. +--module-rules-test-not Logical NOT. +--module-rules-type Module type to use for the module. +--module-rules-use-ident Unique loader options identifier. +--module-rules-use-loader A loader request. +--module-rules-use-options Options passed to a loader. +--module-rules-use A loader request. +--module-rules-reset Clear all items provided in + 'module.rules' configuration. A list + of rules. +--module-strict-export-presence Emit errors instead of warnings when + imported names don't exist in imported + module. Deprecated: This option has + moved to + 'module.parser.javascript.strictExport + Presence'. +--no-module-strict-export-presence Negative + 'module-strict-export-presence' + option. +--module-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. Deprecated: This option has + moved to + 'module.parser.javascript.strictThisCo + ntextOnImports'. +--no-module-strict-this-context-on-imports Negative + 'module-strict-this-context-on-imports + ' option. +--module-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtCritical'. +--no-module-unknown-context-critical Negative + 'module-unknown-context-critical' + option. +--module-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRecursive'. +--no-module-unknown-context-recursive Negative + 'module-unknown-context-recursive' + option. +--module-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRegExp'. +--no-module-unknown-context-reg-exp Negative + 'module-unknown-context-reg-exp' + option. +--module-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtRequest'. +--module-unsafe-cache Cache the resolving of module + requests. +--no-module-unsafe-cache Negative 'module-unsafe-cache' option. +--module-wrapped-context-critical Enable warnings for partial dynamic + dependencies. Deprecated: This option + has moved to + 'module.parser.javascript.wrappedConte + xtCritical'. +--no-module-wrapped-context-critical Negative + 'module-wrapped-context-critical' + option. +--module-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRecursive'. +--no-module-wrapped-context-recursive Negative + 'module-wrapped-context-recursive' + option. +--module-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRegExp'. +--name Name of the configuration. Used when + loading multiple configurations. +--no-node Negative 'node' option. +--node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-node-dirname Negative 'node-dirname' option. +--node-filename [value] Include a polyfill for the + '__filename' variable. +--no-node-filename Negative 'node-filename' option. +--node-global [value] Include a polyfill for the 'global' + variable. +--no-node-global Negative 'node-global' option. +--optimization-avoid-entry-iife Avoid wrapping the entry module in an + IIFE. +--no-optimization-avoid-entry-iife Negative + 'optimization-avoid-entry-iife' + option. +--optimization-check-wasm-types Check for incompatible wasm types when + importing/exporting from/to ESM. +--no-optimization-check-wasm-types Negative + 'optimization-check-wasm-types' + option. +--optimization-chunk-ids Define the algorithm to choose chunk + ids (named: readable ids for better + debugging, deterministic: numeric hash + ids for better long term caching, + size: numeric ids focused on minimal + initial download size, total-size: + numeric ids focused on minimal total + download size, false: no algorithm + used, as custom one can be provided + via plugin). +--no-optimization-chunk-ids Negative 'optimization-chunk-ids' + option. +--optimization-concatenate-modules Concatenate modules when possible to + generate less modules, more efficient + code and enable more optimizations by + the minimizer. +--no-optimization-concatenate-modules Negative + 'optimization-concatenate-modules' + option. +--optimization-emit-on-errors Emit assets even when errors occur. + Critical errors are emitted into the + generated code and will cause errors at stack. - --watch-options-poll [value] \`number\`: use polling with specified interval. \`true\`: use polling. - --no-watch-options-poll Negative 'watch-options-poll' option. - --watch-options-stdin Stop watching when stdin stream has ended. - --no-watch-options-stdin Negative 'watch-options-stdin' option. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +--watch-options-poll [value] \`number\`: use polling with specified + interval. \`true\`: use polling. +--no-watch-options-poll Negative 'watch-options-poll' option. +--watch-options-stdin Stop watching when stdin stream has + ended. +--no-watch-options-stdin Negative 'watch-options-stdin' option. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help watch --verbose' to see all available options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'w' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'w' command using the "--help" option: stdout 1`] = ` -"Usage: webpack watch|w [entries...] [options] - -Run webpack and watch for files changes. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack and watch for files changes. + +Usage: webpack watch|w [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help watch --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'watch' and respect the "--color" flag using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'watch' and respect the "--color" flag using the "--help" option: stdout 1`] = ` -"Usage: webpack watch|w [entries...] [options] - -Run webpack and watch for files changes. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack and watch for files changes. + +Usage: webpack watch|w [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help watch --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'watch' and respect the "--no-color" flag using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'watch' and respect the "--no-color" flag using the "--help" option: stdout 1`] = ` -"Usage: webpack watch|w [entries...] [options] - -Run webpack and watch for files changes. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack and watch for files changes. + +Usage: webpack watch|w [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help watch --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'watch' command using command syntax: stderr 1`] = `""`; exports[`help should show help information for 'watch' command using command syntax: stdout 1`] = ` -"Usage: webpack watch|w [entries...] [options] - -Run webpack and watch for files changes. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack and watch for files changes. + +Usage: webpack watch|w [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help watch --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'watch' command using the "--help verbose" option: stderr 1`] = `""`; exports[`help should show help information for 'watch' command using the "--help verbose" option: stdout 1`] = ` -"Usage: webpack watch|w [entries...] [options] - -Run webpack and watch for files changes. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - --no-amd Negative 'amd' option. - --bail Report the first error as a hard error instead of tolerating it. - --no-bail Negative 'bail' option. - --cache Enable in memory caching. Disable caching. - --no-cache Negative 'cache' option. - --cache-cache-unaffected Additionally cache computation of modules that are unchanged and reference only unchanged modules. - --no-cache-cache-unaffected Negative 'cache-cache-unaffected' option. - --cache-max-generations Number of generations unused cache entries stay in memory cache +"Run webpack and watch for files changes. + +Usage: webpack watch|w [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +--no-amd Negative 'amd' option. +--bail Report the first error as a hard error + instead of tolerating it. +--no-bail Negative 'bail' option. +--cache Enable in memory caching. Disable + caching. +--no-cache Negative 'cache' option. +--cache-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules. +--no-cache-cache-unaffected Negative 'cache-cache-unaffected' + option. +--cache-max-generations Number of generations unused cache + entries stay in memory cache at + minimum (1 = may be removed after + unused for a single compilation, ..., + Infinity: kept forever). +--cache-type In memory caching. Filesystem caching. +--cache-allow-collecting-memory Allows to collect unused memory + allocated during deserialization. This + requires copying data into smaller + buffers and has a performance cost. +--no-cache-allow-collecting-memory Negative + 'cache-allow-collecting-memory' + option. +--cache-cache-directory Base directory for the cache (defaults + to node_modules/.cache/webpack). +--cache-cache-location Locations for the cache (defaults to + cacheDirectory / name). +--cache-compression Compression type used for the cache + files. +--no-cache-compression Negative 'cache-compression' option. +--cache-hash-algorithm Algorithm used for generation the hash + (see node.js crypto package). +--cache-idle-timeout Time in ms after which idle period the + cache storing should happen. +--cache-idle-timeout-after-large-changes Time in ms after which idle period the + cache storing should happen when + larger changes has been detected + (cumulative build time > 2 x avg cache + store time). +--cache-idle-timeout-for-initial-store Time in ms after which idle period the + initial cache storing should happen. +--cache-immutable-paths A RegExp matching an immutable + directory (usually a package manager + cache directory, including the tailing + slash) A path to an immutable + directory (usually a package manager + cache directory). +--cache-immutable-paths-reset Clear all items provided in + 'cache.immutablePaths' configuration. + List of paths that are managed by a + package manager and contain a version + or hash in its path so all files are + immutable. +--cache-managed-paths A RegExp matching a managed directory + (usually a node_modules directory, + including the tailing slash) A path to + a managed directory (usually a + node_modules directory). +--cache-managed-paths-reset Clear all items provided in + 'cache.managedPaths' configuration. + List of paths that are managed by a + package manager and can be trusted to + not be modified otherwise. +--cache-max-age Time for which unused cache entries + stay in the filesystem cache at + minimum (in milliseconds). +--cache-max-memory-generations Number of generations unused cache + entries stay in memory cache at + minimum (0 = no memory cache used, 1 = + may be removed after unused for a + single compilation, ..., Infinity: + kept forever). Cache entries will be + deserialized from disk when removed + from memory cache. +--cache-memory-cache-unaffected Additionally cache computation of + modules that are unchanged and + reference only unchanged modules in + memory. +--no-cache-memory-cache-unaffected Negative + 'cache-memory-cache-unaffected' + option. +--cache-name Name for the cache. Different names + will lead to different coexisting + caches. +--cache-profile Track and log detailed timing + information for individual cache + items. +--no-cache-profile Negative 'cache-profile' option. +--cache-readonly Enable/disable readonly mode. +--no-cache-readonly Negative 'cache-readonly' option. +--cache-store When to store data to the filesystem. + (pack: Store data when compiler is + idle in a single file). +--cache-version Version of the cache data. Different + versions won't allow to reuse the + cache and override existing content. + Update the version when config changed + in a way which doesn't allow to reuse + cache. This will invalidate the cache. +--context The base directory (absolute path!) + for resolving the \`entry\` option. If + \`output.pathinfo\` is set, the included + pathinfo is shortened to this + directory. +--dependencies References to another configuration to + depend on. +--dependencies-reset Clear all items provided in + 'dependencies' configuration. + References to other configurations to + depend on. +--no-dev-server Negative 'dev-server' option. +--devtool-type Which asset type should receive this + devtool value. +--devtool-use A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool-use Negative 'devtool-use' option. +--devtool-reset Clear all items provided in 'devtool' + configuration. A developer tool to + enhance debugging (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--dotenv Enable Dotenv plugin with default + options. +--no-dotenv Negative 'dotenv' option. +--dotenv-dir The directory from which .env files + are loaded. Can be an absolute path, + false will disable the .env file + loading. +--no-dotenv-dir Negative 'dotenv-dir' option. +--dotenv-prefix A prefix that environment variables + must start with to be exposed. +--dotenv-prefix-reset Clear all items provided in + 'dotenv.prefix' configuration. Only + expose environment variables that + start with these prefixes. Defaults to + 'WEBPACK_'. +--dotenv-template A template pattern for .env file + names. +--dotenv-template-reset Clear all items provided in + 'dotenv.template' configuration. + Template patterns for .env file names. + Use [mode] as placeholder for the + webpack mode. Defaults to ['.env', + '.env.local', '.env.[mode]', + '.env.[mode].local']. +--entry A module that is loaded upon startup. + Only the last one is exported. +--entry-reset Clear all items provided in 'entry' + configuration. All modules are loaded + upon startup. The last one is + exported. +--experiments-async-web-assembly Support WebAssembly as asynchronous + EcmaScript Module. +--no-experiments-async-web-assembly Negative + 'experiments-async-web-assembly' + option. +--experiments-back-compat Enable backward-compat layer with + deprecation warnings for many webpack + 4 APIs. +--no-experiments-back-compat Negative 'experiments-back-compat' + option. +--experiments-build-http-allowed-uris Allowed URI pattern. Allowed URI + (resp. the beginning of it). +--experiments-build-http-allowed-uris-reset Clear all items provided in + 'experiments.buildHttp.allowedUris' + configuration. List of allowed URIs + (resp. the beginning of them). +--experiments-build-http-cache-location Location where resource content is + stored for lockfile entries. It's also + possible to disable storing by passing + false. +--no-experiments-build-http-cache-location Negative + 'experiments-build-http-cache-location + ' option. +--experiments-build-http-frozen When set, anything that would lead to + a modification of the lockfile or any + resource content, will result in an + error. +--no-experiments-build-http-frozen Negative + 'experiments-build-http-frozen' + option. +--experiments-build-http-lockfile-location Location of the lockfile. +--experiments-build-http-proxy Proxy configuration, which can be used + to specify a proxy server to use for + HTTP requests. +--experiments-build-http-upgrade When set, resources of existing + lockfile entries will be fetched and + entries will be upgraded when resource + content has changed. +--no-experiments-build-http-upgrade Negative + 'experiments-build-http-upgrade' + option. +--experiments-cache-unaffected Enable additional in memory caching of + modules that are unchanged and + reference only unchanged modules. +--no-experiments-cache-unaffected Negative + 'experiments-cache-unaffected' option. +--experiments-css Enable css support. +--no-experiments-css Negative 'experiments-css' option. +--experiments-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-experiments-defer-import Negative 'experiments-defer-import' + option. +--experiments-future-defaults Apply defaults of next major version. +--no-experiments-future-defaults Negative 'experiments-future-defaults' + option. +--experiments-lazy-compilation Compile entrypoints and import()s only + when they are accessed. +--no-experiments-lazy-compilation Negative + 'experiments-lazy-compilation' option. +--experiments-lazy-compilation-backend-client A custom client. +--experiments-lazy-compilation-backend-listen A port. +--experiments-lazy-compilation-backend-listen-host A host. +--experiments-lazy-compilation-backend-listen-port A port. +--experiments-lazy-compilation-backend-protocol Specifies the protocol the client + should use to connect to the server. +--experiments-lazy-compilation-entries Enable/disable lazy compilation for + entries. +--no-experiments-lazy-compilation-entries Negative + 'experiments-lazy-compilation-entries' + option. +--experiments-lazy-compilation-imports Enable/disable lazy compilation for + import() modules. +--no-experiments-lazy-compilation-imports Negative + 'experiments-lazy-compilation-imports' + option. +--experiments-lazy-compilation-test Specify which entrypoints or + import()ed modules should be lazily + compiled. This is matched with the + imported module and not the entrypoint + name. +--experiments-output-module Allow output javascript files as + module source type. +--no-experiments-output-module Negative 'experiments-output-module' + option. +--experiments-sync-web-assembly Support WebAssembly as synchronous + EcmaScript Module (outdated). +--no-experiments-sync-web-assembly Negative + 'experiments-sync-web-assembly' + option. +-e, --extends Path to the configuration to be + extended (only works when using + webpack-cli). +--extends-reset Clear all items provided in 'extends' + configuration. Extend configuration + from another configuration (only works + when using webpack-cli). +--externals Every matched dependency becomes + external. An exact matched dependency + becomes external. The same string is + used as external dependency. +--externals-reset Clear all items provided in + 'externals' configuration. Specify + dependencies that shouldn't be + resolved by webpack, but should become + dependencies of the resulting bundle. + The kind of the dependency depends on + \`output.libraryTarget\`. +--externals-presets-electron Treat common electron built-in modules + in main and preload context like + 'electron', 'ipc' or 'shell' as + external and load them via require() + when used. +--no-externals-presets-electron Negative 'externals-presets-electron' + option. +--externals-presets-electron-main Treat electron built-in modules in the + main context like 'app', 'ipc-main' or + 'shell' as external and load them via + require() when used. +--no-externals-presets-electron-main Negative + 'externals-presets-electron-main' + option. +--externals-presets-electron-preload Treat electron built-in modules in the + preload context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-preload Negative + 'externals-presets-electron-preload' + option. +--externals-presets-electron-renderer Treat electron built-in modules in the + renderer context like 'web-frame', + 'ipc-renderer' or 'shell' as external + and load them via require() when used. +--no-externals-presets-electron-renderer Negative + 'externals-presets-electron-renderer' + option. +--externals-presets-node Treat node.js built-in modules like + fs, path or vm as external and load + them via require() when used. +--no-externals-presets-node Negative 'externals-presets-node' + option. +--externals-presets-nwjs Treat NW.js legacy nw.gui module as + external and load it via require() + when used. +--no-externals-presets-nwjs Negative 'externals-presets-nwjs' + option. +--externals-presets-web Treat references to 'http(s)://...' + and 'std:...' as external and load + them via import when used (Note that + this changes execution order as + externals are executed before any + other code in the chunk). +--no-externals-presets-web Negative 'externals-presets-web' + option. +--externals-presets-web-async Treat references to 'http(s)://...' + and 'std:...' as external and load + them via async import() when used + (Note that this external type is an + async module, which has various + effects on the execution). +--no-externals-presets-web-async Negative 'externals-presets-web-async' + option. +--externals-type Specifies the default type of + externals ('amd*', 'umd*', 'system' + and 'jsonp' depend on + output.libraryTarget set to the same + value). +--ignore-warnings A RegExp to select the warning + message. +--ignore-warnings-file A RegExp to select the origin file for + the warning. +--ignore-warnings-message A RegExp to select the warning + message. +--ignore-warnings-module A RegExp to select the origin module + for the warning. +--ignore-warnings-reset Clear all items provided in + 'ignoreWarnings' configuration. Ignore + specific warnings. +--infrastructure-logging-append-only Only appends lines to the output. + Avoids updating existing output e. g. + for status messages. This option is + only used when no custom console is + provided. +--no-infrastructure-logging-append-only Negative + 'infrastructure-logging-append-only' + option. +--infrastructure-logging-colors Enables/Disables colorful output. This + option is only used when no custom + console is provided. +--no-infrastructure-logging-colors Negative + 'infrastructure-logging-colors' + option. +--infrastructure-logging-debug [value...] Enable/Disable debug logging for all + loggers. Enable debug logging for + specific loggers. +--no-infrastructure-logging-debug Negative + 'infrastructure-logging-debug' option. +--infrastructure-logging-debug-reset Clear all items provided in + 'infrastructureLogging.debug' + configuration. Enable debug logging + for specific loggers. +--infrastructure-logging-level Log level. +--mode Enable production optimizations or + development hints. +--module-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-expr-context-critical Negative + 'module-expr-context-critical' option. +--module-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. Deprecated: + This option has moved to + 'module.parser.javascript.exprContextR + ecursive'. +--no-module-expr-context-recursive Negative + 'module-expr-context-recursive' + option. +--module-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.exprContextR + egExp'. +--no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' + option. +--module-expr-context-request Set the default request for full + dynamic dependencies. Deprecated: This + option has moved to + 'module.parser.javascript.exprContextR + equest'. +--module-generator-asset-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-binary Negative + 'module-generator-asset-binary' + option. +--module-generator-asset-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-data-url-encoding Negative + 'module-generator-asset-data-url-encod + ing' option. +--module-generator-asset-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-emit Negative 'module-generator-asset-emit' + option. +--module-generator-asset-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-asset-inline-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-inline-binary Negative + 'module-generator-asset-inline-binary' + option. +--module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). +--no-module-generator-asset-inline-data-url-encoding Negative + 'module-generator-asset-inline-data-ur + l-encoding' option. +--module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file + extension by default). +--module-generator-asset-resource-binary Whether or not this asset module + should be considered binary. This can + be set to 'false' to treat this asset + module as text. +--no-module-generator-asset-resource-binary Negative + 'module-generator-asset-resource-binar + y' option. +--module-generator-asset-resource-emit Emit an output asset from this asset + module. This can be set to 'false' to + omit emitting e. g. for SSR. +--no-module-generator-asset-resource-emit Negative + 'module-generator-asset-resource-emit' + option. +--module-generator-asset-resource-filename Specifies the filename template of + output files on disk. You must **not** + specify an absolute path here, but the + path may contain folders separated by + '/'! The specified path is joined with + the value of the 'output.path' option + to determine the location on disk. +--module-generator-asset-resource-output-path Emit the asset in the specified folder + relative to 'output.path'. This should + only be needed when custom + 'publicPath' is specified to match the + folder structure there. +--module-generator-asset-resource-public-path The 'publicPath' specifies the public + URL address of the output files when + referenced in a browser. +--module-generator-css-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-es-module Negative + 'module-generator-css-es-module' + option. +--module-generator-css-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-exports-only Negative + 'module-generator-css-exports-only' + option. +--module-generator-css-auto-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-auto-es-module Negative + 'module-generator-css-auto-es-module' + option. +--module-generator-css-auto-export-type Configure how CSS content is exported + as default. +--module-generator-css-auto-exports-convention Specifies the convention of exported + names. +--module-generator-css-auto-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-auto-exports-only Negative + 'module-generator-css-auto-exports-onl + y' option. +--module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-auto-local-ident-name Configure the generated local ident + name. +--module-generator-css-global-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-global-es-module Negative + 'module-generator-css-global-es-module + ' option. +--module-generator-css-global-export-type Configure how CSS content is exported + as default. +--module-generator-css-global-exports-convention Specifies the convention of exported + names. +--module-generator-css-global-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-global-exports-only Negative + 'module-generator-css-global-exports-o + nly' option. +--module-generator-css-global-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-global-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-global-local-ident-name Configure the generated local ident + name. +--module-generator-css-module-es-module Configure the generated JS modules + that use the ES modules syntax. +--no-module-generator-css-module-es-module Negative + 'module-generator-css-module-es-module + ' option. +--module-generator-css-module-export-type Configure how CSS content is exported + as default. +--module-generator-css-module-exports-convention Specifies the convention of exported + names. +--module-generator-css-module-exports-only Avoid generating and loading a + stylesheet and only embed exports from + css into output javascript files. +--no-module-generator-css-module-exports-only Negative + 'module-generator-css-module-exports-o + nly' option. +--module-generator-css-module-local-ident-hash-digest Digest types used for the hash. +--module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the + hash. +--module-generator-css-module-local-ident-hash-salt Any string which is added to the hash + to salt it. +--module-generator-css-module-local-ident-name Configure the generated local ident + name. +--module-generator-json-json-parse Use \`JSON.parse\` when the JSON string + is longer than 20 characters. +--no-module-generator-json-json-parse Negative + 'module-generator-json-json-parse' + option. +--module-no-parse A regular expression, when matched the + module is not parsed. An absolute + path, when the module starts with this + path it is not parsed. +--module-no-parse-reset Clear all items provided in + 'module.noParse' configuration. Don't + parse files matching. It's matched + against the full resolved request. +--module-parser-asset-data-url-condition-max-size Maximum size of asset that should be + inline as modules. Default: 8kb. +--module-parser-css-export-type Configure how CSS content is exported + as default. +--module-parser-css-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-import Negative 'module-parser-css-import' + option. +--module-parser-css-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-named-exports Negative + 'module-parser-css-named-exports' + option. +--module-parser-css-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-url Negative 'module-parser-css-url' + option. +--module-parser-css-auto-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-auto-animation Negative + 'module-parser-css-auto-animation' + option. +--module-parser-css-auto-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-auto-container Negative + 'module-parser-css-auto-container' + option. +--module-parser-css-auto-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-auto-custom-idents Negative + 'module-parser-css-auto-custom-idents' + option. +--module-parser-css-auto-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-auto-dashed-idents Negative + 'module-parser-css-auto-dashed-idents' + option. +--module-parser-css-auto-export-type Configure how CSS content is exported + as default. +--module-parser-css-auto-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-auto-function Negative + 'module-parser-css-auto-function' + option. +--module-parser-css-auto-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' + option. +--module-parser-css-auto-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-auto-import Negative + 'module-parser-css-auto-import' + option. +--module-parser-css-auto-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-auto-named-exports Negative + 'module-parser-css-auto-named-exports' + option. +--module-parser-css-auto-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' + option. +--module-parser-css-global-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-global-animation Negative + 'module-parser-css-global-animation' + option. +--module-parser-css-global-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-global-container Negative + 'module-parser-css-global-container' + option. +--module-parser-css-global-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-global-custom-idents Negative + 'module-parser-css-global-custom-ident + s' option. +--module-parser-css-global-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-global-dashed-idents Negative + 'module-parser-css-global-dashed-ident + s' option. +--module-parser-css-global-export-type Configure how CSS content is exported + as default. +--module-parser-css-global-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-global-function Negative + 'module-parser-css-global-function' + option. +--module-parser-css-global-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-global-grid Negative + 'module-parser-css-global-grid' + option. +--module-parser-css-global-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-global-import Negative + 'module-parser-css-global-import' + option. +--module-parser-css-global-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-global-named-exports Negative + 'module-parser-css-global-named-export + s' option. +--module-parser-css-global-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-global-url Negative + 'module-parser-css-global-url' option. +--module-parser-css-module-animation Enable/disable renaming of + \`@keyframes\`. +--no-module-parser-css-module-animation Negative + 'module-parser-css-module-animation' + option. +--module-parser-css-module-container Enable/disable renaming of + \`@container\` names. +--no-module-parser-css-module-container Negative + 'module-parser-css-module-container' + option. +--module-parser-css-module-custom-idents Enable/disable renaming of custom + identifiers. +--no-module-parser-css-module-custom-idents Negative + 'module-parser-css-module-custom-ident + s' option. +--module-parser-css-module-dashed-idents Enable/disable renaming of dashed + identifiers, e. g. custom properties. +--no-module-parser-css-module-dashed-idents Negative + 'module-parser-css-module-dashed-ident + s' option. +--module-parser-css-module-export-type Configure how CSS content is exported + as default. +--module-parser-css-module-function Enable/disable renaming of \`@function\` + names. +--no-module-parser-css-module-function Negative + 'module-parser-css-module-function' + option. +--module-parser-css-module-grid Enable/disable renaming of grid + identifiers. +--no-module-parser-css-module-grid Negative + 'module-parser-css-module-grid' + option. +--module-parser-css-module-import Enable/disable \`@import\` at-rules + handling. +--no-module-parser-css-module-import Negative + 'module-parser-css-module-import' + option. +--module-parser-css-module-named-exports Use ES modules named export for css + exports. +--no-module-parser-css-module-named-exports Negative + 'module-parser-css-module-named-export + s' option. +--module-parser-css-module-url Enable/disable + \`url()\`/\`image-set()\`/\`src()\`/\`image() + \` functions handling. +--no-module-parser-css-module-url Negative + 'module-parser-css-module-url' option. +--no-module-parser-javascript-amd Negative + 'module-parser-javascript-amd' option. +--module-parser-javascript-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-browserify Negative + 'module-parser-javascript-browserify' + option. +--module-parser-javascript-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-commonjs Negative + 'module-parser-javascript-commonjs' + option. +--module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-commonjs-magic-comments Negative + 'module-parser-javascript-commonjs-mag + ic-comments' option. +--module-parser-javascript-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-create-require Negative + 'module-parser-javascript-create-requi + re' option. +--module-parser-javascript-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-defer-import Negative + 'module-parser-javascript-defer-import + ' option. +--module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-impo + rt-fetch-priority' option. +--module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-impo + rt-prefetch' option. +--module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-impo + rt-preload' option. +--module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. + Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-dynamic-url Negative + 'module-parser-javascript-dynamic-url' + option. +--module-parser-javascript-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-exports-presence Negative + 'module-parser-javascript-exports-pres + ence' option. +--module-parser-javascript-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-expr-context-critical Negative + 'module-parser-javascript-expr-context + -critical' option. +--module-parser-javascript-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-expr-context-recursive Negative + 'module-parser-javascript-expr-context + -recursive' option. +--module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-expr-context-reg-exp Negative + 'module-parser-javascript-expr-context + -reg-exp' option. +--module-parser-javascript-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-harmony Negative + 'module-parser-javascript-harmony' + option. +--module-parser-javascript-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-import Negative + 'module-parser-javascript-import' + option. +--module-parser-javascript-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-import-exports-presence Negative + 'module-parser-javascript-import-expor + ts-presence' option. +--module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-import-meta Negative + 'module-parser-javascript-import-meta' + option. +--module-parser-javascript-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-import-meta-context Negative + 'module-parser-javascript-import-meta- + context' option. +--no-module-parser-javascript-node Negative + 'module-parser-javascript-node' + option. +--module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-node-dirname Negative + 'module-parser-javascript-node-dirname + ' option. +--module-parser-javascript-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-node-filename Negative + 'module-parser-javascript-node-filenam + e' option. +--module-parser-javascript-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-node-global Negative + 'module-parser-javascript-node-global' + option. +--module-parser-javascript-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-reexport-exports-presence Negative + 'module-parser-javascript-reexport-exp + orts-presence' option. +--module-parser-javascript-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-require-context Negative + 'module-parser-javascript-require-cont + ext' option. +--module-parser-javascript-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-require-ensure Negative + 'module-parser-javascript-require-ensu + re' option. +--module-parser-javascript-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-require-include Negative + 'module-parser-javascript-require-incl + ude' option. +--module-parser-javascript-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-require-js Negative + 'module-parser-javascript-require-js' + option. +--module-parser-javascript-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-strict-export-presence Negative + 'module-parser-javascript-strict-expor + t-presence' option. +--module-parser-javascript-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-strict-this-context-on-imports Negative + 'module-parser-javascript-strict-this- + context-on-imports' option. +--module-parser-javascript-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-system Negative + 'module-parser-javascript-system' + option. +--module-parser-javascript-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-unknown-context-critical Negative + 'module-parser-javascript-unknown-cont + ext-critical' option. +--module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-recursive Negative + 'module-parser-javascript-unknown-cont + ext-recursive' option. +--module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-unknown-context-reg-exp Negative + 'module-parser-javascript-unknown-cont + ext-reg-exp' option. +--module-parser-javascript-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-url Negative + 'module-parser-javascript-url' option. +--module-parser-javascript-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-worker Negative + 'module-parser-javascript-worker' + option. +--module-parser-javascript-worker-reset Clear all items provided in + 'module.parser.javascript.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-wrapped-context-critical Negative + 'module-parser-javascript-wrapped-cont + ext-critical' option. +--module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-wrapped-context-recursive Negative + 'module-parser-javascript-wrapped-cont + ext-recursive' option. +--module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-auto-amd Negative + 'module-parser-javascript-auto-amd' + option. +--module-parser-javascript-auto-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-auto-browserify Negative + 'module-parser-javascript-auto-browser + ify' option. +--module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-auto-commonjs Negative + 'module-parser-javascript-auto-commonj + s' option. +--module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-auto-commonjs-magic-comments Negative + 'module-parser-javascript-auto-commonj + s-magic-comments' option. +--module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-auto-create-require Negative + 'module-parser-javascript-auto-create- + require' option. +--module-parser-javascript-auto-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-auto-defer-import Negative + 'module-parser-javascript-auto-defer-i + mport' option. +--module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative + 'module-parser-javascript-auto-dynamic + -import-fetch-priority' option. +--module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-prefetch Negative + 'module-parser-javascript-auto-dynamic + -import-prefetch' option. +--module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-auto-dynamic-import-preload Negative + 'module-parser-javascript-auto-dynamic + -import-preload' option. +--module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-auto-dynamic-url Negative + 'module-parser-javascript-auto-dynamic + -url' option. +--module-parser-javascript-auto-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-auto-exports-presence Negative + 'module-parser-javascript-auto-exports + -presence' option. +--module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-auto-expr-context-critical Negative + 'module-parser-javascript-auto-expr-co + ntext-critical' option. +--module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-recursive Negative + 'module-parser-javascript-auto-expr-co + ntext-recursive' option. +--module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-auto-expr-context-reg-exp Negative + 'module-parser-javascript-auto-expr-co + ntext-reg-exp' option. +--module-parser-javascript-auto-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-auto-harmony Negative + 'module-parser-javascript-auto-harmony + ' option. +--module-parser-javascript-auto-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-auto-import Negative + 'module-parser-javascript-auto-import' + option. +--module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-auto-import-exports-presence Negative + 'module-parser-javascript-auto-import- + exports-presence' option. +--module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-auto-import-meta Negative + 'module-parser-javascript-auto-import- + meta' option. +--module-parser-javascript-auto-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-auto-import-meta-context Negative + 'module-parser-javascript-auto-import- + meta-context' option. +--no-module-parser-javascript-auto-node Negative + 'module-parser-javascript-auto-node' + option. +--module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-auto-node-dirname Negative + 'module-parser-javascript-auto-node-di + rname' option. +--module-parser-javascript-auto-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-auto-node-filename Negative + 'module-parser-javascript-auto-node-fi + lename' option. +--module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-auto-node-global Negative + 'module-parser-javascript-auto-node-gl + obal' option. +--module-parser-javascript-auto-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-auto-reexport-exports-presence Negative + 'module-parser-javascript-auto-reexpor + t-exports-presence' option. +--module-parser-javascript-auto-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-auto-require-context Negative + 'module-parser-javascript-auto-require + -context' option. +--module-parser-javascript-auto-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-auto-require-ensure Negative + 'module-parser-javascript-auto-require + -ensure' option. +--module-parser-javascript-auto-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-auto-require-include Negative + 'module-parser-javascript-auto-require + -include' option. +--module-parser-javascript-auto-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-auto-require-js Negative + 'module-parser-javascript-auto-require + -js' option. +--module-parser-javascript-auto-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-auto-strict-export-presence Negative + 'module-parser-javascript-auto-strict- + export-presence' option. +--module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-auto-strict-this-context-on-imports Negative + 'module-parser-javascript-auto-strict- + this-context-on-imports' option. +--module-parser-javascript-auto-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-auto-system Negative + 'module-parser-javascript-auto-system' + option. +--module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-auto-unknown-context-critical Negative + 'module-parser-javascript-auto-unknown + -context-critical' option. +--module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-recursive Negative + 'module-parser-javascript-auto-unknown + -context-recursive' option. +--module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-auto-unknown-context-reg-exp Negative + 'module-parser-javascript-auto-unknown + -context-reg-exp' option. +--module-parser-javascript-auto-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-auto-url Negative + 'module-parser-javascript-auto-url' + option. +--module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-auto-worker Negative + 'module-parser-javascript-auto-worker' + option. +--module-parser-javascript-auto-worker-reset Clear all items provided in + 'module.parser.javascript/auto.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-auto-wrapped-context-critical Negative + 'module-parser-javascript-auto-wrapped + -context-critical' option. +--module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-auto-wrapped-context-recursive Negative + 'module-parser-javascript-auto-wrapped + -context-recursive' option. +--module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-amd Negative + 'module-parser-javascript-dynamic-amd' + option. +--module-parser-javascript-dynamic-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-dynamic-browserify Negative + 'module-parser-javascript-dynamic-brow + serify' option. +--module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-dynamic-commonjs Negative + 'module-parser-javascript-dynamic-comm + onjs' option. +--module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-dynamic-commonjs-magic-comments Negative + 'module-parser-javascript-dynamic-comm + onjs-magic-comments' option. +--module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-dynamic-create-require Negative + 'module-parser-javascript-dynamic-crea + te-require' option. +--module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-dynamic-defer-import Negative + 'module-parser-javascript-dynamic-defe + r-import' option. +--module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative + 'module-parser-javascript-dynamic-dyna + mic-import-fetch-priority' option. +--module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative + 'module-parser-javascript-dynamic-dyna + mic-import-prefetch' option. +--module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-dynamic-dynamic-import-preload Negative + 'module-parser-javascript-dynamic-dyna + mic-import-preload' option. +--module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-dynamic-dynamic-url Negative + 'module-parser-javascript-dynamic-dyna + mic-url' option. +--module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-dynamic-exports-presence Negative + 'module-parser-javascript-dynamic-expo + rts-presence' option. +--module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-dynamic-expr-context-critical Negative + 'module-parser-javascript-dynamic-expr + -context-critical' option. +--module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-recursive Negative + 'module-parser-javascript-dynamic-expr + -context-recursive' option. +--module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-dynamic-expr-context-reg-exp Negative + 'module-parser-javascript-dynamic-expr + -context-reg-exp' option. +--module-parser-javascript-dynamic-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-dynamic-harmony Negative + 'module-parser-javascript-dynamic-harm + ony' option. +--module-parser-javascript-dynamic-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-dynamic-import Negative + 'module-parser-javascript-dynamic-impo + rt' option. +--module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-dynamic-import-exports-presence Negative + 'module-parser-javascript-dynamic-impo + rt-exports-presence' option. +--module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-dynamic-import-meta Negative + 'module-parser-javascript-dynamic-impo + rt-meta' option. +--module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-dynamic-import-meta-context Negative + 'module-parser-javascript-dynamic-impo + rt-meta-context' option. +--no-module-parser-javascript-dynamic-node Negative + 'module-parser-javascript-dynamic-node + ' option. +--module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-dynamic-node-dirname Negative + 'module-parser-javascript-dynamic-node + -dirname' option. +--module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-dynamic-node-filename Negative + 'module-parser-javascript-dynamic-node + -filename' option. +--module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-dynamic-node-global Negative + 'module-parser-javascript-dynamic-node + -global' option. +--module-parser-javascript-dynamic-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-dynamic-reexport-exports-presence Negative + 'module-parser-javascript-dynamic-reex + port-exports-presence' option. +--module-parser-javascript-dynamic-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-dynamic-require-context Negative + 'module-parser-javascript-dynamic-requ + ire-context' option. +--module-parser-javascript-dynamic-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-dynamic-require-ensure Negative + 'module-parser-javascript-dynamic-requ + ire-ensure' option. +--module-parser-javascript-dynamic-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-dynamic-require-include Negative + 'module-parser-javascript-dynamic-requ + ire-include' option. +--module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-dynamic-require-js Negative + 'module-parser-javascript-dynamic-requ + ire-js' option. +--module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-dynamic-strict-export-presence Negative + 'module-parser-javascript-dynamic-stri + ct-export-presence' option. +--module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative + 'module-parser-javascript-dynamic-stri + ct-this-context-on-imports' option. +--module-parser-javascript-dynamic-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-dynamic-system Negative + 'module-parser-javascript-dynamic-syst + em' option. +--module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-critical Negative + 'module-parser-javascript-dynamic-unkn + own-context-critical' option. +--module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-recursive Negative + 'module-parser-javascript-dynamic-unkn + own-context-recursive' option. +--module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative + 'module-parser-javascript-dynamic-unkn + own-context-reg-exp' option. +--module-parser-javascript-dynamic-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-dynamic-worker Negative + 'module-parser-javascript-dynamic-work + er' option. +--module-parser-javascript-dynamic-worker-reset Clear all items provided in + 'module.parser.javascript/dynamic.work + er' configuration. Disable or + configure parsing of WebWorker syntax + like new Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-critical Negative + 'module-parser-javascript-dynamic-wrap + ped-context-critical' option. +--module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-dynamic-wrapped-context-recursive Negative + 'module-parser-javascript-dynamic-wrap + ped-context-recursive' option. +--module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--no-module-parser-javascript-esm-amd Negative + 'module-parser-javascript-esm-amd' + option. +--module-parser-javascript-esm-browserify Enable/disable special handling for + browserify bundles. +--no-module-parser-javascript-esm-browserify Negative + 'module-parser-javascript-esm-browseri + fy' option. +--module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs + syntax. +--no-module-parser-javascript-esm-commonjs Negative + 'module-parser-javascript-esm-commonjs + ' option. +--module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic + comments in CommonJs syntax. +--no-module-parser-javascript-esm-commonjs-magic-comments Negative + 'module-parser-javascript-esm-commonjs + -magic-comments' option. +--module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { + createRequire } from "module"" and + evaluating createRequire(). +--no-module-parser-javascript-esm-create-require Negative + 'module-parser-javascript-esm-create-r + equire' option. +--module-parser-javascript-esm-defer-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-defer + -import-eval. This allows to defer + execution of a module until it's first + use. +--no-module-parser-javascript-esm-defer-import Negative + 'module-parser-javascript-esm-defer-im + port' option. +--module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for + dynamic import. +--no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative + 'module-parser-javascript-esm-dynamic- + import-fetch-priority' option. +--module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic + import. +--module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-prefetch Negative + 'module-parser-javascript-esm-dynamic- + import-prefetch' option. +--module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic + import. +--no-module-parser-javascript-esm-dynamic-import-preload Negative + 'module-parser-javascript-esm-dynamic- + import-preload' option. +--module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. +--no-module-parser-javascript-esm-dynamic-url Negative + 'module-parser-javascript-esm-dynamic- + url' option. +--module-parser-javascript-esm-exports-presence Specifies the behavior of invalid + export names in "import ... from ..." + and "export ... from ...". +--no-module-parser-javascript-esm-exports-presence Negative + 'module-parser-javascript-esm-exports- + presence' option. +--module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic + dependencies. +--no-module-parser-javascript-esm-expr-context-critical Negative + 'module-parser-javascript-esm-expr-con + text-critical' option. +--module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for + full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-recursive Negative + 'module-parser-javascript-esm-expr-con + text-recursive' option. +--module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression + for full dynamic dependencies. +--no-module-parser-javascript-esm-expr-context-reg-exp Negative + 'module-parser-javascript-esm-expr-con + text-reg-exp' option. +--module-parser-javascript-esm-expr-context-request Set the default request for full + dynamic dependencies. +--module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript + Modules syntax. +--no-module-parser-javascript-esm-harmony Negative + 'module-parser-javascript-esm-harmony' + option. +--module-parser-javascript-esm-import Enable/disable parsing of import() + syntax. +--no-module-parser-javascript-esm-import Negative + 'module-parser-javascript-esm-import' + option. +--module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid + export names in "import ... from ...". +--no-module-parser-javascript-esm-import-exports-presence Negative + 'module-parser-javascript-esm-import-e + xports-presence' option. +--module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. + Set to 'preserve-unknown' to preserve + unknown properties for runtime + evaluation. +--no-module-parser-javascript-esm-import-meta Negative + 'module-parser-javascript-esm-import-m + eta' option. +--module-parser-javascript-esm-import-meta-context Enable/disable evaluating + import.meta.webpackContext. +--no-module-parser-javascript-esm-import-meta-context Negative + 'module-parser-javascript-esm-import-m + eta-context' option. +--no-module-parser-javascript-esm-node Negative + 'module-parser-javascript-esm-node' + option. +--module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-module-parser-javascript-esm-node-dirname Negative + 'module-parser-javascript-esm-node-dir + name' option. +--module-parser-javascript-esm-node-filename [value] Include a polyfill for the + '__filename' variable. +--no-module-parser-javascript-esm-node-filename Negative + 'module-parser-javascript-esm-node-fil + ename' option. +--module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' + variable. +--no-module-parser-javascript-esm-node-global Negative + 'module-parser-javascript-esm-node-glo + bal' option. +--module-parser-javascript-esm-override-strict Override the module to strict or + non-strict. This may affect the + behavior of the module (some behaviors + differ between strict and non-strict), + so please configure this option + carefully. +--module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid + export names in "export ... from ...". + This might be useful to disable during + the migration from "export ... from + ..." to "export type ... from ..." + when reexporting types in TypeScript. +--no-module-parser-javascript-esm-reexport-exports-presence Negative + 'module-parser-javascript-esm-reexport + -exports-presence' option. +--module-parser-javascript-esm-require-context Enable/disable parsing of + require.context syntax. +--no-module-parser-javascript-esm-require-context Negative + 'module-parser-javascript-esm-require- + context' option. +--module-parser-javascript-esm-require-ensure Enable/disable parsing of + require.ensure syntax. +--no-module-parser-javascript-esm-require-ensure Negative + 'module-parser-javascript-esm-require- + ensure' option. +--module-parser-javascript-esm-require-include Enable/disable parsing of + require.include syntax. +--no-module-parser-javascript-esm-require-include Negative + 'module-parser-javascript-esm-require- + include' option. +--module-parser-javascript-esm-require-js Enable/disable parsing of require.js + special syntax like require.config, + requirejs.config, require.version and + requirejs.onError. +--no-module-parser-javascript-esm-require-js Negative + 'module-parser-javascript-esm-require- + js' option. +--module-parser-javascript-esm-strict-export-presence Deprecated in favor of + "exportsPresence". Emit errors instead + of warnings when imported names don't + exist in imported module. +--no-module-parser-javascript-esm-strict-export-presence Negative + 'module-parser-javascript-esm-strict-e + xport-presence' option. +--module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. +--no-module-parser-javascript-esm-strict-this-context-on-imports Negative + 'module-parser-javascript-esm-strict-t + his-context-on-imports' option. +--module-parser-javascript-esm-system Enable/disable parsing of System.js + special syntax like System.import, + System.get, System.set and + System.register. +--no-module-parser-javascript-esm-system Negative + 'module-parser-javascript-esm-system' + option. +--module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. +--no-module-parser-javascript-esm-unknown-context-critical Negative + 'module-parser-javascript-esm-unknown- + context-critical' option. +--module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-recursive Negative + 'module-parser-javascript-esm-unknown- + context-recursive' option. +--module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. +--no-module-parser-javascript-esm-unknown-context-reg-exp Negative + 'module-parser-javascript-esm-unknown- + context-reg-exp' option. +--module-parser-javascript-esm-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. +--module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() + syntax. +--no-module-parser-javascript-esm-url Negative + 'module-parser-javascript-esm-url' + option. +--module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed + as WebWorker reference. 'Abc' handles + 'new Abc()', 'Abc from xyz' handles + 'import { Abc } from "xyz"; new + Abc()', 'abc()' handles 'abc()', and + combinations are also possible. + Disable or configure parsing of + WebWorker syntax like new Worker() or + navigator.serviceWorker.register(). +--no-module-parser-javascript-esm-worker Negative + 'module-parser-javascript-esm-worker' + option. +--module-parser-javascript-esm-worker-reset Clear all items provided in + 'module.parser.javascript/esm.worker' + configuration. Disable or configure + parsing of WebWorker syntax like new + Worker() or + navigator.serviceWorker.register(). +--module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic + dependencies. +--no-module-parser-javascript-esm-wrapped-context-critical Negative + 'module-parser-javascript-esm-wrapped- + context-critical' option. +--module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. +--no-module-parser-javascript-esm-wrapped-context-recursive Negative + 'module-parser-javascript-esm-wrapped- + context-recursive' option. +--module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. +--module-parser-json-exports-depth The depth of json dependency flagged + as \`exportInfo\`. +--module-parser-json-named-exports Allow named exports for json of object + type. +--no-module-parser-json-named-exports Negative + 'module-parser-json-named-exports' + option. +--module-rules-compiler Match the child compiler name. +--module-rules-compiler-not Logical NOT. +--module-rules-dependency Match dependency type. +--module-rules-dependency-not Logical NOT. +--module-rules-enforce Enforce this rule as pre or post step. +--module-rules-exclude Shortcut for resource.exclude. +--module-rules-exclude-not Logical NOT. +--module-rules-extract-source-map Enable/Disable extracting source map. +--no-module-rules-extract-source-map Negative + 'module-rules-extract-source-map' + option. +--module-rules-include Shortcut for resource.include. +--module-rules-include-not Logical NOT. +--module-rules-issuer Match the issuer of the module (The + module pointing to this module). +--module-rules-issuer-not Logical NOT. +--module-rules-issuer-layer Match layer of the issuer of this + module (The module pointing to this + module). +--module-rules-issuer-layer-not Logical NOT. +--module-rules-layer Specifies the layer in which the + module should be placed in. +--module-rules-loader A loader request. +--module-rules-mimetype Match module mimetype when load from + Data URI. +--module-rules-mimetype-not Logical NOT. +--module-rules-real-resource Match the real resource path of the + module. +--module-rules-real-resource-not Logical NOT. +--module-rules-resource Match the resource path of the module. +--module-rules-resource-not Logical NOT. +--module-rules-resource-fragment Match the resource fragment of the + module. +--module-rules-resource-fragment-not Logical NOT. +--module-rules-resource-query Match the resource query of the + module. +--module-rules-resource-query-not Logical NOT. +--module-rules-scheme Match module scheme. +--module-rules-scheme-not Logical NOT. +--module-rules-side-effects Flags a module as with or without side + effects. +--no-module-rules-side-effects Negative 'module-rules-side-effects' + option. +--module-rules-test Shortcut for resource.test. +--module-rules-test-not Logical NOT. +--module-rules-type Module type to use for the module. +--module-rules-use-ident Unique loader options identifier. +--module-rules-use-loader A loader request. +--module-rules-use-options Options passed to a loader. +--module-rules-use A loader request. +--module-rules-reset Clear all items provided in + 'module.rules' configuration. A list + of rules. +--module-strict-export-presence Emit errors instead of warnings when + imported names don't exist in imported + module. Deprecated: This option has + moved to + 'module.parser.javascript.strictExport + Presence'. +--no-module-strict-export-presence Negative + 'module-strict-export-presence' + option. +--module-strict-this-context-on-imports Handle the this context correctly + according to the spec for namespace + objects. Deprecated: This option has + moved to + 'module.parser.javascript.strictThisCo + ntextOnImports'. +--no-module-strict-this-context-on-imports Negative + 'module-strict-this-context-on-imports + ' option. +--module-unknown-context-critical Enable warnings when using the require + function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtCritical'. +--no-module-unknown-context-critical Negative + 'module-unknown-context-critical' + option. +--module-unknown-context-recursive Enable recursive directory lookup when + using the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRecursive'. +--no-module-unknown-context-recursive Negative + 'module-unknown-context-recursive' + option. +--module-unknown-context-reg-exp [value] Sets the regular expression when using + the require function in a not + statically analyse-able way. + Deprecated: This option has moved to + 'module.parser.javascript.unknownConte + xtRegExp'. +--no-module-unknown-context-reg-exp Negative + 'module-unknown-context-reg-exp' + option. +--module-unknown-context-request Sets the request when using the + require function in a not statically + analyse-able way. Deprecated: This + option has moved to + 'module.parser.javascript.unknownConte + xtRequest'. +--module-unsafe-cache Cache the resolving of module + requests. +--no-module-unsafe-cache Negative 'module-unsafe-cache' option. +--module-wrapped-context-critical Enable warnings for partial dynamic + dependencies. Deprecated: This option + has moved to + 'module.parser.javascript.wrappedConte + xtCritical'. +--no-module-wrapped-context-critical Negative + 'module-wrapped-context-critical' + option. +--module-wrapped-context-recursive Enable recursive directory lookup for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRecursive'. +--no-module-wrapped-context-recursive Negative + 'module-wrapped-context-recursive' + option. +--module-wrapped-context-reg-exp Set the inner regular expression for + partial dynamic dependencies. + Deprecated: This option has moved to + 'module.parser.javascript.wrappedConte + xtRegExp'. +--name Name of the configuration. Used when + loading multiple configurations. +--no-node Negative 'node' option. +--node-dirname [value] Include a polyfill for the '__dirname' + variable. +--no-node-dirname Negative 'node-dirname' option. +--node-filename [value] Include a polyfill for the + '__filename' variable. +--no-node-filename Negative 'node-filename' option. +--node-global [value] Include a polyfill for the 'global' + variable. +--no-node-global Negative 'node-global' option. +--optimization-avoid-entry-iife Avoid wrapping the entry module in an + IIFE. +--no-optimization-avoid-entry-iife Negative + 'optimization-avoid-entry-iife' + option. +--optimization-check-wasm-types Check for incompatible wasm types when + importing/exporting from/to ESM. +--no-optimization-check-wasm-types Negative + 'optimization-check-wasm-types' + option. +--optimization-chunk-ids Define the algorithm to choose chunk + ids (named: readable ids for better + debugging, deterministic: numeric hash + ids for better long term caching, + size: numeric ids focused on minimal + initial download size, total-size: + numeric ids focused on minimal total + download size, false: no algorithm + used, as custom one can be provided + via plugin). +--no-optimization-chunk-ids Negative 'optimization-chunk-ids' + option. +--optimization-concatenate-modules Concatenate modules when possible to + generate less modules, more efficient + code and enable more optimizations by + the minimizer. +--no-optimization-concatenate-modules Negative + 'optimization-concatenate-modules' + option. +--optimization-emit-on-errors Emit assets even when errors occur. + Critical errors are emitted into the + generated code and will cause errors at stack. - --watch-options-poll [value] \`number\`: use polling with specified interval. \`true\`: use polling. - --no-watch-options-poll Negative 'watch-options-poll' option. - --watch-options-stdin Stop watching when stdin stream has ended. - --no-watch-options-stdin Negative 'watch-options-stdin' option. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +--watch-options-poll [value] \`number\`: use polling with specified + interval. \`true\`: use polling. +--no-watch-options-poll Negative 'watch-options-poll' option. +--watch-options-stdin Stop watching when stdin stream has + ended. +--no-watch-options-stdin Negative 'watch-options-stdin' option. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help watch --verbose' to see all available options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information for 'watch' command using the "--help" option: stderr 1`] = `""`; exports[`help should show help information for 'watch' command using the "--help" option: stdout 1`] = ` -"Usage: webpack watch|w [entries...] [options] - -Run webpack and watch for files changes. - -Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - --watch-options-stdin Stop watching when stdin stream has ended. - -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"Run webpack and watch for files changes. + +Usage: webpack watch|w [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports an + array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config + file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][chea + p-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. +-e, --extends Path to the configuration to be extended + (only works when using webpack-cli). +--mode Enable production optimizations or + development hints. +--name Name of the configuration. Used when + loading multiple configurations. +-o, --output-path The output directory as **absolute + path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to + build for. An array of environments to + build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file + change. +--watch-options-stdin Stop watching when stdin stream has + ended. +-h, --help [verbose] Display help for commands and options. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help watch --verbose' to see all available options. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using command syntax: stderr 1`] = `""`; @@ -2351,48 +16864,49 @@ Alternative usage to run commands: webpack [command] [options] The build tool for modern web applications. Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. +-c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". +--config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. +-m, --merge Merge two or more configurations using 'webpack-merge'. +--env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. +--analyze It invokes webpack-bundle-analyzer plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a file. +--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config file. +-d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. Only the last one is exported. +-e, --extends Path to the configuration to be extended (only works when using webpack-cli). +--mode Enable production optimizations or development hints. +--name Name of the configuration. Used when loading multiple configurations. +-o, --output-path The output directory as **absolute path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file change. +--watch-options-stdin Stop watching when stdin stream has ended. +-h, --help [verbose] Display help for commands and options. Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. Commands: - build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). - configtest|t [config-path] Validate a webpack configuration. - help|h [command] [option] Display help for commands and options. - info|i [options] Outputs information about your system. - serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. - version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - watch|w [entries...] [options] Run webpack and watch for files changes. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). +configtest|t [options] [config-path] Validate a webpack configuration. +help|h [options] [command] [option] Display help for commands and options. +info|i [options] Outputs information about your system. +serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. +version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +watch|w [entries...] [options] Run webpack and watch for files changes. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "--help" option with the "verbose" value #2: stderr 1`] = `""`; @@ -2403,9 +16917,9 @@ Alternative usage to run commands: webpack [command] [options] The build tool for modern web applications. ... -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +ocumentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "--help" option with the "verbose" value: stderr 1`] = `""`; @@ -2416,9 +16930,9 @@ Alternative usage to run commands: webpack [command] [options] The build tool for modern web applications. ... -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +ocumentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "--help" option: stderr 1`] = `""`; @@ -2430,278 +16944,321 @@ Alternative usage to run commands: webpack [command] [options] The build tool for modern web applications. Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. +-c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". +--config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. +-m, --merge Merge two or more configurations using 'webpack-merge'. +--env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. +--analyze It invokes webpack-bundle-analyzer plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a file. +--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config file. +-d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. Only the last one is exported. +-e, --extends Path to the configuration to be extended (only works when using webpack-cli). +--mode Enable production optimizations or development hints. +--name Name of the configuration. Used when loading multiple configurations. +-o, --output-path The output directory as **absolute path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file change. +--watch-options-stdin Stop watching when stdin stream has ended. +-h, --help [verbose] Display help for commands and options. Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. Commands: - build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). - configtest|t [config-path] Validate a webpack configuration. - help|h [command] [option] Display help for commands and options. - info|i [options] Outputs information about your system. - serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. - version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - watch|w [entries...] [options] Run webpack and watch for files changes. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). +configtest|t [options] [config-path] Validate a webpack configuration. +help|h [options] [command] [option] Display help for commands and options. +info|i [options] Outputs information about your system. +serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. +version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +watch|w [entries...] [options] Run webpack and watch for files changes. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --cache-type" option when using serve: stderr 1`] = `""`; exports[`help should show help information using the "help --cache-type" option when using serve: stdout 1`] = ` -"Usage: webpack serve --cache-type -Description: In memory caching. Filesystem caching. -Possible values: 'memory' | 'filesystem' +"--cache-type: +Usage webpack serve --cache-type +Description In memory caching. Filesystem caching. +Documentation https://webpack.js.org/option/cache-type/ +Possible values 'memory' | 'filesystem' -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --cache-type" option: stderr 1`] = `""`; exports[`help should show help information using the "help --cache-type" option: stdout 1`] = ` -"Usage: webpack --cache-type -Description: In memory caching. Filesystem caching. -Possible values: 'memory' | 'filesystem' +"--cache-type: +Usage webpack --cache-type +Description In memory caching. Filesystem caching. +Documentation https://webpack.js.org/option/cache-type/ +Possible values 'memory' | 'filesystem' -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --color" option: stderr 1`] = `""`; exports[`help should show help information using the "help --color" option: stdout 1`] = ` -"Usage: webpack --color -Description: Enable colors on console. +"--color: +Usage webpack --color +Description Enable colors on console. +Documentation https://webpack.js.org/option/color/ -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --mode" option: stderr 1`] = `""`; exports[`help should show help information using the "help --mode" option: stdout 1`] = ` -"Usage: webpack --mode -Description: Enable production optimizations or development hints. -Possible values: 'development' | 'production' | 'none' +"--mode: +Usage webpack --mode +Description Enable production optimizations or development hints. +Documentation https://webpack.js.org/option/mode/ +Possible values 'development' | 'production' | 'none' -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --no-color" option: stderr 1`] = `""`; exports[`help should show help information using the "help --no-color" option: stdout 1`] = ` -"Usage: webpack --no-color -Description: Disable colors on console. +"--no-color: +Usage webpack --no-color +Description Disable colors on console. +Documentation https://webpack.js.org/option/no-color/ -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --no-stats" option: stderr 1`] = `""`; exports[`help should show help information using the "help --no-stats" option: stdout 1`] = ` -"Usage: webpack --no-stats -Description: Negative 'stats' option. +"--no-stats: +Usage webpack --no-stats +Description Negative 'stats' option. +Documentation https://webpack.js.org/option/no-stats/ -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --output-chunk-format" option: stderr 1`] = `""`; exports[`help should show help information using the "help --output-chunk-format" option: stdout 1`] = ` -"Usage: webpack --output-chunk-format -Description: The format of chunks (formats included by default are 'array-push' (web/WebWorker), 'commonjs' (node.js), 'module' (ESM), but others might be added by plugins). -Possible values: 'array-push' | 'commonjs' | 'module' | false - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"--output-chunk-format: +Usage webpack --output-chunk-format +Description The format of chunks (formats included by default are + 'array-push' (web/WebWorker), 'commonjs' (node.js), 'module' + (ESM), but others might be added by plugins). +Documentation https://webpack.js.org/option/output-chunk-format/ +Possible values 'array-push' | 'commonjs' | 'module' | false + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --server-type" option when using serve: stderr 1`] = `""`; exports[`help should show help information using the "help --server-type" option when using serve: stdout 1`] = ` -"Usage: webpack serve --server-type -Description: Allows to set server and options (by default 'http'). -Possible values: 'http' | 'https' | 'spdy' | 'http2' +"--server-type: +Usage webpack serve --server-type +Description Allows to set server and options (by default 'http'). +Documentation https://webpack.js.org/option/server-type/ +Possible values 'http' | 'https' | 'spdy' | 'http2' -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --stats" option: stderr 1`] = `""`; exports[`help should show help information using the "help --stats" option: stdout 1`] = ` -"Usage: webpack --stats [value] -Description: Stats options object or preset name. -Possible values: 'none' | 'summary' | 'errors-only' | 'errors-warnings' | 'minimal' | 'normal' | 'detailed' | 'verbose' - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"--stats: +Usage webpack --stats [value] +Description Stats options object or preset name. +Documentation https://webpack.js.org/option/stats/ +Possible values 'none' | 'summary' | 'errors-only' | 'errors-warnings' | + 'minimal' | 'normal' | 'detailed' | 'verbose' + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --target" option: stderr 1`] = `""`; exports[`help should show help information using the "help --target" option: stdout 1`] = ` -"Usage: webpack --target -Short: webpack -t -Description: Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. -Possible values: false - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"--target: +Usage webpack --target +Short webpack -t +Description Environment to build for. Environment to build for. An array + of environments to build for all of them when possible. +Documentation https://webpack.js.org/option/target/ +Possible values false + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help --version" option: stderr 1`] = `""`; exports[`help should show help information using the "help --version" option: stdout 1`] = ` -"Usage: webpack --version -Short: webpack -v -Description: Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"--version: +Usage webpack --version +Short webpack -v +Description Output the version number of 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other packages. +Documentation https://webpack.js.org/option/version/ + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help -v" option: stderr 1`] = `""`; exports[`help should show help information using the "help -v" option: stdout 1`] = ` -"Usage: webpack --version -Short: webpack -v -Description: Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +"--version: +Usage webpack --version +Short webpack -v +Description Output the version number of 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other packages. +Documentation https://webpack.js.org/option/version/ + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help serve --color" option: stderr 1`] = `""`; exports[`help should show help information using the "help serve --color" option: stdout 1`] = ` -"Usage: webpack serve --color -Description: Enable colors on console. +"--color: +Usage webpack serve --color +Description Enable colors on console. +Documentation https://webpack.js.org/option/color/ -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help serve --mode" option: stderr 1`] = `""`; exports[`help should show help information using the "help serve --mode" option: stdout 1`] = ` -"Usage: webpack serve --mode -Description: Enable production optimizations or development hints. -Possible values: 'development' | 'production' | 'none' +"--mode: +Usage webpack serve --mode +Description Enable production optimizations or development hints. +Documentation https://webpack.js.org/option/mode/ +Possible values 'development' | 'production' | 'none' -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information using the "help serve --no-color" option: stderr 1`] = `""`; exports[`help should show help information using the "help serve --no-color" option: stdout 1`] = ` -"Usage: webpack serve --no-color -Description: Disable colors on console. +"--no-color: +Usage webpack serve --no-color +Description Disable colors on console. +Documentation https://webpack.js.org/option/no-color/ -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show help information with options for sub commands: stderr 1`] = `""`; exports[`help should show help information with options for sub commands: stdout 1`] = ` -"Usage: webpack info|i [options] +"Outputs information about your system. -Outputs information about your system. +Usage: webpack info|i [options] -Options: - -o, --output To get the output in a specified format (accept json or markdown) - -a, --additional-package Adds additional packages to the output +Options +-o, --output To get the output in a specified format + (accept json or markdown) +-a, --additional-package Adds additional packages to the output +-h, --help [verbose] Display help for commands and options. -Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', + 'webpack-cli' and 'webpack-dev-server' + and other packages. +-h, --help [verbose] Display help for commands and options. + +Run 'webpack help info --verbose' to see all available options. -To see list of all supported commands and options run 'webpack --help=verbose'. +Run 'webpack --help=verbose' to see all available commands and options. -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show the same information using the "--help" option and command syntax: stderr from command syntax 1`] = `""`; @@ -2715,48 +17272,49 @@ Alternative usage to run commands: webpack [command] [options] The build tool for modern web applications. Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. +-c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". +--config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. +-m, --merge Merge two or more configurations using 'webpack-merge'. +--env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. +--analyze It invokes webpack-bundle-analyzer plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a file. +--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config file. +-d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. Only the last one is exported. +-e, --extends Path to the configuration to be extended (only works when using webpack-cli). +--mode Enable production optimizations or development hints. +--name Name of the configuration. Used when loading multiple configurations. +-o, --output-path The output directory as **absolute path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file change. +--watch-options-stdin Stop watching when stdin stream has ended. +-h, --help [verbose] Display help for commands and options. Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. Commands: - build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). - configtest|t [config-path] Validate a webpack configuration. - help|h [command] [option] Display help for commands and options. - info|i [options] Outputs information about your system. - serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. - version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - watch|w [entries...] [options] Run webpack and watch for files changes. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). +configtest|t [options] [config-path] Validate a webpack configuration. +help|h [options] [command] [option] Display help for commands and options. +info|i [options] Outputs information about your system. +serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. +version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +watch|w [entries...] [options] Run webpack and watch for files changes. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; exports[`help should show the same information using the "--help" option and command syntax: stdout from option 1`] = ` @@ -2766,46 +17324,47 @@ Alternative usage to run commands: webpack [command] [options] The build tool for modern web applications. Options: - -c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". - --config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. - -m, --merge Merge two or more configurations using 'webpack-merge'. - --env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". - --config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. - --analyze It invokes webpack-bundle-analyzer plugin to get bundle information. - --progress [value] Print compilation progress during build. - -j, --json [pathToJsonFile] Prints result as JSON or store it in a file. - --fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. - --disable-interpret Disable interpret for loading the config file. - -d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). - --no-devtool Negative 'devtool' option. - --entry A module that is loaded upon startup. Only the last one is exported. - -e, --extends Path to the configuration to be extended (only works when using webpack-cli). - --mode Enable production optimizations or development hints. - --name Name of the configuration. Used when loading multiple configurations. - -o, --output-path The output directory as **absolute path** (required). - --stats [value] Stats options object or preset name. - -t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. - -w, --watch Enter watch mode, which rebuilds on file change. - --watch-options-stdin Stop watching when stdin stream has ended. +-c, --config Provide path to one or more webpack configuration files to process, e.g. "./webpack.config.js". +--config-name Name(s) of particular configuration(s) to use if configuration file exports an array of multiple configurations. +-m, --merge Merge two or more configurations using 'webpack-merge'. +--env Environment variables passed to the configuration when it is a function, e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the specified value for access within the configuration. +--analyze It invokes webpack-bundle-analyzer plugin to get bundle information. +--progress [value] Print compilation progress during build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a file. +--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the config file. +-d, --devtool A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. Only the last one is exported. +-e, --extends Path to the configuration to be extended (only works when using webpack-cli). +--mode Enable production optimizations or development hints. +--name Name of the configuration. Used when loading multiple configurations. +-o, --output-path The output directory as **absolute path** (required). +--stats [value] Stats options object or preset name. +-t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-w, --watch Enter watch mode, which rebuilds on file change. +--watch-options-stdin Stop watching when stdin stream has ended. +-h, --help [verbose] Display help for commands and options. Global options: - --color Enable colors on console. - --no-color Disable colors on console. - -v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - -h, --help [verbose] Display help for commands and options. +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +-h, --help [verbose] Display help for commands and options. Commands: - build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). - configtest|t [config-path] Validate a webpack configuration. - help|h [command] [option] Display help for commands and options. - info|i [options] Outputs information about your system. - serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. - version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. - watch|w [entries...] [options] Run webpack and watch for files changes. - -To see list of all supported commands and options run 'webpack --help=verbose'. - -Webpack documentation: https://webpack.js.org/. -CLI documentation: https://webpack.js.org/api/cli/. -Made with ♥ by the webpack team." +build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). +configtest|t [options] [config-path] Validate a webpack configuration. +help|h [options] [command] [option] Display help for commands and options. +info|i [options] Outputs information about your system. +serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. +version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. +watch|w [entries...] [options] Run webpack and watch for files changes. + +Run 'webpack --help=verbose' to see all available commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" `; diff --git a/test/info/additional-package.test.js b/test/info/additional-package.test.js index 8a4418a98a6..c58bbe2ec5a 100644 --- a/test/info/additional-package.test.js +++ b/test/info/additional-package.test.js @@ -1,7 +1,7 @@ "use strict"; const { join } = require("node:path"); -const { run } = require("../utils/test-utils"); +const { run, stripRendererChrome } = require("../utils/test-utils"); describe("'-a, --additional-package ' usage", () => { it("should work with only one package", async () => { @@ -13,7 +13,7 @@ describe("'-a, --additional-package ' usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("System:"); + expect(stripRendererChrome(stdout)).toContain("System:"); expect(stdout).toContain("Node"); expect(stdout).toContain("npm"); expect(stdout).toContain("Yarn"); @@ -30,7 +30,7 @@ describe("'-a, --additional-package ' usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("System:"); + expect(stripRendererChrome(stdout)).toContain("System:"); expect(stdout).toContain("Node"); expect(stdout).toContain("npm"); expect(stdout).toContain("Yarn"); @@ -49,7 +49,7 @@ describe("'-a, --additional-package ' usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("System:"); + expect(stripRendererChrome(stdout)).toContain("System:"); expect(stdout).toContain("Node"); expect(stdout).toContain("npm"); expect(stdout).toContain("Yarn"); @@ -70,7 +70,7 @@ describe("'-a, --additional-package ' usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("System:"); + expect(stripRendererChrome(stdout)).toContain("System:"); expect(stdout).toContain("Node"); expect(stdout).toContain("npm"); expect(stdout).toContain("Yarn"); diff --git a/test/info/basic.test.js b/test/info/basic.test.js index 850ed78e78c..af37172a934 100644 --- a/test/info/basic.test.js +++ b/test/info/basic.test.js @@ -1,5 +1,5 @@ const { join } = require("node:path"); -const { run } = require("../utils/test-utils"); +const { run, stripRendererChrome } = require("../utils/test-utils"); describe("basic usage", () => { it("should work", async () => { @@ -7,7 +7,7 @@ describe("basic usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("System:"); + expect(stripRendererChrome(stdout)).toContain("System:"); expect(stdout).toContain("Node"); expect(stdout).toContain("npm"); expect(stdout).toContain("Yarn"); @@ -19,9 +19,9 @@ describe("basic usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("System:"); - expect(stdout).toContain("Monorepos:"); - expect(stdout).toContain("Packages:"); + expect(stripRendererChrome(stdout)).toContain("System:"); + expect(stripRendererChrome(stdout)).toContain("Monorepos:"); + expect(stripRendererChrome(stdout)).toContain("Packages:"); expect(stdout).toContain("Node"); expect(stdout).toContain("npm"); expect(stdout).toContain("Yarn"); diff --git a/test/info/output.test.js b/test/info/output.test.js index 7ec0e814d7a..45e7ac620b4 100644 --- a/test/info/output.test.js +++ b/test/info/output.test.js @@ -1,6 +1,6 @@ "use strict"; -const { run } = require("../utils/test-utils"); +const { run, stripRendererChrome } = require("../utils/test-utils"); describe("'-o, --output ' usage", () => { it("gets info text by default", async () => { @@ -8,7 +8,7 @@ describe("'-o, --output ' usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("System:"); + expect(stripRendererChrome(stdout)).toContain("System:"); expect(stdout).toContain("Node"); expect(stdout).toContain("npm"); expect(stdout).toContain("Yarn"); @@ -20,7 +20,7 @@ describe("'-o, --output ' usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain('"System":'); + expect(stripRendererChrome(stdout)).toContain('"System":'); const parse = () => { const output = JSON.parse(stdout); diff --git a/test/serve/invalid-schema/__snapshots__/invalid-schema.test.js.snap.devServer5.webpack5 b/test/serve/invalid-schema/__snapshots__/invalid-schema.test.js.snap.devServer5.webpack5 index b53f2dba26b..077acf57e0d 100644 --- a/test/serve/invalid-schema/__snapshots__/invalid-schema.test.js.snap.devServer5.webpack5 +++ b/test/serve/invalid-schema/__snapshots__/invalid-schema.test.js.snap.devServer5.webpack5 @@ -3,8 +3,8 @@ exports[`invalid schema should log webpack error and exit process on invalid config: stderr 1`] = ` "[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema. - configuration.mode should be one of these: - "development" | "production" | "none" - -> Enable production optimizations or development hints." + "development" | "production" | "none" + -> Enable production optimizations or development hints." `; exports[`invalid schema should log webpack error and exit process on invalid config: stdout 1`] = `""`; @@ -16,22 +16,24 @@ exports[`invalid schema should log webpack error and exit process on invalid fla exports[`invalid schema should log webpack error and exit process on invalid flag: stdout 1`] = `""`; -exports[`invalid schema should log webpack-dev-server error and exit process on invalid config: stderr 1`] = ` -"[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. +exports[`invalid schema should log webpack-dev-server error and exit process on invalid config: stderr 1`] = `""`; + +exports[`invalid schema should log webpack-dev-server error and exit process on invalid config: stdout 1`] = ` +"Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.bonjour should be one of these: - boolean | object { … } - -> Allows to broadcasts dev server via ZeroConf networking on start. - -> Read more + boolean | object { … } + -> Allows to broadcasts dev server via ZeroConf networking on start. + -> Read more at stack - -> Options for bonjour. - -> Read more at https://github.com/watson/bonjour#initializing" + -> Options for bonjour. + -> Read more at https://github.com/watson/bonjour#initializing +Documentation: https://webpack.js.org/configuration/dev-server/" `; -exports[`invalid schema should log webpack-dev-server error and exit process on invalid config: stdout 1`] = `""`; +exports[`invalid schema should log webpack-dev-server error and exit process on invalid flag: stderr 1`] = `""`; -exports[`invalid schema should log webpack-dev-server error and exit process on invalid flag: stderr 1`] = ` -"[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - - options.port should be >= 0 and <= 65535." +exports[`invalid schema should log webpack-dev-server error and exit process on invalid flag: stdout 1`] = ` +"Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. + - options.port should be >= 0 and <= 65535. +Documentation: https://webpack.js.org/configuration/dev-server/" `; - -exports[`invalid schema should log webpack-dev-server error and exit process on invalid flag: stdout 1`] = `""`; diff --git a/test/version/basic.test.js b/test/version/basic.test.js index efa056eddf6..5be754fe757 100644 --- a/test/version/basic.test.js +++ b/test/version/basic.test.js @@ -15,7 +15,7 @@ describe("basic usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("webpack:"); + expect(stdout).toContain("webpack"); }); it("should work with --version", async () => { @@ -23,7 +23,7 @@ describe("basic usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("webpack:"); + expect(stdout).toContain("webpack"); }); it("should work with -v alias", async () => { @@ -31,7 +31,7 @@ describe("basic usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("webpack:"); + expect(stdout).toContain("webpack"); }); it("should work and gets more info in project root", async () => { @@ -39,7 +39,7 @@ describe("basic usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("webpack:"); + expect(stdout).toContain("webpack"); }); it("shows an appropriate warning on supplying unknown args", async () => { diff --git a/test/version/output.test.js b/test/version/output.test.js index cfc1d9b5e98..01242dc5e6e 100644 --- a/test/version/output.test.js +++ b/test/version/output.test.js @@ -1,7 +1,7 @@ "use strict"; const { join } = require("node:path"); -const { run } = require("../utils/test-utils"); +const { run, stripRendererChrome } = require("../utils/test-utils"); describe("'-o, --output ' usage", () => { it("gets info text by default", async () => { @@ -9,7 +9,7 @@ describe("'-o, --output ' usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain("webpack:"); + expect(stdout).toContain("webpack"); }); it("gets info as json", async () => { @@ -20,7 +20,7 @@ describe("'-o, --output ' usage", () => { expect(exitCode).toBe(0); expect(stderr).toBeFalsy(); - expect(stdout).toContain('"Packages":'); + expect(stripRendererChrome(stdout)).toContain('"Packages":'); const parse = () => { const output = JSON.parse(stdout); From 43b1221feddff2caddac1246c409d96f8be324d1 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Wed, 15 Apr 2026 14:00:29 +0300 Subject: [PATCH 08/15] fix(smoketests): update log message fixtures for new ui-renderer output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - versionCommand: 'webpack:' no longer appears; match 'webpack' section header emitted by renderVersionOutput instead. - infoCommand: 'System:' (envinfo colon format) replaced by '⬡ System'; match 'System' which is a substring of the new header line. - webpackDevServerWithHelpTest: renderCommandHelp emits one console.log per wrapped line so the full 82-char message never arrives in a single stdout chunk; shorten to the 49-char prefix that always fits on one line. --- smoketests/missing-packages/webpack-dev-server.test.js | 5 +++-- smoketests/missing-packages/webpack.test.js | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/smoketests/missing-packages/webpack-dev-server.test.js b/smoketests/missing-packages/webpack-dev-server.test.js index 4f9c1d77630..954cf5695e4 100644 --- a/smoketests/missing-packages/webpack-dev-server.test.js +++ b/smoketests/missing-packages/webpack-dev-server.test.js @@ -13,8 +13,9 @@ const webpackDevServerTest = () => { const webpackDevServerWithHelpTest = () => { const packageName = "webpack-dev-server"; const cliArgs = ["help", "serve"]; - const logMessage = - "To see all available options you need to install 'webpack', 'webpack-dev-server'."; + // Max 49-char prefix fits in one line. + // Deleting package's names is safe because CLI appends missing package list automatically. + const logMessage = "To see all available options you need to install"; return runTestStdout({ packageName, cliArgs, logMessage }); }; diff --git a/smoketests/missing-packages/webpack.test.js b/smoketests/missing-packages/webpack.test.js index 1081c157721..811022ec72e 100644 --- a/smoketests/missing-packages/webpack.test.js +++ b/smoketests/missing-packages/webpack.test.js @@ -39,7 +39,7 @@ const serveCommand = () => { const versionCommand = () => { const packageName = "webpack"; const args = ["version"]; - const logMessage = "webpack:"; + const logMessage = "webpack"; return runTestStdout({ packageName, @@ -60,7 +60,7 @@ const helpCommand = () => { const infoCommand = () => { const packageName = "webpack"; const args = ["info"]; - const logMessage = "System:"; + const logMessage = "System"; return runTestStdout({ packageName, cliArgs: args, logMessage }); }; From 37e915c132c1d86bd419ede38a71cb6d185478b7 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Thu, 16 Apr 2026 15:45:13 +0300 Subject: [PATCH 09/15] refactor(cli): remove pagination and stats output --- packages/webpack-cli/src/ui-renderer.ts | 149 +----------------------- packages/webpack-cli/src/webpack-cli.ts | 31 ++--- 2 files changed, 13 insertions(+), 167 deletions(-) diff --git a/packages/webpack-cli/src/ui-renderer.ts b/packages/webpack-cli/src/ui-renderer.ts index f8da2542382..56d20068b3e 100644 --- a/packages/webpack-cli/src/ui-renderer.ts +++ b/packages/webpack-cli/src/ui-renderer.ts @@ -65,12 +65,6 @@ export interface CommandMeta { description: string; } -/** Summary line shown at the bottom of a build output block. */ -export interface BuildSummary { - success: boolean; - message: string; -} - /** One section emitted by `renderInfoOutput`, e.g. "System" or "Binaries". */ export interface InfoSection { title: string; @@ -188,104 +182,7 @@ function _renderHelpOptions( } } -async function _page(lines: string[], opts: RenderOptions): Promise { - const { colors, log } = opts; - - if ( - !process.stdin.isTTY || - typeof (process.stdin as NodeJS.ReadStream & { setRawMode?: unknown }).setRawMode !== "function" - ) { - for (const line of lines) log(line); - return; - } - - const termHeight: number = (process.stdout as NodeJS.WriteStream & { rows?: number }).rows ?? 24; - const pageSize = termHeight - 2; - let pos = 0; - - const flush = (count: number) => { - const end = Math.min(pos + count, lines.length); - for (let i = pos; i < end; i++) log(lines[i]); - pos = end; - }; - - flush(pageSize); - if (pos >= lines.length) return; - - process.stdin.setRawMode(true); - process.stdin.resume(); - process.stdin.setEncoding("utf8"); - - const hint = - `${indent(INDENT)}${colors.cyan("─")} ` + - `${colors.bold("Enter")} next line ` + - `${colors.bold("Space")} next page ` + - `${colors.bold("q")} quit`; - - process.stdout.write(`\n${hint}\r`); - - await new Promise((resolve) => { - const clearHint = () => process.stdout.write(`\r${" ".repeat(process.stdout.columns ?? 80)}\r`); - const printHint = () => process.stdout.write(`${hint}`); - const onKey = (key: string) => { - if (key === "\u0003") { - // eslint-disable-next-line @typescript-eslint/no-use-before-define - cleanup(); - process.exit(0); - } - - if (key === "q" || key === "Q" || key === "\u001B") { - clearHint(); - // eslint-disable-next-line @typescript-eslint/no-use-before-define - cleanup(); - resolve(); - return; - } - - if (key === " " || key === "d") { - clearHint(); - flush(Math.floor(pageSize / 2)); - if (pos < lines.length) { - process.stdout.write("\n"); - printHint(); - } else { - // eslint-disable-next-line @typescript-eslint/no-use-before-define - cleanup(); - resolve(); - } - return; - } - - if ((key === "\r" || key === "\n" || key === "\u001B[B") && pos < lines.length) { - clearHint(); - process.stdout.write(`${lines[pos]}\n`); - pos++; - if (pos < lines.length) { - printHint(); - } else { - // eslint-disable-next-line @typescript-eslint/no-use-before-define - cleanup(); - resolve(); - } - } - }; - - const cleanup = () => { - process.stdin.removeListener("data", onKey); - process.stdin.setRawMode(false); - process.stdin.pause(); - process.stdout.write("\n"); - }; - - process.stdin.on("data", onKey); - }); -} - -export async function renderCommandHelp( - data: CommandHelpData, - opts: RenderOptions, - paginate = true, -): Promise { +export function renderCommandHelp(data: CommandHelpData, opts: RenderOptions): void { const { colors } = opts; const termWidth = Math.min(opts.columns || MAX_WIDTH, MAX_WIDTH); const div = divider(termWidth, colors); @@ -335,21 +232,7 @@ export async function renderCommandHelp( ); push(""); - const termHeight = (process.stdout as NodeJS.WriteStream & { rows?: number }).rows ?? 24; - const canPage = - paginate && - process.stdout.isTTY && - process.stdin.isTTY && - typeof (process.stdin as NodeJS.ReadStream & { setRawMode?: unknown }).setRawMode === - "function"; - const shouldPage = canPage && lines.length > termHeight - 2; - - if (!shouldPage) { - for (const line of lines) opts.log(line); - return; - } - - await _page(lines, opts); + for (const line of lines) opts.log(line); } export function renderOptionHelp(data: OptionHelpData, opts: RenderOptions): void { @@ -493,34 +376,6 @@ export function renderVersionOutput(rawEnvinfo: string, opts: RenderOptions): vo } } -export function renderStatsOutput( - statsString: string, - summary: BuildSummary | null, - opts: RenderOptions, -): void { - const { log } = opts; - const trimmed = statsString.trim(); - - if (trimmed) { - // Output the entire indented stats block as a single log() call so all - // lines arrive in one stdout chunk, watch mode tests depend on this. - const indented = trimmed - .split("\n") - .map((line) => `${indent(INDENT)}${line}`) - .join("\n"); - log(`\n${indented}`); - } - - if (summary) { - log(""); - if (summary.success) { - renderSuccess(summary.message, opts); - } else { - renderError(summary.message, opts); - } - } -} - export function renderSection(title: string, opts: RenderOptions): void { const { colors, log } = opts; const termWidth = Math.min(opts.columns, MAX_WIDTH); diff --git a/packages/webpack-cli/src/webpack-cli.ts b/packages/webpack-cli/src/webpack-cli.ts index 3e96ce76318..40830483d7f 100644 --- a/packages/webpack-cli/src/webpack-cli.ts +++ b/packages/webpack-cli/src/webpack-cli.ts @@ -44,7 +44,6 @@ import { renderInfo, renderInfoOutput, renderOptionHelp, - renderStatsOutput, renderSuccess, renderVersionOutput, renderWarning, @@ -119,6 +118,7 @@ interface CommandOptions< dependencies?: string[]; pkg?: string; preload?: () => Promise; + header?: { name: string; description: string }; options?: | CommandOption[] | ((command: Command & { context: C }) => CommandOption[]) @@ -692,13 +692,7 @@ class WebpackCLI { isVerbose, ); - const canPaginate = - Boolean(process.stdout.isTTY) && - Boolean(process.stdin.isTTY) && - typeof (process.stdin as NodeJS.ReadStream & { setRawMode?: unknown }).setRawMode === - "function"; - - await renderCommandHelp(commandHelpData, this.#renderOptions(), canPaginate); + renderCommandHelp(commandHelpData, this.#renderOptions()); renderFooter(this.#renderOptions(), { verbose: isVerbose }); process.exit(0); }); @@ -1039,12 +1033,16 @@ class WebpackCLI { } #renderOptions(): RenderOptions { + const helpConfig = this.program.configureHelp(); + const columns = + typeof helpConfig.helpWidth === "number" + ? helpConfig.helpWidth + : (process.stdout.columns ?? 80); + return { colors: this.colors, log: (line) => this.logger.raw(line), - // process.stdout.columns can be undefined in non-TTY environments - // (CI, test runners, pipes). Fall back to 80 which fits most terminals. - columns: process.stdout.columns ?? 80, + columns, }; } @@ -1258,13 +1256,8 @@ class WebpackCLI { } const commandHelpData = this.#buildCommandHelpData(command, program, isVerbose); - const canPaginate = - Boolean(process.stdout.isTTY) && - Boolean(process.stdin.isTTY) && - typeof (process.stdin as NodeJS.ReadStream & { setRawMode?: unknown }).setRawMode === - "function"; - await renderCommandHelp(commandHelpData, this.#renderOptions(), canPaginate); + renderCommandHelp(commandHelpData, this.#renderOptions()); renderFooter(this.#renderOptions(), { verbose: isVerbose }); process.exit(0); } @@ -2935,8 +2928,6 @@ class WebpackCLI { }) : null; - const renderOpts = this.#renderOptions(); - const callback: WebpackCallback = (error, stats): void => { if (error) { this.logger.error(error); @@ -3028,6 +3019,7 @@ class WebpackCLI { message: `Compiled with ${warnCount} warning${warnCount !== 1 ? "s" : ""}${time}`, }; } else { + // eslint-disable-next-line @typescript-eslint/no-unused-vars summary = { success: true, message: `Compiled successfully${time}` }; } } catch { @@ -3035,7 +3027,6 @@ class WebpackCLI { } } - renderStatsOutput(printedStats, summary, renderOpts); onFirstBuildComplete?.(); } }; From 6a2faf4be0b1520263f708f487091af9509d1a18 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Thu, 16 Apr 2026 16:23:33 +0300 Subject: [PATCH 10/15] refactor(cli): revert changes on build, watch, serve and runwebpack --- packages/webpack-cli/src/webpack-cli.ts | 138 +++--------------------- 1 file changed, 12 insertions(+), 126 deletions(-) diff --git a/packages/webpack-cli/src/webpack-cli.ts b/packages/webpack-cli/src/webpack-cli.ts index 40830483d7f..457ad6d60bc 100644 --- a/packages/webpack-cli/src/webpack-cli.ts +++ b/packages/webpack-cli/src/webpack-cli.ts @@ -41,7 +41,6 @@ import { renderCommandHelp, renderError, renderFooter, - renderInfo, renderInfoOutput, renderOptionHelp, renderSuccess, @@ -1655,7 +1654,6 @@ class WebpackCLI { this.schemaToOptions(cmd.context.webpack, undefined, this.#CLIOptions), action: async (entries, options, cmd) => { const { webpack } = cmd.context; - const renderOpts = this.#renderOptions(); if (entries.length > 0) { options.entry = [...entries, ...(options.entry || [])]; @@ -1663,19 +1661,7 @@ class WebpackCLI { options.webpack = webpack; - let headerWasPrinted = false; - - await this.runWebpack(options as Options, false, () => { - headerWasPrinted = true; - renderCommandHeader( - { name: "build", description: "Compiling your application…" }, - renderOpts, - ); - }); - - if (headerWasPrinted && !options.json) { - renderCommandFooter(renderOpts); - } + await this.runWebpack(options as Options, false); }, }, watch: { @@ -1693,7 +1679,6 @@ class WebpackCLI { this.schemaToOptions(cmd.context.webpack, undefined, this.#CLIOptions), action: async (entries, options, cmd) => { const { webpack } = cmd.context; - const renderOpts = this.#renderOptions(); if (entries.length > 0) { options.entry = [...entries, ...(options.entry || [])]; @@ -1701,12 +1686,7 @@ class WebpackCLI { options.webpack = webpack; - await this.runWebpack(options as Options, true, () => - renderCommandHeader( - { name: "watch", description: "Watching for file changes…" }, - renderOpts, - ), - ); + await this.runWebpack(options as Options, true); }, }, serve: { @@ -1735,8 +1715,6 @@ class WebpackCLI { }, action: async (entries: string[], options: CommanderArgs, cmd) => { const { webpack, webpackOptions, devServerOptions } = cmd.context; - const renderOpts = this.#renderOptions(); - let serveHeaderPrinted = false; const webpackCLIOptions: Options = { webpack, isWatchingLikeCommand: true }; const devServerCLIOptions: CommanderArgs = {}; @@ -1821,18 +1799,6 @@ class WebpackCLI { const portNumber = Number(devServerConfiguration.port); if (usedPorts.includes(portNumber)) { - renderError( - `Port ${portNumber} is already in use by another devServer configuration.`, - renderOpts, - ); - renderInfo( - "Each devServer entry must use a unique port, or use --config-name to run a single configuration.", - renderOpts, - ); - renderInfo( - "Documentation: https://webpack.js.org/configuration/dev-server/#devserverport", - renderOpts, - ); throw new Error( "Unique ports must be specified for each devServer option in your webpack configuration. Alternatively, run only 1 devServer config using the --config-name flag to specify your desired config.", ); @@ -1841,15 +1807,6 @@ class WebpackCLI { usedPorts.push(portNumber); } - // All validation passed for this compiler, safe to print the header. - if (!serveHeaderPrinted) { - renderCommandHeader( - { name: "serve", description: "Starting the development server…" }, - renderOpts, - ); - serveHeaderPrinted = true; - } - try { const server = new DevServer(devServerConfiguration, compiler); @@ -1858,14 +1815,11 @@ class WebpackCLI { servers.push(server as unknown as InstanceType); } catch (error) { if (this.isValidationError(error as Error)) { - renderError((error as Error).message, renderOpts); + this.logger.error((error as Error).message); } else { - renderError(String(error), renderOpts); + this.logger.error(error); } - renderInfo( - "Documentation: https://webpack.js.org/configuration/dev-server/", - renderOpts, - ); + process.exit(2); } } @@ -2903,11 +2857,7 @@ class WebpackCLI { return Boolean(compiler.options.watchOptions?.stdin); } - async runWebpack( - options: Options, - isWatchCommand: boolean, - headerFn?: () => void, - ): Promise { + async runWebpack(options: Options, isWatchCommand: boolean): Promise { let compiler: Compiler | MultiCompiler; let stringifyChunked: typeof stringifyChunkedType; let Readable: typeof ReadableType; @@ -2917,27 +2867,13 @@ class WebpackCLI { ({ Readable } = await import("node:stream")); } - // For non-watch builds, resolve only after the first compilation so - // the caller (build action) can safely call renderCommandFooter() knowing - // the stats have already been output. - let onFirstBuildComplete: (() => void) | undefined; - const firstBuildComplete = - !isWatchCommand && !options.watch - ? new Promise((resolve) => { - onFirstBuildComplete = resolve; - }) - : null; - const callback: WebpackCallback = (error, stats): void => { if (error) { this.logger.error(error); process.exit(2); } - const hasCompilationErrors = - stats && (stats.hasErrors() || (options.failOnWarnings && stats.hasWarnings())); - - if (hasCompilationErrors) { + if (stats && (stats.hasErrors() || (options.failOnWarnings && stats.hasWarnings()))) { process.exitCode = 1; } @@ -2962,72 +2898,28 @@ class WebpackCLI { .on("error", handleWriteError) .pipe(process.stdout) .on("error", handleWriteError) - .on("close", () => { - process.stdout.write("\n"); - onFirstBuildComplete?.(); - }); + .on("close", () => process.stdout.write("\n")); } else { Readable.from(stringifyChunked(stats.toJson(statsOptions as StatsOptions))) .on("error", handleWriteError) .pipe(fs.createWriteStream(options.json)) .on("error", handleWriteError) + // Use stderr to logging .on("close", () => { - // Use stderr to logging process.stderr.write( `[webpack-cli] ${this.colors.green( `stats are successfully stored as json to ${options.json}`, )}\n`, ); - onFirstBuildComplete?.(); }); } } else { const printedStats = stats.toString(statsOptions); - // Only emit header+chrome when there is something meaningful to frame. - // stats: none produces an empty string, matching the old behavior. - const hasOutput = printedStats.trim().length > 0; - - if (!hasCompilationErrors && hasOutput) { - headerFn?.(); - } - - // ...summary computation unchanged... - let summary: { success: boolean; message: string } | null = null; - if (!this.isMultipleCompiler(compiler)) { - try { - const json = (stats as Stats).toJson({ - all: false, - timings: true, - errorsCount: true, - warningsCount: true, - }); - const time = typeof json.time === "number" ? ` in ${json.time}ms` : ""; - const errCount = json.errorsCount ?? 0; - const warnCount = json.warningsCount ?? 0; - - if (errCount > 0) { - summary = { - success: false, - message: `Compilation failed: ${errCount} error${errCount !== 1 ? "s" : ""}${ - warnCount > 0 ? `, ${warnCount} warning${warnCount !== 1 ? "s" : ""}` : "" - }${time}`, - }; - } else if (warnCount > 0) { - summary = { - success: true, - message: `Compiled with ${warnCount} warning${warnCount !== 1 ? "s" : ""}${time}`, - }; - } else { - // eslint-disable-next-line @typescript-eslint/no-unused-vars - summary = { success: true, message: `Compiled successfully${time}` }; - } - } catch { - // proceed without summary - } + // Avoid extra empty line when `stats: 'none'` + if (printedStats) { + this.logger.raw(printedStats); } - - onFirstBuildComplete?.(); } }; @@ -3096,12 +2988,6 @@ class WebpackCLI { process.stdin.resume(); } } - - // For non-watch builds, block until the first compilation callback fires - // so callers can rely on all output being flushed before continuing. - if (firstBuildComplete) { - await firstBuildComplete; - } } } From 897b742887a13a6ace40847915efaf2ad7ba5717 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Thu, 16 Apr 2026 18:31:49 +0300 Subject: [PATCH 11/15] refactor: regress before implementing info cmd --- packages/webpack-cli/src/ui-renderer.ts | 148 ------------------------ packages/webpack-cli/src/webpack-cli.ts | 79 ++----------- 2 files changed, 12 insertions(+), 215 deletions(-) diff --git a/packages/webpack-cli/src/ui-renderer.ts b/packages/webpack-cli/src/ui-renderer.ts index 56d20068b3e..9a1ca5246f5 100644 --- a/packages/webpack-cli/src/ui-renderer.ts +++ b/packages/webpack-cli/src/ui-renderer.ts @@ -59,18 +59,6 @@ export interface CommandHelpData { globalOptions: HelpOption[]; } -/** Passed to `renderCommandHeader` to describe the running command. */ -export interface CommandMeta { - name: string; - description: string; -} - -/** One section emitted by `renderInfoOutput`, e.g. "System" or "Binaries". */ -export interface InfoSection { - title: string; - rows: Row[]; -} - // ─── Layout constants ───────────────────────────────────────────── export const MAX_WIDTH = 80; export const INDENT = 2; @@ -139,29 +127,6 @@ export function renderRows( } } -export function renderCommandHeader(meta: CommandMeta, opts: RenderOptions): void { - const { colors, log } = opts; - const termWidth = Math.min(opts.columns || MAX_WIDTH, MAX_WIDTH); - - log(""); - log(`${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(`webpack ${meta.name}`)}`); - log(divider(termWidth, colors)); - - if (meta.description) { - const descWidth = termWidth - INDENT * 2; - for (const line of wrapValue(meta.description, descWidth)) { - log(`${indent(INDENT)}${line}`); - } - log(""); - } -} - -export function renderCommandFooter(opts: RenderOptions): void { - const termWidth = Math.min(opts.columns, MAX_WIDTH); - opts.log(divider(termWidth, opts.colors)); - opts.log(""); -} - function _renderHelpOptions( options: HelpOption[], colors: Colors, @@ -227,9 +192,6 @@ export function renderCommandHelp(data: CommandHelpData, opts: RenderOptions): v } push(div); - push( - ` ${colors.cyan("ℹ")} Run ${colors.bold(`'webpack help ${data.name} --verbose'`)} to see all available options.`, - ); push(""); for (const line of lines) opts.log(line); @@ -274,116 +236,6 @@ export function renderAliasHelp(data: AliasHelpData, opts: RenderOptions): void renderOptionHelp(data.optionHelp, opts); } -export function renderError(message: string, opts: RenderOptions): void { - const { colors, log } = opts; - log(`${indent(INDENT)}${colors.red("✖")} ${colors.bold(message)}`); -} - -export function renderSuccess(message: string, opts: RenderOptions): void { - const { colors, log } = opts; - log(`${indent(INDENT)}${colors.green("✔")} ${colors.bold(message)}`); -} - -export function renderWarning(message: string, opts: RenderOptions): void { - const { colors, log } = opts; - log(`${indent(INDENT)}${colors.yellow("⚠")} ${message}`); -} - -export function renderInfo(message: string, opts: RenderOptions): void { - const { colors, log } = opts; - log(`${indent(INDENT)}${colors.cyan("ℹ")} ${message}`); -} - -export function parseEnvinfoSections(raw: string): InfoSection[] { - const sections: InfoSection[] = []; - let current: InfoSection | null = null; - - for (const line of raw.split("\n")) { - const sectionMatch = line.match(/^ {2}([^:]+):\s*$/); - if (sectionMatch) { - if (current) sections.push(current); - current = { title: sectionMatch[1].trim(), rows: [] }; - continue; - } - - const rowMatch = line.match(/^ {4}([^:]+):\s+(.+)$/); - if (rowMatch && current) { - current.rows.push({ label: rowMatch[1].trim(), value: rowMatch[2].trim() }); - continue; - } - - const emptyRowMatch = line.match(/^ {4}([^:]+):\s*$/); - if (emptyRowMatch && current) { - current.rows.push({ label: emptyRowMatch[1].trim(), value: "N/A", color: (str) => str }); - } - } - - if (current) sections.push(current); - return sections.filter((section) => section.rows.length > 0); -} - -export function renderInfoOutput(rawEnvinfo: string, opts: RenderOptions): void { - const { colors, log } = opts; - const termWidth = Math.min(opts.columns, MAX_WIDTH); - const div = divider(termWidth, colors); - const sections = parseEnvinfoSections(rawEnvinfo); - - log(""); - - for (const section of sections) { - log( - `${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(colors.cyan(section.title))}`, - ); - log(div); - renderRows(section.rows, colors, log, termWidth); - log(div); - log(""); - } -} - -export function renderVersionOutput(rawEnvinfo: string, opts: RenderOptions): void { - const { colors, log } = opts; - const termWidth = Math.min(opts.columns, MAX_WIDTH); - const div = divider(termWidth, colors); - const sections = parseEnvinfoSections(rawEnvinfo); - - for (const section of sections) { - log(""); - log( - `${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(colors.cyan(section.title))}`, - ); - log(div); - - const labelWidth = Math.max(...section.rows.map((row) => row.label.length)); - - for (const { label, value } of section.rows) { - const arrowIdx = value.indexOf("=>"); - - if (arrowIdx !== -1) { - const requested = value.slice(0, arrowIdx).trim(); - const resolved = value.slice(arrowIdx + 2).trim(); - log( - `${indent(INDENT)}${colors.bold(label.padEnd(labelWidth))}${indent(COL_GAP)}` + - `${colors.cyan(requested.padEnd(12))} ${colors.cyan("→")} ${colors.green(colors.bold(resolved))}`, - ); - } else { - log( - `${indent(INDENT)}${colors.bold(label.padEnd(labelWidth))}${indent(COL_GAP)}${colors.green(value)}`, - ); - } - } - log(div); - } -} - -export function renderSection(title: string, opts: RenderOptions): void { - const { colors, log } = opts; - const termWidth = Math.min(opts.columns, MAX_WIDTH); - log(""); - log(`${indent(INDENT)}${colors.bold(title)}`); - log(divider(termWidth, colors)); -} - export function renderFooter(opts: RenderOptions, footer: FooterOptions = {}): void { const { colors, log } = opts; diff --git a/packages/webpack-cli/src/webpack-cli.ts b/packages/webpack-cli/src/webpack-cli.ts index 457ad6d60bc..690b22a5e01 100644 --- a/packages/webpack-cli/src/webpack-cli.ts +++ b/packages/webpack-cli/src/webpack-cli.ts @@ -36,16 +36,9 @@ import { HelpOption, RenderOptions, renderAliasHelp, - renderCommandFooter, - renderCommandHeader, renderCommandHelp, - renderError, renderFooter, - renderInfoOutput, renderOptionHelp, - renderSuccess, - renderVersionOutput, - renderWarning, } from "./ui-renderer.js"; const WEBPACK_PACKAGE_IS_CUSTOM = Boolean(process.env.WEBPACK_PACKAGE); @@ -117,7 +110,6 @@ interface CommandOptions< dependencies?: string[]; pkg?: string; preload?: () => Promise; - header?: { name: string; description: string }; options?: | CommandOption[] | ((command: Command & { context: C }) => CommandOption[]) @@ -672,8 +664,6 @@ class WebpackCLI { } } - // Without this, `webpack watch --help` would start the watcher (never exits). - command.addOption(new Option("-h, --help [verbose]", "Display help for commands and options.")); command.hook("preAction", async (thisCommand) => { const opts = thisCommand.opts(); @@ -690,7 +680,6 @@ class WebpackCLI { this.program, isVerbose, ); - renderCommandHelp(commandHelpData, this.#renderOptions()); renderFooter(this.#renderOptions(), { verbose: isVerbose }); process.exit(0); @@ -1032,16 +1021,12 @@ class WebpackCLI { } #renderOptions(): RenderOptions { - const helpConfig = this.program.configureHelp(); - const columns = - typeof helpConfig.helpWidth === "number" - ? helpConfig.helpWidth - : (process.stdout.columns ?? 80); - return { colors: this.colors, log: (line) => this.logger.raw(line), - columns, + // process.stdout.columns can be undefined in non-TTY environments + // (CI, test runners, pipes). Fall back to 80 which fits most terminals. + columns: process.stdout.columns ?? 80, }; } @@ -1860,28 +1845,9 @@ class WebpackCLI { }, ], action: async (options: { output?: string }) => { - const renderOpts = this.#renderOptions(); - - if (options.output) { - // Machine-readable output requested, bypass the visual renderer entirely. - const info = await this.#renderVersion(options); - this.logger.raw(info); - return; - } + const info = await this.#renderVersion(options); - renderCommandHeader( - { name: "version", description: "Installed package versions." }, - renderOpts, - ); - - const rawInfo = await this.#getInfoOutput({ - information: { - npmPackages: `{${DEFAULT_WEBPACK_PACKAGES.map((item) => `*${item}*`).join(",")}}`, - }, - }); - - renderVersionOutput(rawInfo, renderOpts); - renderFooter(renderOpts); + this.logger.raw(info); }, }, info: { @@ -1912,23 +1878,9 @@ class WebpackCLI { }, ], action: async (options: { output?: string; additionalPackage?: string[] }) => { - const renderOpts = this.#renderOptions(); - - if (!options.output) { - renderCommandHeader( - { name: "info", description: "System and environment information." }, - renderOpts, - ); - } - const info = await this.#getInfoOutput(options); - if (options.output) { - this.logger.raw(info); - return; - } - - renderInfoOutput(info, renderOpts); + this.logger.raw(info); }, }, configtest: { @@ -1950,7 +1902,6 @@ class WebpackCLI { configPath ? { env, argv, webpack, config: [configPath] } : { env, argv, webpack }, ); const configPaths = new Set(); - const renderOpts = this.#renderOptions(); if (Array.isArray(config.options)) { for (const options of config.options) { @@ -1969,31 +1920,25 @@ class WebpackCLI { } if (configPaths.size === 0) { - renderError("No configuration found.", renderOpts); + this.logger.error("No configuration found."); process.exit(2); } - renderCommandHeader( - { name: "configtest", description: "Validating your webpack configuration." }, - renderOpts, - ); - - const pathList = [...configPaths].join(", "); - renderWarning(`Validating: ${pathList}`, renderOpts); + this.logger.info(`Validate '${[...configPaths].join(" ,")}'.`); try { cmd.context.webpack.validate(config.options); } catch (error) { if (this.isValidationError(error as Error)) { - renderError((error as Error).message, renderOpts); + this.logger.error((error as Error).message); } else { - renderError(String(error), renderOpts); + this.logger.error(error); } + process.exit(2); } - renderSuccess("No validation errors found.", renderOpts); - renderCommandFooter(renderOpts); + this.logger.success("There are no validation errors in the given webpack configuration."); }, }, }; From 1280f740097a14095ac79ffd0cdf4798ed9a9619 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Thu, 16 Apr 2026 18:40:13 +0300 Subject: [PATCH 12/15] refactor: delete prehook --- packages/webpack-cli/src/webpack-cli.ts | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/packages/webpack-cli/src/webpack-cli.ts b/packages/webpack-cli/src/webpack-cli.ts index 690b22a5e01..50fcaf68884 100644 --- a/packages/webpack-cli/src/webpack-cli.ts +++ b/packages/webpack-cli/src/webpack-cli.ts @@ -664,27 +664,6 @@ class WebpackCLI { } } - command.hook("preAction", async (thisCommand) => { - const opts = thisCommand.opts(); - - if (typeof opts.help === "undefined") { - return; - } - - const isVerbose = opts.help === "verbose"; - - this.program.forHelp = true; - - const commandHelpData = this.#buildCommandHelpData( - thisCommand as Command, - this.program, - isVerbose, - ); - renderCommandHelp(commandHelpData, this.#renderOptions()); - renderFooter(this.#renderOptions(), { verbose: isVerbose }); - process.exit(0); - }); - command.action(options.action); return command; From 6c4dd6021be6d4a5bd270340f68a0c3835c3b29e Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Thu, 16 Apr 2026 19:12:49 +0300 Subject: [PATCH 13/15] refactor(ui): implement version with minimal core impact - No changes made to runWebpack, serve, build, or watch logic. - No Pagination and legacy terminal output flow remain untouched. --- packages/webpack-cli/src/ui-renderer.ts | 137 ++++++++++++++++++++++++ packages/webpack-cli/src/webpack-cli.ts | 64 +++++++++-- 2 files changed, 193 insertions(+), 8 deletions(-) diff --git a/packages/webpack-cli/src/ui-renderer.ts b/packages/webpack-cli/src/ui-renderer.ts index 9a1ca5246f5..6bf0f901977 100644 --- a/packages/webpack-cli/src/ui-renderer.ts +++ b/packages/webpack-cli/src/ui-renderer.ts @@ -59,6 +59,18 @@ export interface CommandHelpData { globalOptions: HelpOption[]; } +/** Passed to `renderCommandHeader` to describe the running command. */ +export interface CommandMeta { + name: string; + description: string; +} + +/** One section emitted by `renderInfoOutput`, e.g. "System" or "Binaries". */ +export interface InfoSection { + title: string; + rows: Row[]; +} + // ─── Layout constants ───────────────────────────────────────────── export const MAX_WIDTH = 80; export const INDENT = 2; @@ -127,6 +139,29 @@ export function renderRows( } } +export function renderCommandHeader(meta: CommandMeta, opts: RenderOptions): void { + const { colors, log } = opts; + const termWidth = Math.min(opts.columns || MAX_WIDTH, MAX_WIDTH); + + log(""); + log(`${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(`webpack ${meta.name}`)}`); + log(divider(termWidth, colors)); + + if (meta.description) { + const descWidth = termWidth - INDENT * 2; + for (const line of wrapValue(meta.description, descWidth)) { + log(`${indent(INDENT)}${line}`); + } + log(""); + } +} + +export function renderCommandFooter(opts: RenderOptions): void { + const termWidth = Math.min(opts.columns, MAX_WIDTH); + opts.log(divider(termWidth, opts.colors)); + opts.log(""); +} + function _renderHelpOptions( options: HelpOption[], colors: Colors, @@ -236,6 +271,108 @@ export function renderAliasHelp(data: AliasHelpData, opts: RenderOptions): void renderOptionHelp(data.optionHelp, opts); } +export function renderError(message: string, opts: RenderOptions): void { + const { colors, log } = opts; + log(`${indent(INDENT)}${colors.red("✖")} ${colors.bold(message)}`); +} + +export function renderSuccess(message: string, opts: RenderOptions): void { + const { colors, log } = opts; + log(`${indent(INDENT)}${colors.green("✔")} ${colors.bold(message)}`); +} + +export function renderWarning(message: string, opts: RenderOptions): void { + const { colors, log } = opts; + log(`${indent(INDENT)}${colors.yellow("⚠")} ${message}`); +} + +export function renderInfo(message: string, opts: RenderOptions): void { + const { colors, log } = opts; + log(`${indent(INDENT)}${colors.cyan("ℹ")} ${message}`); +} + +export function parseEnvinfoSections(raw: string): InfoSection[] { + const sections: InfoSection[] = []; + let current: InfoSection | null = null; + + for (const line of raw.split("\n")) { + const sectionMatch = line.match(/^ {2}([^:]+):\s*$/); + if (sectionMatch) { + if (current) sections.push(current); + current = { title: sectionMatch[1].trim(), rows: [] }; + continue; + } + + const rowMatch = line.match(/^ {4}([^:]+):\s+(.+)$/); + if (rowMatch && current) { + current.rows.push({ label: rowMatch[1].trim(), value: rowMatch[2].trim() }); + continue; + } + + const emptyRowMatch = line.match(/^ {4}([^:]+):\s*$/); + if (emptyRowMatch && current) { + current.rows.push({ label: emptyRowMatch[1].trim(), value: "N/A", color: (str) => str }); + } + } + + if (current) sections.push(current); + return sections.filter((section) => section.rows.length > 0); +} + +export function renderInfoOutput(rawEnvinfo: string, opts: RenderOptions): void { + const { colors, log } = opts; + const termWidth = Math.min(opts.columns, MAX_WIDTH); + const div = divider(termWidth, colors); + const sections = parseEnvinfoSections(rawEnvinfo); + + log(""); + + for (const section of sections) { + log( + `${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(colors.cyan(section.title))}`, + ); + log(div); + renderRows(section.rows, colors, log, termWidth); + log(div); + log(""); + } +} + +export function renderVersionOutput(rawEnvinfo: string, opts: RenderOptions): void { + const { colors, log } = opts; + const termWidth = Math.min(opts.columns, MAX_WIDTH); + const div = divider(termWidth, colors); + const sections = parseEnvinfoSections(rawEnvinfo); + + for (const section of sections) { + log(""); + log( + `${indent(INDENT)}${colors.bold(colors.cyan("⬡"))} ${colors.bold(colors.cyan(section.title))}`, + ); + log(div); + + const labelWidth = Math.max(...section.rows.map((row) => row.label.length)); + + for (const { label, value } of section.rows) { + const arrowIdx = value.indexOf("=>"); + + if (arrowIdx !== -1) { + const requested = value.slice(0, arrowIdx).trim(); + const resolved = value.slice(arrowIdx + 2).trim(); + log( + `${indent(INDENT)}${colors.bold(label.padEnd(labelWidth))}${indent(COL_GAP)}` + + `${colors.cyan(requested.padEnd(12))} ${colors.cyan("→")} ${colors.green(colors.bold(resolved))}`, + ); + } else { + log( + `${indent(INDENT)}${colors.bold(label.padEnd(labelWidth))}${indent(COL_GAP)}${colors.green(value)}`, + ); + } + } + log(div); + } +} + export function renderFooter(opts: RenderOptions, footer: FooterOptions = {}): void { const { colors, log } = opts; diff --git a/packages/webpack-cli/src/webpack-cli.ts b/packages/webpack-cli/src/webpack-cli.ts index 50fcaf68884..ebe04ad2c87 100644 --- a/packages/webpack-cli/src/webpack-cli.ts +++ b/packages/webpack-cli/src/webpack-cli.ts @@ -36,9 +36,16 @@ import { HelpOption, RenderOptions, renderAliasHelp, + renderCommandFooter, + renderCommandHeader, renderCommandHelp, + renderError, renderFooter, + renderInfoOutput, renderOptionHelp, + renderSuccess, + renderVersionOutput, + renderWarning, } from "./ui-renderer.js"; const WEBPACK_PACKAGE_IS_CUSTOM = Boolean(process.env.WEBPACK_PACKAGE); @@ -1824,9 +1831,28 @@ class WebpackCLI { }, ], action: async (options: { output?: string }) => { - const info = await this.#renderVersion(options); + const renderOpts = this.#renderOptions(); - this.logger.raw(info); + if (options.output) { + // Machine-readable output requested, bypass the visual renderer entirely. + const info = await this.#renderVersion(options); + this.logger.raw(info); + return; + } + + renderCommandHeader( + { name: "version", description: "Installed package versions." }, + renderOpts, + ); + + const rawInfo = await this.#getInfoOutput({ + information: { + npmPackages: `{${DEFAULT_WEBPACK_PACKAGES.map((item) => `*${item}*`).join(",")}}`, + }, + }); + + renderVersionOutput(rawInfo, renderOpts); + renderFooter(renderOpts); }, }, info: { @@ -1857,9 +1883,23 @@ class WebpackCLI { }, ], action: async (options: { output?: string; additionalPackage?: string[] }) => { + const renderOpts = this.#renderOptions(); + + if (!options.output) { + renderCommandHeader( + { name: "info", description: "System and environment information." }, + renderOpts, + ); + } + const info = await this.#getInfoOutput(options); - this.logger.raw(info); + if (options.output) { + this.logger.raw(info); + return; + } + + renderInfoOutput(info, renderOpts); }, }, configtest: { @@ -1881,6 +1921,7 @@ class WebpackCLI { configPath ? { env, argv, webpack, config: [configPath] } : { env, argv, webpack }, ); const configPaths = new Set(); + const renderOpts = this.#renderOptions(); if (Array.isArray(config.options)) { for (const options of config.options) { @@ -1899,25 +1940,32 @@ class WebpackCLI { } if (configPaths.size === 0) { - this.logger.error("No configuration found."); + renderError("No configuration found.", renderOpts); process.exit(2); } - this.logger.info(`Validate '${[...configPaths].join(" ,")}'.`); + renderCommandHeader( + { name: "configtest", description: "Validating your webpack configuration." }, + renderOpts, + ); + + const pathList = [...configPaths].join(", "); + renderWarning(`Validating: ${pathList}`, renderOpts); try { cmd.context.webpack.validate(config.options); } catch (error) { if (this.isValidationError(error as Error)) { - this.logger.error((error as Error).message); + renderError((error as Error).message, renderOpts); } else { - this.logger.error(error); + renderError(String(error), renderOpts); } process.exit(2); } - this.logger.success("There are no validation errors in the given webpack configuration."); + renderSuccess("No validation errors found.", renderOpts); + renderCommandFooter(renderOpts); }, }, }; From 180f89cedb91f741a97aae16a719f56386257944 Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Thu, 16 Apr 2026 22:14:52 +0300 Subject: [PATCH 14/15] test: update snaphots --- .../__snapshots__/CLI.test.js.snap.webpack5 | 6 - .../ui-renderer.test.js.snap.webpack5 | 21 - test/api/ui-renderer.test.js | 88 +- .../help.test.js.snap.devServer5.webpack5 | 11695 +--------------- ...id-schema.test.js.snap.devServer5.webpack5 | 20 +- 5 files changed, 302 insertions(+), 11528 deletions(-) diff --git a/test/api/__snapshots__/CLI.test.js.snap.webpack5 b/test/api/__snapshots__/CLI.test.js.snap.webpack5 index 7fe7209f554..7c38a6d0e97 100644 --- a/test/api/__snapshots__/CLI.test.js.snap.webpack5 +++ b/test/api/__snapshots__/CLI.test.js.snap.webpack5 @@ -38,9 +38,6 @@ exports[`CLI API custom help output should display help for a command 1`] = ` [ " or markdown)", ], - [ - " -h, --help [verbose] Display help for commands and options.", - ], [ "", ], @@ -71,9 +68,6 @@ exports[`CLI API custom help output should display help for a command 1`] = ` [ " ──────────────────────────────────────────────────────────────────────────", ], - [ - " ℹ Run 'webpack help version --verbose' to see all available options.", - ], [ "", ], diff --git a/test/api/__snapshots__/ui-renderer.test.js.snap.webpack5 b/test/api/__snapshots__/ui-renderer.test.js.snap.webpack5 index 66f79600f8d..e853e31cb8c 100644 --- a/test/api/__snapshots__/ui-renderer.test.js.snap.webpack5 +++ b/test/api/__snapshots__/ui-renderer.test.js.snap.webpack5 @@ -124,7 +124,6 @@ exports[`renderCommandHelp should match full output snapshot for build command 1 " -h, --help [verbose] Display help for commands and options.", "", " ──────────────────────────────────────────────────────────────────────────", - " ℹ Run 'webpack help build --verbose' to see all available options.", "", ] `; @@ -152,7 +151,6 @@ exports[`renderCommandHelp should match full output snapshot for info command 1` " -h, --help [verbose] Display help for commands and options.", "", " ──────────────────────────────────────────────────────────────────────────", - " ℹ Run 'webpack help info --verbose' to see all available options.", "", ] `; @@ -231,25 +229,6 @@ exports[`renderOptionHelp should match snapshot with all fields 1`] = ` ] `; -exports[`renderStatsOutput should match snapshot for failed build 1`] = ` -[ - " - ERROR in ./src/index.js - Module not found: './missing'", - "", - " ✖ Compilation failed: 1 error", -] -`; - -exports[`renderStatsOutput should match snapshot for successful build 1`] = ` -[ - " - asset main.js 2 KiB [emitted]", - "", - " ✔ Compiled successfully in 120ms", -] -`; - exports[`renderSuccess should match snapshot 1`] = ` [ " ✔ all good", diff --git a/test/api/ui-renderer.test.js b/test/api/ui-renderer.test.js index a63ef2c2061..59e632a784a 100644 --- a/test/api/ui-renderer.test.js +++ b/test/api/ui-renderer.test.js @@ -11,7 +11,6 @@ const { renderInfo, renderInfoOutput, renderOptionHelp, - renderStatsOutput, renderSuccess, renderVersionOutput, renderWarning, @@ -177,25 +176,25 @@ describe("renderVersionOutput", () => { describe("renderCommandHelp", () => { it("should render the command name in the header", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); expect(getOutput(captured)).toContain("webpack build"); }); it("should render the command description", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); expect(getOutput(captured)).toContain("Run webpack"); }); it("should render the Usage line with aliases", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); expect(getOutput(captured)).toContain("build|bundle|b"); }); it("should render all option flags", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); const output = getOutput(captured); expect(output).toContain("--config"); expect(output).toContain("--mode"); @@ -204,7 +203,7 @@ describe("renderCommandHelp", () => { it("should render all option descriptions", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); const output = getOutput(captured); expect(output).toContain("Provide path"); expect(output).toContain("watch mode"); @@ -212,26 +211,26 @@ describe("renderCommandHelp", () => { it("should render the Options section header", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); expect(getOutput(captured)).toContain("Options"); }); it("should render the Global options section header", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); expect(getOutput(captured)).toContain("Global options"); }); it("should render global option flags", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); expect(getOutput(captured)).toContain("--color"); expect(getOutput(captured)).toContain("--no-color"); }); it("should use the same column width for Options and Global options", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); const optionLines = captured.filter((l) => stripAnsi(l).startsWith(" -")); const descStarts = optionLines .map((l) => { @@ -249,14 +248,14 @@ describe("renderCommandHelp", () => { options: [{ flags: "--very-long-option-name", description: "A ".repeat(80).trim() }], }; const { captured, opts } = makeOpts(80); - await renderCommandHelp(longDesc, opts, false); + renderCommandHelp(longDesc, opts); const overflowing = captured.filter((l) => stripAnsi(l).length > 82); expect(overflowing).toHaveLength(0); }); it("should work for the info command", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_INFO, opts, false); + renderCommandHelp(COMMAND_HELP_INFO, opts); const output = getOutput(captured); expect(output).toContain("webpack info"); expect(output).toContain("--output"); @@ -265,7 +264,7 @@ describe("renderCommandHelp", () => { it("should not overflow terminal width", async () => { const { captured, opts } = makeOpts(80); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); const overflowing = captured.filter((l) => stripAnsi(l).length > 82); expect(overflowing).toHaveLength(0); }); @@ -276,19 +275,19 @@ describe("renderCommandHelp", () => { description: `Description for option ${i}`, })); const { captured, opts } = makeOpts(); - await renderCommandHelp({ ...COMMAND_HELP_BUILD, options: manyOptions }, opts, false); + renderCommandHelp({ ...COMMAND_HELP_BUILD, options: manyOptions }, opts); expect(captured.filter((l) => l.includes("--option-"))).toHaveLength(40); }); it("should match full output snapshot for build command", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_BUILD, opts, false); + renderCommandHelp(COMMAND_HELP_BUILD, opts); expect(captured).toMatchSnapshot(); }); it("should match full output snapshot for info command", async () => { const { captured, opts } = makeOpts(); - await renderCommandHelp(COMMAND_HELP_INFO, opts, false); + renderCommandHelp(COMMAND_HELP_INFO, opts); expect(captured).toMatchSnapshot(); }); }); @@ -371,63 +370,6 @@ describe("renderCommandFooter", () => { }); }); -describe("renderStatsOutput", () => { - it("should indent each line of the stats string", () => { - const { captured, opts } = makeOpts(); - renderStatsOutput("asset main.js 2 KiB [emitted]", { success: true, message: "OK" }, opts); - const statsEntry = captured.find((line) => line.includes("asset main.js")); - expect(statsEntry).toBeDefined(); - const firstContentLine = statsEntry.split("\n").find((line) => line.includes("asset main.js")); - expect(firstContentLine.startsWith(" ".repeat(INDENT))).toBe(true); - }); - - it("should render success summary with ✔", () => { - const { captured, opts } = makeOpts(); - renderStatsOutput("", { success: true, message: "Compiled successfully" }, opts); - expect(getOutput(captured)).toContain("✔"); - expect(getOutput(captured)).toContain("Compiled successfully"); - }); - - it("should render error summary with ✖", () => { - const { captured, opts } = makeOpts(); - renderStatsOutput("", { success: false, message: "Build failed" }, opts); - expect(getOutput(captured)).toContain("✖"); - expect(getOutput(captured)).toContain("Build failed"); - }); - - it("should handle empty stats string gracefully", () => { - const { captured, opts } = makeOpts(); - expect(() => renderStatsOutput("", null, opts)).not.toThrow(); - expect(captured).toHaveLength(0); - }); - - it("should handle whitespace-only stats string", () => { - const { captured, opts } = makeOpts(); - renderStatsOutput(" \n ", null, opts); - expect(captured).toHaveLength(0); - }); - - it("should match snapshot for successful build", () => { - const { captured, opts } = makeOpts(); - renderStatsOutput( - "asset main.js 2 KiB [emitted]", - { success: true, message: "Compiled successfully in 120ms" }, - opts, - ); - expect(captured).toMatchSnapshot(); - }); - - it("should match snapshot for failed build", () => { - const { captured, opts } = makeOpts(); - renderStatsOutput( - "ERROR in ./src/index.js\nModule not found: './missing'", - { success: false, message: "Compilation failed: 1 error" }, - opts, - ); - expect(captured).toMatchSnapshot(); - }); -}); - describe("renderOptionHelp", () => { it("should render option name in header", () => { const { captured, opts } = makeOpts(); diff --git a/test/help/__snapshots__/help.test.js.snap.devServer5.webpack5 b/test/help/__snapshots__/help.test.js.snap.devServer5.webpack5 index fb25a8b2875..9afb3a5d458 100644 --- a/test/help/__snapshots__/help.test.js.snap.devServer5.webpack5 +++ b/test/help/__snapshots__/help.test.js.snap.devServer5.webpack5 @@ -117,10 +117,9 @@ Options: --name Name of the configuration. Used when loading multiple configurations. -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options: --color Enable colors on console. @@ -130,8 +129,8 @@ Global options: Commands: build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). -configtest|t [options] [config-path] Validate a webpack configuration. -help|h [options] [command] [option] Display help for commands and options. +configtest|t [config-path] Validate a webpack configuration. +help|h [command] [option] Display help for commands and options. info|i [options] Outputs information about your system. serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. @@ -171,10 +170,9 @@ Options: --name Name of the configuration. Used when loading multiple configurations. -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options: --color Enable colors on console. @@ -184,8 +182,8 @@ Global options: Commands: build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). -configtest|t [options] [config-path] Validate a webpack configuration. -help|h [options] [command] [option] Display help for commands and options. +configtest|t [config-path] Validate a webpack configuration. +help|h [command] [option] Display help for commands and options. info|i [options] Outputs information about your system. serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. @@ -225,10 +223,9 @@ Options: --name Name of the configuration. Used when loading multiple configurations. -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options: --color Enable colors on console. @@ -238,8 +235,8 @@ Global options: Commands: build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). -configtest|t [options] [config-path] Validate a webpack configuration. -help|h [options] [command] [option] Display help for commands and options. +configtest|t [config-path] Validate a webpack configuration. +help|h [command] [option] Display help for commands and options. info|i [options] Outputs information about your system. serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. @@ -299,14 +296,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -316,8 +313,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help build --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -604,1581 +599,10 @@ Options module source type. --no-experiments-output-module Negative 'experiments-output-module' option. ---experiments-sync-web-assembly Support WebAssembly as synchronous - EcmaScript Module (outdated). ---no-experiments-sync-web-assembly Negative - 'experiments-sync-web-assembly' - option. --e, --extends Path to the configuration to be - extended (only works when using - webpack-cli). ---extends-reset Clear all items provided in 'extends' - configuration. Extend configuration - from another configuration (only works - when using webpack-cli). ---externals Every matched dependency becomes - external. An exact matched dependency - becomes external. The same string is - used as external dependency. ---externals-reset Clear all items provided in - 'externals' configuration. Specify - dependencies that shouldn't be - resolved by webpack, but should become - dependencies of the resulting bundle. - The kind of the dependency depends on - \`output.libraryTarget\`. ---externals-presets-electron Treat common electron built-in modules - in main and preload context like - 'electron', 'ipc' or 'shell' as - external and load them via require() - when used. ---no-externals-presets-electron Negative 'externals-presets-electron' - option. ---externals-presets-electron-main Treat electron built-in modules in the - main context like 'app', 'ipc-main' or - 'shell' as external and load them via - require() when used. ---no-externals-presets-electron-main Negative - 'externals-presets-electron-main' - option. ---externals-presets-electron-preload Treat electron built-in modules in the - preload context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-preload Negative - 'externals-presets-electron-preload' - option. ---externals-presets-electron-renderer Treat electron built-in modules in the - renderer context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-renderer Negative - 'externals-presets-electron-renderer' - option. ---externals-presets-node Treat node.js built-in modules like - fs, path or vm as external and load - them via require() when used. ---no-externals-presets-node Negative 'externals-presets-node' - option. ---externals-presets-nwjs Treat NW.js legacy nw.gui module as - external and load it via require() - when used. ---no-externals-presets-nwjs Negative 'externals-presets-nwjs' - option. ---externals-presets-web Treat references to 'http(s)://...' - and 'std:...' as external and load - them via import when used (Note that - this changes execution order as - externals are executed before any - other code in the chunk). ---no-externals-presets-web Negative 'externals-presets-web' - option. ---externals-presets-web-async Treat references to 'http(s)://...' - and 'std:...' as external and load - them via async import() when used - (Note that this external type is an - async module, which has various - effects on the execution). ---no-externals-presets-web-async Negative 'externals-presets-web-async' - option. ---externals-type Specifies the default type of - externals ('amd*', 'umd*', 'system' - and 'jsonp' depend on - output.libraryTarget set to the same - value). ---ignore-warnings A RegExp to select the warning - message. ---ignore-warnings-file A RegExp to select the origin file for - the warning. ---ignore-warnings-message A RegExp to select the warning - message. ---ignore-warnings-module A RegExp to select the origin module - for the warning. ---ignore-warnings-reset Clear all items provided in - 'ignoreWarnings' configuration. Ignore - specific warnings. ---infrastructure-logging-append-only Only appends lines to the output. - Avoids updating existing output e. g. - for status messages. This option is - only used when no custom console is - provided. ---no-infrastructure-logging-append-only Negative - 'infrastructure-logging-append-only' - option. ---infrastructure-logging-colors Enables/Disables colorful output. This - option is only used when no custom - console is provided. ---no-infrastructure-logging-colors Negative - 'infrastructure-logging-colors' - option. ---infrastructure-logging-debug [value...] Enable/Disable debug logging for all - loggers. Enable debug logging for - specific loggers. ---no-infrastructure-logging-debug Negative - 'infrastructure-logging-debug' option. ---infrastructure-logging-debug-reset Clear all items provided in - 'infrastructureLogging.debug' - configuration. Enable debug logging - for specific loggers. ---infrastructure-logging-level Log level. ---mode Enable production optimizations or - development hints. ---module-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-expr-context-critical Negative - 'module-expr-context-critical' option. ---module-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. Deprecated: - This option has moved to - 'module.parser.javascript.exprContextR - ecursive'. ---no-module-expr-context-recursive Negative - 'module-expr-context-recursive' - option. ---module-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.exprContextR - egExp'. ---no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' - option. ---module-expr-context-request Set the default request for full - dynamic dependencies. Deprecated: This - option has moved to - 'module.parser.javascript.exprContextR - equest'. ---module-generator-asset-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-binary Negative - 'module-generator-asset-binary' - option. ---module-generator-asset-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-data-url-encoding Negative - 'module-generator-asset-data-url-encod - ing' option. ---module-generator-asset-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-emit Negative 'module-generator-asset-emit' - option. ---module-generator-asset-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-asset-inline-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-inline-binary Negative - 'module-generator-asset-inline-binary' - option. ---module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-inline-data-url-encoding Negative - 'module-generator-asset-inline-data-ur - l-encoding' option. ---module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-resource-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-resource-binary Negative - 'module-generator-asset-resource-binar - y' option. ---module-generator-asset-resource-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-resource-emit Negative - 'module-generator-asset-resource-emit' - option. ---module-generator-asset-resource-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-resource-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-resource-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-css-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-es-module Negative - 'module-generator-css-es-module' - option. ---module-generator-css-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-exports-only Negative - 'module-generator-css-exports-only' - option. ---module-generator-css-auto-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-auto-es-module Negative - 'module-generator-css-auto-es-module' - option. ---module-generator-css-auto-export-type Configure how CSS content is exported - as default. ---module-generator-css-auto-exports-convention Specifies the convention of exported - names. ---module-generator-css-auto-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-auto-exports-only Negative - 'module-generator-css-auto-exports-onl - y' option. ---module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-auto-local-ident-name Configure the generated local ident - name. ---module-generator-css-global-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-global-es-module Negative - 'module-generator-css-global-es-module - ' option. ---module-generator-css-global-export-type Configure how CSS content is exported - as default. ---module-generator-css-global-exports-convention Specifies the convention of exported - names. ---module-generator-css-global-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-global-exports-only Negative - 'module-generator-css-global-exports-o - nly' option. ---module-generator-css-global-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-global-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-global-local-ident-name Configure the generated local ident - name. ---module-generator-css-module-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-module-es-module Negative - 'module-generator-css-module-es-module - ' option. ---module-generator-css-module-export-type Configure how CSS content is exported - as default. ---module-generator-css-module-exports-convention Specifies the convention of exported - names. ---module-generator-css-module-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-module-exports-only Negative - 'module-generator-css-module-exports-o - nly' option. ---module-generator-css-module-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-module-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-module-local-ident-name Configure the generated local ident - name. ---module-generator-json-json-parse Use \`JSON.parse\` when the JSON string - is longer than 20 characters. ---no-module-generator-json-json-parse Negative - 'module-generator-json-json-parse' - option. ---module-no-parse A regular expression, when matched the - module is not parsed. An absolute - path, when the module starts with this - path it is not parsed. ---module-no-parse-reset Clear all items provided in - 'module.noParse' configuration. Don't - parse files matching. It's matched - against the full resolved request. ---module-parser-asset-data-url-condition-max-size Maximum size of asset that should be - inline as modules. Default: 8kb. ---module-parser-css-export-type Configure how CSS content is exported - as default. ---module-parser-css-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-import Negative 'module-parser-css-import' - option. ---module-parser-css-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-named-exports Negative - 'module-parser-css-named-exports' - option. ---module-parser-css-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-url Negative 'module-parser-css-url' - option. ---module-parser-css-auto-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-auto-animation Negative - 'module-parser-css-auto-animation' - option. ---module-parser-css-auto-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-auto-container Negative - 'module-parser-css-auto-container' - option. ---module-parser-css-auto-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-auto-custom-idents Negative - 'module-parser-css-auto-custom-idents' - option. ---module-parser-css-auto-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-auto-dashed-idents Negative - 'module-parser-css-auto-dashed-idents' - option. ---module-parser-css-auto-export-type Configure how CSS content is exported - as default. ---module-parser-css-auto-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-auto-function Negative - 'module-parser-css-auto-function' - option. ---module-parser-css-auto-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' - option. ---module-parser-css-auto-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-auto-import Negative - 'module-parser-css-auto-import' - option. ---module-parser-css-auto-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-auto-named-exports Negative - 'module-parser-css-auto-named-exports' - option. ---module-parser-css-auto-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' - option. ---module-parser-css-global-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-global-animation Negative - 'module-parser-css-global-animation' - option. ---module-parser-css-global-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-global-container Negative - 'module-parser-css-global-container' - option. ---module-parser-css-global-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-global-custom-idents Negative - 'module-parser-css-global-custom-ident - s' option. ---module-parser-css-global-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-global-dashed-idents Negative - 'module-parser-css-global-dashed-ident - s' option. ---module-parser-css-global-export-type Configure how CSS content is exported - as default. ---module-parser-css-global-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-global-function Negative - 'module-parser-css-global-function' - option. ---module-parser-css-global-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-global-grid Negative - 'module-parser-css-global-grid' - option. ---module-parser-css-global-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-global-import Negative - 'module-parser-css-global-import' - option. ---module-parser-css-global-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-global-named-exports Negative - 'module-parser-css-global-named-export - s' option. ---module-parser-css-global-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-global-url Negative - 'module-parser-css-global-url' option. ---module-parser-css-module-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-module-animation Negative - 'module-parser-css-module-animation' - option. ---module-parser-css-module-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-module-container Negative - 'module-parser-css-module-container' - option. ---module-parser-css-module-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-module-custom-idents Negative - 'module-parser-css-module-custom-ident - s' option. ---module-parser-css-module-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-module-dashed-idents Negative - 'module-parser-css-module-dashed-ident - s' option. ---module-parser-css-module-export-type Configure how CSS content is exported - as default. ---module-parser-css-module-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-module-function Negative - 'module-parser-css-module-function' - option. ---module-parser-css-module-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-module-grid Negative - 'module-parser-css-module-grid' - option. ---module-parser-css-module-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-module-import Negative - 'module-parser-css-module-import' - option. ---module-parser-css-module-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-module-named-exports Negative - 'module-parser-css-module-named-export - s' option. ---module-parser-css-module-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-module-url Negative - 'module-parser-css-module-url' option. ---no-module-parser-javascript-amd Negative - 'module-parser-javascript-amd' option. ---module-parser-javascript-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-browserify Negative - 'module-parser-javascript-browserify' - option. ---module-parser-javascript-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-commonjs Negative - 'module-parser-javascript-commonjs' - option. ---module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-commonjs-magic-comments Negative - 'module-parser-javascript-commonjs-mag - ic-comments' option. ---module-parser-javascript-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-create-require Negative - 'module-parser-javascript-create-requi - re' option. ---module-parser-javascript-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-defer-import Negative - 'module-parser-javascript-defer-import - ' option. ---module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-impo - rt-fetch-priority' option. ---module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-impo - rt-prefetch' option. ---module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-impo - rt-preload' option. ---module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. - Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-dynamic-url Negative - 'module-parser-javascript-dynamic-url' - option. ---module-parser-javascript-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-exports-presence Negative - 'module-parser-javascript-exports-pres - ence' option. ---module-parser-javascript-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-expr-context-critical Negative - 'module-parser-javascript-expr-context - -critical' option. ---module-parser-javascript-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-expr-context-recursive Negative - 'module-parser-javascript-expr-context - -recursive' option. ---module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-expr-context-reg-exp Negative - 'module-parser-javascript-expr-context - -reg-exp' option. ---module-parser-javascript-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-harmony Negative - 'module-parser-javascript-harmony' - option. ---module-parser-javascript-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-import Negative - 'module-parser-javascript-import' - option. ---module-parser-javascript-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-import-exports-presence Negative - 'module-parser-javascript-import-expor - ts-presence' option. ---module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-import-meta Negative - 'module-parser-javascript-import-meta' - option. ---module-parser-javascript-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-import-meta-context Negative - 'module-parser-javascript-import-meta- - context' option. ---no-module-parser-javascript-node Negative - 'module-parser-javascript-node' - option. ---module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-node-dirname Negative - 'module-parser-javascript-node-dirname - ' option. ---module-parser-javascript-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-node-filename Negative - 'module-parser-javascript-node-filenam - e' option. ---module-parser-javascript-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-node-global Negative - 'module-parser-javascript-node-global' - option. ---module-parser-javascript-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-reexport-exports-presence Negative - 'module-parser-javascript-reexport-exp - orts-presence' option. ---module-parser-javascript-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-require-context Negative - 'module-parser-javascript-require-cont - ext' option. ---module-parser-javascript-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-require-ensure Negative - 'module-parser-javascript-require-ensu - re' option. ---module-parser-javascript-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-require-include Negative - 'module-parser-javascript-require-incl - ude' option. ---module-parser-javascript-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-require-js Negative - 'module-parser-javascript-require-js' - option. ---module-parser-javascript-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-strict-export-presence Negative - 'module-parser-javascript-strict-expor - t-presence' option. ---module-parser-javascript-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-strict-this-context-on-imports Negative - 'module-parser-javascript-strict-this- - context-on-imports' option. ---module-parser-javascript-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-system Negative - 'module-parser-javascript-system' - option. ---module-parser-javascript-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-unknown-context-critical Negative - 'module-parser-javascript-unknown-cont - ext-critical' option. ---module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-recursive Negative - 'module-parser-javascript-unknown-cont - ext-recursive' option. ---module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-reg-exp Negative - 'module-parser-javascript-unknown-cont - ext-reg-exp' option. ---module-parser-javascript-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-url Negative - 'module-parser-javascript-url' option. ---module-parser-javascript-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-worker Negative - 'module-parser-javascript-worker' - option. ---module-parser-javascript-worker-reset Clear all items provided in - 'module.parser.javascript.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-wrapped-context-critical Negative - 'module-parser-javascript-wrapped-cont - ext-critical' option. ---module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-wrapped-context-recursive Negative - 'module-parser-javascript-wrapped-cont - ext-recursive' option. ---module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-auto-amd Negative - 'module-parser-javascript-auto-amd' - option. ---module-parser-javascript-auto-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-auto-browserify Negative - 'module-parser-javascript-auto-browser - ify' option. ---module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-auto-commonjs Negative - 'module-parser-javascript-auto-commonj - s' option. ---module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-auto-commonjs-magic-comments Negative - 'module-parser-javascript-auto-commonj - s-magic-comments' option. ---module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-auto-create-require Negative - 'module-parser-javascript-auto-create- - require' option. ---module-parser-javascript-auto-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-auto-defer-import Negative - 'module-parser-javascript-auto-defer-i - mport' option. ---module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative - 'module-parser-javascript-auto-dynamic - -import-fetch-priority' option. ---module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-prefetch Negative - 'module-parser-javascript-auto-dynamic - -import-prefetch' option. ---module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-preload Negative - 'module-parser-javascript-auto-dynamic - -import-preload' option. ---module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-auto-dynamic-url Negative - 'module-parser-javascript-auto-dynamic - -url' option. ---module-parser-javascript-auto-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-auto-exports-presence Negative - 'module-parser-javascript-auto-exports - -presence' option. ---module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-auto-expr-context-critical Negative - 'module-parser-javascript-auto-expr-co - ntext-critical' option. ---module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-recursive Negative - 'module-parser-javascript-auto-expr-co - ntext-recursive' option. ---module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-reg-exp Negative - 'module-parser-javascript-auto-expr-co - ntext-reg-exp' option. ---module-parser-javascript-auto-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-auto-harmony Negative - 'module-parser-javascript-auto-harmony - ' option. ---module-parser-javascript-auto-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-auto-import Negative - 'module-parser-javascript-auto-import' - option. ---module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-auto-import-exports-presence Negative - 'module-parser-javascript-auto-import- - exports-presence' option. ---module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-auto-import-meta Negative - 'module-parser-javascript-auto-import- - meta' option. ---module-parser-javascript-auto-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-auto-import-meta-context Negative - 'module-parser-javascript-auto-import- - meta-context' option. ---no-module-parser-javascript-auto-node Negative - 'module-parser-javascript-auto-node' - option. ---module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-auto-node-dirname Negative - 'module-parser-javascript-auto-node-di - rname' option. ---module-parser-javascript-auto-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-auto-node-filename Negative - 'module-parser-javascript-auto-node-fi - lename' option. ---module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-auto-node-global Negative - 'module-parser-javascript-auto-node-gl - obal' option. ---module-parser-javascript-auto-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-auto-reexport-exports-presence Negative - 'module-parser-javascript-auto-reexpor - t-exports-presence' option. ---module-parser-javascript-auto-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-auto-require-context Negative - 'module-parser-javascript-auto-require - -context' option. ---module-parser-javascript-auto-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-auto-require-ensure Negative - 'module-parser-javascript-auto-require - -ensure' option. ---module-parser-javascript-auto-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-auto-require-include Negative - 'module-parser-javascript-auto-require - -include' option. ---module-parser-javascript-auto-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-auto-require-js Negative - 'module-parser-javascript-auto-require - -js' option. ---module-parser-javascript-auto-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-auto-strict-export-presence Negative - 'module-parser-javascript-auto-strict- - export-presence' option. ---module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-auto-strict-this-context-on-imports Negative - 'module-parser-javascript-auto-strict- - this-context-on-imports' option. ---module-parser-javascript-auto-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-auto-system Negative - 'module-parser-javascript-auto-system' - option. ---module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-auto-unknown-context-critical Negative - 'module-parser-javascript-auto-unknown - -context-critical' option. ---module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-recursive Negative - 'module-parser-javascript-auto-unknown - -context-recursive' option. ---module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-reg-exp Negative - 'module-parser-javascript-auto-unknown - -context-reg-exp' option. ---module-parser-javascript-auto-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-auto-url Negative - 'module-parser-javascript-auto-url' - option. ---module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-auto-worker Negative - 'module-parser-javascript-auto-worker' - option. ---module-parser-javascript-auto-worker-reset Clear all items provided in - 'module.parser.javascript/auto.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-auto-wrapped-context-critical Negative - 'module-parser-javascript-auto-wrapped - -context-critical' option. ---module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-auto-wrapped-context-recursive Negative - 'module-parser-javascript-auto-wrapped - -context-recursive' option. ---module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-amd Negative - 'module-parser-javascript-dynamic-amd' - option. ---module-parser-javascript-dynamic-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-dynamic-browserify Negative - 'module-parser-javascript-dynamic-brow - serify' option. ---module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-dynamic-commonjs Negative - 'module-parser-javascript-dynamic-comm - onjs' option. ---module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-dynamic-commonjs-magic-comments Negative - 'module-parser-javascript-dynamic-comm - onjs-magic-comments' option. ---module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-dynamic-create-require Negative - 'module-parser-javascript-dynamic-crea - te-require' option. ---module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-dynamic-defer-import Negative - 'module-parser-javascript-dynamic-defe - r-import' option. ---module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-dyna - mic-import-fetch-priority' option. ---module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-dyna - mic-import-prefetch' option. ---module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-dyna - mic-import-preload' option. ---module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-dynamic-dynamic-url Negative - 'module-parser-javascript-dynamic-dyna - mic-url' option. ---module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-dynamic-exports-presence Negative - 'module-parser-javascript-dynamic-expo - rts-presence' option. ---module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-dynamic-expr-context-critical Negative - 'module-parser-javascript-dynamic-expr - -context-critical' option. ---module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-recursive Negative - 'module-parser-javascript-dynamic-expr - -context-recursive' option. ---module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-reg-exp Negative - 'module-parser-javascript-dynamic-expr - -context-reg-exp' option. ---module-parser-javascript-dynamic-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-dynamic-harmony Negative - 'module-parser-javascript-dynamic-harm - ony' option. ---module-parser-javascript-dynamic-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-dynamic-import Negative - 'module-parser-javascript-dynamic-impo - rt' option. ---module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-dynamic-import-exports-presence Negative - 'module-parser-javascript-dynamic-impo - rt-exports-presence' option. ---module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-dynamic-import-meta Negative - 'module-parser-javascript-dynamic-impo - rt-meta' option. ---module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-dynamic-import-meta-context Negative - 'module-parser-javascript-dynamic-impo - rt-meta-context' option. ---no-module-parser-javascript-dynamic-node Negative - 'module-parser-javascript-dynamic-node - ' option. ---module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-dynamic-node-dirname Negative - 'module-parser-javascript-dynamic-node - -dirname' option. ---module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-dynamic-node-filename Negative - 'module-parser-javascript-dynamic-node - -filename' option. ---module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-dynamic-node-global Negative - 'module-parser-javascript-dynamic-node - -global' option. ---module-parser-javascript-dynamic-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-dynamic-reexport-exports-presence Negative - 'module-parser-javascript-dynamic-reex - port-exports-presence' option. ---module-parser-javascript-dynamic-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-dynamic-require-context Negative - 'module-parser-javascript-dynamic-requ - ire-context' option. ---module-parser-javascript-dynamic-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-dynamic-require-ensure Negative - 'module-parser-javascript-dynamic-requ - ire-ensure' option. ---module-parser-javascript-dynamic-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-dynamic-require-include Negative - 'module-parser-javascript-dynamic-requ - ire-include' option. ---module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-dynamic-require-js Negative - 'module-parser-javascript-dynamic-requ - ire-js' option. ---module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-dynamic-strict-export-presence Negative - 'module-parser-javascript-dynamic-stri - ct-export-presence' option. ---module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative - 'module-parser-javascript-dynamic-stri - ct-this-context-on-imports' option. ---module-parser-javascript-dynamic-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-dynamic-system Negative - 'module-parser-javascript-dynamic-syst - em' option. ---module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-critical Negative - 'module-parser-javascript-dynamic-unkn - own-context-critical' option. ---module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-recursive Negative - 'module-parser-javascript-dynamic-unkn - own-context-recursive' option. ---module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative - 'module-parser-javascript-dynamic-unkn - own-context-reg-exp' option. ---module-parser-javascript-dynamic-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-dynamic-worker Negative - 'module-parser-javascript-dynamic-work - er' option. ---module-parser-javascript-dynamic-worker-reset Clear all items provided in - 'module.parser.javascript/dynamic.work - er' configuration. Disable or - configure parsing of WebWorker syntax - like new Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-critical Negative - 'module-parser-javascript-dynamic-wrap - ped-context-critical' option. ---module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-recursive Negative - 'module-parser-javascript-dynamic-wrap - ped-context-recursive' option. ---module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-esm-amd Negative - 'module-parser-javascript-esm-amd' - option. ---module-parser-javascript-esm-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-esm-browserify Negative - 'module-parser-javascript-esm-browseri - fy' option. ---module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-esm-commonjs Negative - 'module-parser-javascript-esm-commonjs - ' option. ---module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-esm-commonjs-magic-comments Negative - 'module-parser-javascript-esm-commonjs - -magic-comments' option. ---module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-esm-create-require Negative - 'module-parser-javascript-esm-create-r - equire' option. ---module-parser-javascript-esm-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-esm-defer-import Negative - 'module-parser-javascript-esm-defer-im - port' option. ---module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative - 'module-parser-javascript-esm-dynamic- - import-fetch-priority' option. ---module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-prefetch Negative - 'module-parser-javascript-esm-dynamic- - import-prefetch' option. ---module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-preload Negative - 'module-parser-javascript-esm-dynamic- - import-preload' option. ---module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-esm-dynamic-url Negative - 'module-parser-javascript-esm-dynamic- - url' option. ---module-parser-javascript-esm-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-esm-exports-presence Negative - 'module-parser-javascript-esm-exports- - presence' option. ---module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-esm-expr-context-critical Negative - 'module-parser-javascript-esm-expr-con - text-critical' option. ---module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-recursive Negative - 'module-parser-javascript-esm-expr-con - text-recursive' option. ---module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-reg-exp Negative - 'module-parser-javascript-esm-expr-con - text-reg-exp' option. ---module-parser-javascript-esm-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-esm-harmony Negative - 'module-parser-javascript-esm-harmony' - option. ---module-parser-javascript-esm-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-esm-import Negative - 'module-parser-javascript-esm-import' - option. ---module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-esm-import-exports-presence Negative - 'module-parser-javascript-esm-import-e - xports-presence' option. ---module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-esm-import-meta Negative - 'module-parser-javascript-esm-import-m - eta' option. ---module-parser-javascript-esm-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-esm-import-meta-context Negative - 'module-parser-javascript-esm-import-m - eta-context' option. ---no-module-parser-javascript-esm-node Negative - 'module-parser-javascript-esm-node' - option. ---module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-esm-node-dirname Negative - 'module-parser-javascript-esm-node-dir - name' option. ---module-parser-javascript-esm-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-esm-node-filename Negative - 'module-parser-javascript-esm-node-fil - ename' option. ---module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-esm-node-global Negative - 'module-parser-javascript-esm-node-glo - bal' option. ---module-parser-javascript-esm-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-esm-reexport-exports-presence Negative - 'module-parser-javascript-esm-reexport - -exports-presence' option. ---module-parser-javascript-esm-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-esm-require-context Negative - 'module-parser-javascript-esm-require- - context' option. ---module-parser-javascript-esm-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-esm-require-ensure Negative - 'module-parser-javascript-esm-require- - ensure' option. ---module-parser-javascript-esm-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-esm-require-include Negative - 'module-parser-javascript-esm-require- - include' option. ---module-parser-javascript-esm-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-esm-require-js Negative - 'module-parser-javascript-esm-require- - js' option. ---module-parser-javascript-esm-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-esm-strict-export-presence Negative - 'module-parser-javascript-esm-strict-e - xport-presence' option. ---module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-esm-strict-this-context-on-imports Negative - 'module-parser-javascript-esm-strict-t - his-context-on-imports' option. ---module-parser-javascript-esm-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-esm-system Negative - 'module-parser-javascript-esm-system' - option. ---module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-esm-unknown-context-critical Negative - 'module-parser-javascript-esm-unknown- - context-critical' option. ---module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-recursive Negative - 'module-parser-javascript-esm-unknown- - context-recursive' option. ---module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-reg-exp Negative - 'module-parser-javascript-esm-unknown- - context-reg-exp' option. ---module-parser-javascript-esm-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-esm-url Negative - 'module-parser-javascript-esm-url' - option. ---module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-esm-worker Negative - 'module-parser-javascript-esm-worker' - option. ---module-parser-javascript-esm-worker-reset Clear all items provided in - 'module.parser.javascript/esm.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-esm-wrapped-context-critical Negative - 'module-parser-javascript-esm-wrapped- - context-critical' option. ---module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-esm-wrapped-context-recursive Negative - 'module-parser-javascript-esm-wrapped- - context-recursive' option. ---module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---module-parser-json-exports-depth The depth of json dependency flagged - as \`exportInfo\`. ---module-parser-json-named-exports Allow named exports for json of object - type. ---no-module-parser-json-named-exports Negative - 'module-parser-json-named-exports' - option. ---module-rules-compiler Match the child compiler name. ---module-rules-compiler-not Logical NOT. ---module-rules-dependency Match dependency type. ---module-rules-dependency-not Logical NOT. ---module-rules-enforce Enforce this rule as pre or post step. ---module-rules-exclude Shortcut for resource.exclude. ---module-rules-exclude-not Logical NOT. ---module-rules-extract-source-map Enable/Disable extracting source map. ---no-module-rules-extract-source-map Negative - 'module-rules-extract-source-map' - option. ---module-rules-include Shortcut for resource.include. ---module-rules-include-not Logical NOT. ---module-rules-issuer Match the issuer of the module (The - module pointing to this module). ---module-rules-issuer-not Logical NOT. ---module-rules-issuer-layer Match layer of the issuer of this - module (The module pointing to this - module). ---module-rules-issuer-layer-not Logical NOT. ---module-rules-layer Specifies the layer in which the - module should be placed in. ---module-rules-loader A loader request. ---module-rules-mimetype Match module mimetype when load from - Data URI. ---module-rules-mimetype-not Logical NOT. ---module-rules-real-resource Match the real resource path of the - module. ---module-rules-real-resource-not Logical NOT. ---module-rules-resource Match the resource path of the module. ---module-rules-resource-not Logical NOT. ---module-rules-resource-fragment Match the resource fragment of the - module. ---module-rules-resource-fragment-not Logical NOT. ---module-rules-resource-query Match the resource query of the - module. ---module-rules-resource-query-not Logical NOT. ---module-rules-scheme Match module scheme. ---module-rules-scheme-not Logical NOT. ---module-rules-side-effects Flags a module as with or without side - effects. ---no-module-rules-side-effects Negative 'module-rules-side-effects' - option. ---module-rules-test Shortcut for resource.test. ---module-rules-test-not Logical NOT. ---module-rules-type Module type to use for the module. ---module-rules-use-ident Unique loader options identifier. ---module-rules-use-loader A loader request. ---module-rules-use-options Options passed to a loader. ---module-rules-use A loader request. ---module-rules-reset Clear all items provided in - 'module.rules' configuration. A list - of rules. ---module-strict-export-presence Emit errors instead of warnings when - imported names don't exist in imported - module. Deprecated: This option has - moved to - 'module.parser.javascript.strictExport - Presence'. ---no-module-strict-export-presence Negative - 'module-strict-export-presence' - option. ---module-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. Deprecated: This option has - moved to - 'module.parser.javascript.strictThisCo - ntextOnImports'. ---no-module-strict-this-context-on-imports Negative - 'module-strict-this-context-on-imports - ' option. ---module-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtCritical'. ---no-module-unknown-context-critical Negative - 'module-unknown-context-critical' - option. ---module-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRecursive'. ---no-module-unknown-context-recursive Negative - 'module-unknown-context-recursive' - option. ---module-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRegExp'. ---no-module-unknown-context-reg-exp Negative - 'module-unknown-context-reg-exp' - option. ---module-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtRequest'. ---module-unsafe-cache Cache the resolving of module - requests. ---no-module-unsafe-cache Negative 'module-unsafe-cache' option. ---module-wrapped-context-critical Enable warnings for partial dynamic - dependencies. Deprecated: This option - has moved to - 'module.parser.javascript.wrappedConte - xtCritical'. ---no-module-wrapped-context-critical Negative - 'module-wrapped-context-critical' - option. ---module-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRecursive'. ---no-module-wrapped-context-recursive Negative - 'module-wrapped-context-recursive' - option. ---module-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRegExp'. ---name Name of the configuration. Used when - loading multiple configurations. ---no-node Negative 'node' option. ---node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-node-dirname Negative 'node-dirname' option. ---node-filename [value] Include a polyfill for the - '__filename' variable. ---no-node-filename Negative 'node-filename' option. ---node-global [value] Include a polyfill for the 'global' - variable. ---no-node-global Negative 'node-global' option. ---optimization-avoid-entry-iife Avoid wrapping the entry module in an - IIFE. ---no-optimization-avoid-entry-iife Negative - 'optimization-avoid-entry-iife' - option. ---optimization-check-wasm-types Check for incompatible wasm types when - importing/exporting from/to ESM. ---no-optimization-check-wasm-types Negative - 'optimization-check-wasm-types' - option. ---optimization-chunk-ids Define the algorithm to choose chunk - ids (named: readable ids for better - debugging, deterministic: numeric hash - ids for better long term caching, - size: numeric ids focused on minimal - initial download size, total-size: - numeric ids focused on minimal total - download size, false: no algorithm - used, as custom one can be provided - via plugin). ---no-optimization-chunk-ids Negative 'optimization-chunk-ids' - option. ---optimization-concatenate-modules Concatenate modules when possible to - generate less modules, more efficient - code and enable more optimizations by - the minimizer. ---no-optimization-concatenate-modules Negative - 'optimization-concatenate-modules' - option. ---optimization-emit-on-errors Emit assets even when errors occur. - Critical errors are emitted into the - generated code and will cause errors +--experiments-source-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-sourc + e-phase-imports. This allows importing + modules at stack. --watch-options-poll [value] \`number\`: use polling with specified interval. \`true\`: use polling. @@ -2186,7 +610,6 @@ Options --watch-options-stdin Stop watching when stdin stream has ended. --no-watch-options-stdin Negative 'watch-options-stdin' option. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -2197,8 +620,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help build --verbose' to see all available options. - Webpack documentation: https://webpack.js.org/ CLI documentation: https://webpack.js.org/api/cli/ Made with ♥ by the webpack team" @@ -2251,14 +672,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -2268,8 +689,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help build --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -2324,14 +743,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -2341,8 +760,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help build --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -2397,14 +814,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -2414,8 +831,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help build --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -2470,14 +885,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -2487,8 +902,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help build --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -2775,1581 +1188,10 @@ Options module source type. --no-experiments-output-module Negative 'experiments-output-module' option. ---experiments-sync-web-assembly Support WebAssembly as synchronous - EcmaScript Module (outdated). ---no-experiments-sync-web-assembly Negative - 'experiments-sync-web-assembly' - option. --e, --extends Path to the configuration to be - extended (only works when using - webpack-cli). ---extends-reset Clear all items provided in 'extends' - configuration. Extend configuration - from another configuration (only works - when using webpack-cli). ---externals Every matched dependency becomes - external. An exact matched dependency - becomes external. The same string is - used as external dependency. ---externals-reset Clear all items provided in - 'externals' configuration. Specify - dependencies that shouldn't be - resolved by webpack, but should become - dependencies of the resulting bundle. - The kind of the dependency depends on - \`output.libraryTarget\`. ---externals-presets-electron Treat common electron built-in modules - in main and preload context like - 'electron', 'ipc' or 'shell' as - external and load them via require() - when used. ---no-externals-presets-electron Negative 'externals-presets-electron' - option. ---externals-presets-electron-main Treat electron built-in modules in the - main context like 'app', 'ipc-main' or - 'shell' as external and load them via - require() when used. ---no-externals-presets-electron-main Negative - 'externals-presets-electron-main' - option. ---externals-presets-electron-preload Treat electron built-in modules in the - preload context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-preload Negative - 'externals-presets-electron-preload' - option. ---externals-presets-electron-renderer Treat electron built-in modules in the - renderer context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-renderer Negative - 'externals-presets-electron-renderer' - option. ---externals-presets-node Treat node.js built-in modules like - fs, path or vm as external and load - them via require() when used. ---no-externals-presets-node Negative 'externals-presets-node' - option. ---externals-presets-nwjs Treat NW.js legacy nw.gui module as - external and load it via require() - when used. ---no-externals-presets-nwjs Negative 'externals-presets-nwjs' - option. ---externals-presets-web Treat references to 'http(s)://...' - and 'std:...' as external and load - them via import when used (Note that - this changes execution order as - externals are executed before any - other code in the chunk). ---no-externals-presets-web Negative 'externals-presets-web' - option. ---externals-presets-web-async Treat references to 'http(s)://...' - and 'std:...' as external and load - them via async import() when used - (Note that this external type is an - async module, which has various - effects on the execution). ---no-externals-presets-web-async Negative 'externals-presets-web-async' - option. ---externals-type Specifies the default type of - externals ('amd*', 'umd*', 'system' - and 'jsonp' depend on - output.libraryTarget set to the same - value). ---ignore-warnings A RegExp to select the warning - message. ---ignore-warnings-file A RegExp to select the origin file for - the warning. ---ignore-warnings-message A RegExp to select the warning - message. ---ignore-warnings-module A RegExp to select the origin module - for the warning. ---ignore-warnings-reset Clear all items provided in - 'ignoreWarnings' configuration. Ignore - specific warnings. ---infrastructure-logging-append-only Only appends lines to the output. - Avoids updating existing output e. g. - for status messages. This option is - only used when no custom console is - provided. ---no-infrastructure-logging-append-only Negative - 'infrastructure-logging-append-only' - option. ---infrastructure-logging-colors Enables/Disables colorful output. This - option is only used when no custom - console is provided. ---no-infrastructure-logging-colors Negative - 'infrastructure-logging-colors' - option. ---infrastructure-logging-debug [value...] Enable/Disable debug logging for all - loggers. Enable debug logging for - specific loggers. ---no-infrastructure-logging-debug Negative - 'infrastructure-logging-debug' option. ---infrastructure-logging-debug-reset Clear all items provided in - 'infrastructureLogging.debug' - configuration. Enable debug logging - for specific loggers. ---infrastructure-logging-level Log level. ---mode Enable production optimizations or - development hints. ---module-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-expr-context-critical Negative - 'module-expr-context-critical' option. ---module-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. Deprecated: - This option has moved to - 'module.parser.javascript.exprContextR - ecursive'. ---no-module-expr-context-recursive Negative - 'module-expr-context-recursive' - option. ---module-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.exprContextR - egExp'. ---no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' - option. ---module-expr-context-request Set the default request for full - dynamic dependencies. Deprecated: This - option has moved to - 'module.parser.javascript.exprContextR - equest'. ---module-generator-asset-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-binary Negative - 'module-generator-asset-binary' - option. ---module-generator-asset-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-data-url-encoding Negative - 'module-generator-asset-data-url-encod - ing' option. ---module-generator-asset-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-emit Negative 'module-generator-asset-emit' - option. ---module-generator-asset-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-asset-inline-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-inline-binary Negative - 'module-generator-asset-inline-binary' - option. ---module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-inline-data-url-encoding Negative - 'module-generator-asset-inline-data-ur - l-encoding' option. ---module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-resource-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-resource-binary Negative - 'module-generator-asset-resource-binar - y' option. ---module-generator-asset-resource-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-resource-emit Negative - 'module-generator-asset-resource-emit' - option. ---module-generator-asset-resource-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-resource-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-resource-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-css-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-es-module Negative - 'module-generator-css-es-module' - option. ---module-generator-css-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-exports-only Negative - 'module-generator-css-exports-only' - option. ---module-generator-css-auto-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-auto-es-module Negative - 'module-generator-css-auto-es-module' - option. ---module-generator-css-auto-export-type Configure how CSS content is exported - as default. ---module-generator-css-auto-exports-convention Specifies the convention of exported - names. ---module-generator-css-auto-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-auto-exports-only Negative - 'module-generator-css-auto-exports-onl - y' option. ---module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-auto-local-ident-name Configure the generated local ident - name. ---module-generator-css-global-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-global-es-module Negative - 'module-generator-css-global-es-module - ' option. ---module-generator-css-global-export-type Configure how CSS content is exported - as default. ---module-generator-css-global-exports-convention Specifies the convention of exported - names. ---module-generator-css-global-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-global-exports-only Negative - 'module-generator-css-global-exports-o - nly' option. ---module-generator-css-global-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-global-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-global-local-ident-name Configure the generated local ident - name. ---module-generator-css-module-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-module-es-module Negative - 'module-generator-css-module-es-module - ' option. ---module-generator-css-module-export-type Configure how CSS content is exported - as default. ---module-generator-css-module-exports-convention Specifies the convention of exported - names. ---module-generator-css-module-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-module-exports-only Negative - 'module-generator-css-module-exports-o - nly' option. ---module-generator-css-module-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-module-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-module-local-ident-name Configure the generated local ident - name. ---module-generator-json-json-parse Use \`JSON.parse\` when the JSON string - is longer than 20 characters. ---no-module-generator-json-json-parse Negative - 'module-generator-json-json-parse' - option. ---module-no-parse A regular expression, when matched the - module is not parsed. An absolute - path, when the module starts with this - path it is not parsed. ---module-no-parse-reset Clear all items provided in - 'module.noParse' configuration. Don't - parse files matching. It's matched - against the full resolved request. ---module-parser-asset-data-url-condition-max-size Maximum size of asset that should be - inline as modules. Default: 8kb. ---module-parser-css-export-type Configure how CSS content is exported - as default. ---module-parser-css-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-import Negative 'module-parser-css-import' - option. ---module-parser-css-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-named-exports Negative - 'module-parser-css-named-exports' - option. ---module-parser-css-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-url Negative 'module-parser-css-url' - option. ---module-parser-css-auto-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-auto-animation Negative - 'module-parser-css-auto-animation' - option. ---module-parser-css-auto-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-auto-container Negative - 'module-parser-css-auto-container' - option. ---module-parser-css-auto-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-auto-custom-idents Negative - 'module-parser-css-auto-custom-idents' - option. ---module-parser-css-auto-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-auto-dashed-idents Negative - 'module-parser-css-auto-dashed-idents' - option. ---module-parser-css-auto-export-type Configure how CSS content is exported - as default. ---module-parser-css-auto-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-auto-function Negative - 'module-parser-css-auto-function' - option. ---module-parser-css-auto-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' - option. ---module-parser-css-auto-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-auto-import Negative - 'module-parser-css-auto-import' - option. ---module-parser-css-auto-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-auto-named-exports Negative - 'module-parser-css-auto-named-exports' - option. ---module-parser-css-auto-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' - option. ---module-parser-css-global-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-global-animation Negative - 'module-parser-css-global-animation' - option. ---module-parser-css-global-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-global-container Negative - 'module-parser-css-global-container' - option. ---module-parser-css-global-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-global-custom-idents Negative - 'module-parser-css-global-custom-ident - s' option. ---module-parser-css-global-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-global-dashed-idents Negative - 'module-parser-css-global-dashed-ident - s' option. ---module-parser-css-global-export-type Configure how CSS content is exported - as default. ---module-parser-css-global-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-global-function Negative - 'module-parser-css-global-function' - option. ---module-parser-css-global-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-global-grid Negative - 'module-parser-css-global-grid' - option. ---module-parser-css-global-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-global-import Negative - 'module-parser-css-global-import' - option. ---module-parser-css-global-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-global-named-exports Negative - 'module-parser-css-global-named-export - s' option. ---module-parser-css-global-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-global-url Negative - 'module-parser-css-global-url' option. ---module-parser-css-module-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-module-animation Negative - 'module-parser-css-module-animation' - option. ---module-parser-css-module-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-module-container Negative - 'module-parser-css-module-container' - option. ---module-parser-css-module-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-module-custom-idents Negative - 'module-parser-css-module-custom-ident - s' option. ---module-parser-css-module-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-module-dashed-idents Negative - 'module-parser-css-module-dashed-ident - s' option. ---module-parser-css-module-export-type Configure how CSS content is exported - as default. ---module-parser-css-module-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-module-function Negative - 'module-parser-css-module-function' - option. ---module-parser-css-module-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-module-grid Negative - 'module-parser-css-module-grid' - option. ---module-parser-css-module-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-module-import Negative - 'module-parser-css-module-import' - option. ---module-parser-css-module-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-module-named-exports Negative - 'module-parser-css-module-named-export - s' option. ---module-parser-css-module-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-module-url Negative - 'module-parser-css-module-url' option. ---no-module-parser-javascript-amd Negative - 'module-parser-javascript-amd' option. ---module-parser-javascript-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-browserify Negative - 'module-parser-javascript-browserify' - option. ---module-parser-javascript-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-commonjs Negative - 'module-parser-javascript-commonjs' - option. ---module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-commonjs-magic-comments Negative - 'module-parser-javascript-commonjs-mag - ic-comments' option. ---module-parser-javascript-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-create-require Negative - 'module-parser-javascript-create-requi - re' option. ---module-parser-javascript-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-defer-import Negative - 'module-parser-javascript-defer-import - ' option. ---module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-impo - rt-fetch-priority' option. ---module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-impo - rt-prefetch' option. ---module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-impo - rt-preload' option. ---module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. - Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-dynamic-url Negative - 'module-parser-javascript-dynamic-url' - option. ---module-parser-javascript-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-exports-presence Negative - 'module-parser-javascript-exports-pres - ence' option. ---module-parser-javascript-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-expr-context-critical Negative - 'module-parser-javascript-expr-context - -critical' option. ---module-parser-javascript-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-expr-context-recursive Negative - 'module-parser-javascript-expr-context - -recursive' option. ---module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-expr-context-reg-exp Negative - 'module-parser-javascript-expr-context - -reg-exp' option. ---module-parser-javascript-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-harmony Negative - 'module-parser-javascript-harmony' - option. ---module-parser-javascript-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-import Negative - 'module-parser-javascript-import' - option. ---module-parser-javascript-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-import-exports-presence Negative - 'module-parser-javascript-import-expor - ts-presence' option. ---module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-import-meta Negative - 'module-parser-javascript-import-meta' - option. ---module-parser-javascript-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-import-meta-context Negative - 'module-parser-javascript-import-meta- - context' option. ---no-module-parser-javascript-node Negative - 'module-parser-javascript-node' - option. ---module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-node-dirname Negative - 'module-parser-javascript-node-dirname - ' option. ---module-parser-javascript-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-node-filename Negative - 'module-parser-javascript-node-filenam - e' option. ---module-parser-javascript-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-node-global Negative - 'module-parser-javascript-node-global' - option. ---module-parser-javascript-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-reexport-exports-presence Negative - 'module-parser-javascript-reexport-exp - orts-presence' option. ---module-parser-javascript-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-require-context Negative - 'module-parser-javascript-require-cont - ext' option. ---module-parser-javascript-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-require-ensure Negative - 'module-parser-javascript-require-ensu - re' option. ---module-parser-javascript-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-require-include Negative - 'module-parser-javascript-require-incl - ude' option. ---module-parser-javascript-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-require-js Negative - 'module-parser-javascript-require-js' - option. ---module-parser-javascript-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-strict-export-presence Negative - 'module-parser-javascript-strict-expor - t-presence' option. ---module-parser-javascript-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-strict-this-context-on-imports Negative - 'module-parser-javascript-strict-this- - context-on-imports' option. ---module-parser-javascript-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-system Negative - 'module-parser-javascript-system' - option. ---module-parser-javascript-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-unknown-context-critical Negative - 'module-parser-javascript-unknown-cont - ext-critical' option. ---module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-recursive Negative - 'module-parser-javascript-unknown-cont - ext-recursive' option. ---module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-reg-exp Negative - 'module-parser-javascript-unknown-cont - ext-reg-exp' option. ---module-parser-javascript-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-url Negative - 'module-parser-javascript-url' option. ---module-parser-javascript-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-worker Negative - 'module-parser-javascript-worker' - option. ---module-parser-javascript-worker-reset Clear all items provided in - 'module.parser.javascript.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-wrapped-context-critical Negative - 'module-parser-javascript-wrapped-cont - ext-critical' option. ---module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-wrapped-context-recursive Negative - 'module-parser-javascript-wrapped-cont - ext-recursive' option. ---module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-auto-amd Negative - 'module-parser-javascript-auto-amd' - option. ---module-parser-javascript-auto-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-auto-browserify Negative - 'module-parser-javascript-auto-browser - ify' option. ---module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-auto-commonjs Negative - 'module-parser-javascript-auto-commonj - s' option. ---module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-auto-commonjs-magic-comments Negative - 'module-parser-javascript-auto-commonj - s-magic-comments' option. ---module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-auto-create-require Negative - 'module-parser-javascript-auto-create- - require' option. ---module-parser-javascript-auto-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-auto-defer-import Negative - 'module-parser-javascript-auto-defer-i - mport' option. ---module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative - 'module-parser-javascript-auto-dynamic - -import-fetch-priority' option. ---module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-prefetch Negative - 'module-parser-javascript-auto-dynamic - -import-prefetch' option. ---module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-preload Negative - 'module-parser-javascript-auto-dynamic - -import-preload' option. ---module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-auto-dynamic-url Negative - 'module-parser-javascript-auto-dynamic - -url' option. ---module-parser-javascript-auto-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-auto-exports-presence Negative - 'module-parser-javascript-auto-exports - -presence' option. ---module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-auto-expr-context-critical Negative - 'module-parser-javascript-auto-expr-co - ntext-critical' option. ---module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-recursive Negative - 'module-parser-javascript-auto-expr-co - ntext-recursive' option. ---module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-reg-exp Negative - 'module-parser-javascript-auto-expr-co - ntext-reg-exp' option. ---module-parser-javascript-auto-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-auto-harmony Negative - 'module-parser-javascript-auto-harmony - ' option. ---module-parser-javascript-auto-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-auto-import Negative - 'module-parser-javascript-auto-import' - option. ---module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-auto-import-exports-presence Negative - 'module-parser-javascript-auto-import- - exports-presence' option. ---module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-auto-import-meta Negative - 'module-parser-javascript-auto-import- - meta' option. ---module-parser-javascript-auto-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-auto-import-meta-context Negative - 'module-parser-javascript-auto-import- - meta-context' option. ---no-module-parser-javascript-auto-node Negative - 'module-parser-javascript-auto-node' - option. ---module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-auto-node-dirname Negative - 'module-parser-javascript-auto-node-di - rname' option. ---module-parser-javascript-auto-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-auto-node-filename Negative - 'module-parser-javascript-auto-node-fi - lename' option. ---module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-auto-node-global Negative - 'module-parser-javascript-auto-node-gl - obal' option. ---module-parser-javascript-auto-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-auto-reexport-exports-presence Negative - 'module-parser-javascript-auto-reexpor - t-exports-presence' option. ---module-parser-javascript-auto-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-auto-require-context Negative - 'module-parser-javascript-auto-require - -context' option. ---module-parser-javascript-auto-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-auto-require-ensure Negative - 'module-parser-javascript-auto-require - -ensure' option. ---module-parser-javascript-auto-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-auto-require-include Negative - 'module-parser-javascript-auto-require - -include' option. ---module-parser-javascript-auto-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-auto-require-js Negative - 'module-parser-javascript-auto-require - -js' option. ---module-parser-javascript-auto-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-auto-strict-export-presence Negative - 'module-parser-javascript-auto-strict- - export-presence' option. ---module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-auto-strict-this-context-on-imports Negative - 'module-parser-javascript-auto-strict- - this-context-on-imports' option. ---module-parser-javascript-auto-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-auto-system Negative - 'module-parser-javascript-auto-system' - option. ---module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-auto-unknown-context-critical Negative - 'module-parser-javascript-auto-unknown - -context-critical' option. ---module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-recursive Negative - 'module-parser-javascript-auto-unknown - -context-recursive' option. ---module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-reg-exp Negative - 'module-parser-javascript-auto-unknown - -context-reg-exp' option. ---module-parser-javascript-auto-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-auto-url Negative - 'module-parser-javascript-auto-url' - option. ---module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-auto-worker Negative - 'module-parser-javascript-auto-worker' - option. ---module-parser-javascript-auto-worker-reset Clear all items provided in - 'module.parser.javascript/auto.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-auto-wrapped-context-critical Negative - 'module-parser-javascript-auto-wrapped - -context-critical' option. ---module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-auto-wrapped-context-recursive Negative - 'module-parser-javascript-auto-wrapped - -context-recursive' option. ---module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-amd Negative - 'module-parser-javascript-dynamic-amd' - option. ---module-parser-javascript-dynamic-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-dynamic-browserify Negative - 'module-parser-javascript-dynamic-brow - serify' option. ---module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-dynamic-commonjs Negative - 'module-parser-javascript-dynamic-comm - onjs' option. ---module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-dynamic-commonjs-magic-comments Negative - 'module-parser-javascript-dynamic-comm - onjs-magic-comments' option. ---module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-dynamic-create-require Negative - 'module-parser-javascript-dynamic-crea - te-require' option. ---module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-dynamic-defer-import Negative - 'module-parser-javascript-dynamic-defe - r-import' option. ---module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-dyna - mic-import-fetch-priority' option. ---module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-dyna - mic-import-prefetch' option. ---module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-dyna - mic-import-preload' option. ---module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-dynamic-dynamic-url Negative - 'module-parser-javascript-dynamic-dyna - mic-url' option. ---module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-dynamic-exports-presence Negative - 'module-parser-javascript-dynamic-expo - rts-presence' option. ---module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-dynamic-expr-context-critical Negative - 'module-parser-javascript-dynamic-expr - -context-critical' option. ---module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-recursive Negative - 'module-parser-javascript-dynamic-expr - -context-recursive' option. ---module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-reg-exp Negative - 'module-parser-javascript-dynamic-expr - -context-reg-exp' option. ---module-parser-javascript-dynamic-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-dynamic-harmony Negative - 'module-parser-javascript-dynamic-harm - ony' option. ---module-parser-javascript-dynamic-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-dynamic-import Negative - 'module-parser-javascript-dynamic-impo - rt' option. ---module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-dynamic-import-exports-presence Negative - 'module-parser-javascript-dynamic-impo - rt-exports-presence' option. ---module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-dynamic-import-meta Negative - 'module-parser-javascript-dynamic-impo - rt-meta' option. ---module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-dynamic-import-meta-context Negative - 'module-parser-javascript-dynamic-impo - rt-meta-context' option. ---no-module-parser-javascript-dynamic-node Negative - 'module-parser-javascript-dynamic-node - ' option. ---module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-dynamic-node-dirname Negative - 'module-parser-javascript-dynamic-node - -dirname' option. ---module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-dynamic-node-filename Negative - 'module-parser-javascript-dynamic-node - -filename' option. ---module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-dynamic-node-global Negative - 'module-parser-javascript-dynamic-node - -global' option. ---module-parser-javascript-dynamic-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-dynamic-reexport-exports-presence Negative - 'module-parser-javascript-dynamic-reex - port-exports-presence' option. ---module-parser-javascript-dynamic-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-dynamic-require-context Negative - 'module-parser-javascript-dynamic-requ - ire-context' option. ---module-parser-javascript-dynamic-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-dynamic-require-ensure Negative - 'module-parser-javascript-dynamic-requ - ire-ensure' option. ---module-parser-javascript-dynamic-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-dynamic-require-include Negative - 'module-parser-javascript-dynamic-requ - ire-include' option. ---module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-dynamic-require-js Negative - 'module-parser-javascript-dynamic-requ - ire-js' option. ---module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-dynamic-strict-export-presence Negative - 'module-parser-javascript-dynamic-stri - ct-export-presence' option. ---module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative - 'module-parser-javascript-dynamic-stri - ct-this-context-on-imports' option. ---module-parser-javascript-dynamic-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-dynamic-system Negative - 'module-parser-javascript-dynamic-syst - em' option. ---module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-critical Negative - 'module-parser-javascript-dynamic-unkn - own-context-critical' option. ---module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-recursive Negative - 'module-parser-javascript-dynamic-unkn - own-context-recursive' option. ---module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative - 'module-parser-javascript-dynamic-unkn - own-context-reg-exp' option. ---module-parser-javascript-dynamic-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-dynamic-worker Negative - 'module-parser-javascript-dynamic-work - er' option. ---module-parser-javascript-dynamic-worker-reset Clear all items provided in - 'module.parser.javascript/dynamic.work - er' configuration. Disable or - configure parsing of WebWorker syntax - like new Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-critical Negative - 'module-parser-javascript-dynamic-wrap - ped-context-critical' option. ---module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-recursive Negative - 'module-parser-javascript-dynamic-wrap - ped-context-recursive' option. ---module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-esm-amd Negative - 'module-parser-javascript-esm-amd' - option. ---module-parser-javascript-esm-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-esm-browserify Negative - 'module-parser-javascript-esm-browseri - fy' option. ---module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-esm-commonjs Negative - 'module-parser-javascript-esm-commonjs - ' option. ---module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-esm-commonjs-magic-comments Negative - 'module-parser-javascript-esm-commonjs - -magic-comments' option. ---module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-esm-create-require Negative - 'module-parser-javascript-esm-create-r - equire' option. ---module-parser-javascript-esm-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-esm-defer-import Negative - 'module-parser-javascript-esm-defer-im - port' option. ---module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative - 'module-parser-javascript-esm-dynamic- - import-fetch-priority' option. ---module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-prefetch Negative - 'module-parser-javascript-esm-dynamic- - import-prefetch' option. ---module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-preload Negative - 'module-parser-javascript-esm-dynamic- - import-preload' option. ---module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-esm-dynamic-url Negative - 'module-parser-javascript-esm-dynamic- - url' option. ---module-parser-javascript-esm-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-esm-exports-presence Negative - 'module-parser-javascript-esm-exports- - presence' option. ---module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-esm-expr-context-critical Negative - 'module-parser-javascript-esm-expr-con - text-critical' option. ---module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-recursive Negative - 'module-parser-javascript-esm-expr-con - text-recursive' option. ---module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-reg-exp Negative - 'module-parser-javascript-esm-expr-con - text-reg-exp' option. ---module-parser-javascript-esm-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-esm-harmony Negative - 'module-parser-javascript-esm-harmony' - option. ---module-parser-javascript-esm-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-esm-import Negative - 'module-parser-javascript-esm-import' - option. ---module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-esm-import-exports-presence Negative - 'module-parser-javascript-esm-import-e - xports-presence' option. ---module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-esm-import-meta Negative - 'module-parser-javascript-esm-import-m - eta' option. ---module-parser-javascript-esm-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-esm-import-meta-context Negative - 'module-parser-javascript-esm-import-m - eta-context' option. ---no-module-parser-javascript-esm-node Negative - 'module-parser-javascript-esm-node' - option. ---module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-esm-node-dirname Negative - 'module-parser-javascript-esm-node-dir - name' option. ---module-parser-javascript-esm-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-esm-node-filename Negative - 'module-parser-javascript-esm-node-fil - ename' option. ---module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-esm-node-global Negative - 'module-parser-javascript-esm-node-glo - bal' option. ---module-parser-javascript-esm-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-esm-reexport-exports-presence Negative - 'module-parser-javascript-esm-reexport - -exports-presence' option. ---module-parser-javascript-esm-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-esm-require-context Negative - 'module-parser-javascript-esm-require- - context' option. ---module-parser-javascript-esm-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-esm-require-ensure Negative - 'module-parser-javascript-esm-require- - ensure' option. ---module-parser-javascript-esm-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-esm-require-include Negative - 'module-parser-javascript-esm-require- - include' option. ---module-parser-javascript-esm-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-esm-require-js Negative - 'module-parser-javascript-esm-require- - js' option. ---module-parser-javascript-esm-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-esm-strict-export-presence Negative - 'module-parser-javascript-esm-strict-e - xport-presence' option. ---module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-esm-strict-this-context-on-imports Negative - 'module-parser-javascript-esm-strict-t - his-context-on-imports' option. ---module-parser-javascript-esm-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-esm-system Negative - 'module-parser-javascript-esm-system' - option. ---module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-esm-unknown-context-critical Negative - 'module-parser-javascript-esm-unknown- - context-critical' option. ---module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-recursive Negative - 'module-parser-javascript-esm-unknown- - context-recursive' option. ---module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-reg-exp Negative - 'module-parser-javascript-esm-unknown- - context-reg-exp' option. ---module-parser-javascript-esm-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-esm-url Negative - 'module-parser-javascript-esm-url' - option. ---module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-esm-worker Negative - 'module-parser-javascript-esm-worker' - option. ---module-parser-javascript-esm-worker-reset Clear all items provided in - 'module.parser.javascript/esm.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-esm-wrapped-context-critical Negative - 'module-parser-javascript-esm-wrapped- - context-critical' option. ---module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-esm-wrapped-context-recursive Negative - 'module-parser-javascript-esm-wrapped- - context-recursive' option. ---module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---module-parser-json-exports-depth The depth of json dependency flagged - as \`exportInfo\`. ---module-parser-json-named-exports Allow named exports for json of object - type. ---no-module-parser-json-named-exports Negative - 'module-parser-json-named-exports' - option. ---module-rules-compiler Match the child compiler name. ---module-rules-compiler-not Logical NOT. ---module-rules-dependency Match dependency type. ---module-rules-dependency-not Logical NOT. ---module-rules-enforce Enforce this rule as pre or post step. ---module-rules-exclude Shortcut for resource.exclude. ---module-rules-exclude-not Logical NOT. ---module-rules-extract-source-map Enable/Disable extracting source map. ---no-module-rules-extract-source-map Negative - 'module-rules-extract-source-map' - option. ---module-rules-include Shortcut for resource.include. ---module-rules-include-not Logical NOT. ---module-rules-issuer Match the issuer of the module (The - module pointing to this module). ---module-rules-issuer-not Logical NOT. ---module-rules-issuer-layer Match layer of the issuer of this - module (The module pointing to this - module). ---module-rules-issuer-layer-not Logical NOT. ---module-rules-layer Specifies the layer in which the - module should be placed in. ---module-rules-loader A loader request. ---module-rules-mimetype Match module mimetype when load from - Data URI. ---module-rules-mimetype-not Logical NOT. ---module-rules-real-resource Match the real resource path of the - module. ---module-rules-real-resource-not Logical NOT. ---module-rules-resource Match the resource path of the module. ---module-rules-resource-not Logical NOT. ---module-rules-resource-fragment Match the resource fragment of the - module. ---module-rules-resource-fragment-not Logical NOT. ---module-rules-resource-query Match the resource query of the - module. ---module-rules-resource-query-not Logical NOT. ---module-rules-scheme Match module scheme. ---module-rules-scheme-not Logical NOT. ---module-rules-side-effects Flags a module as with or without side - effects. ---no-module-rules-side-effects Negative 'module-rules-side-effects' - option. ---module-rules-test Shortcut for resource.test. ---module-rules-test-not Logical NOT. ---module-rules-type Module type to use for the module. ---module-rules-use-ident Unique loader options identifier. ---module-rules-use-loader A loader request. ---module-rules-use-options Options passed to a loader. ---module-rules-use A loader request. ---module-rules-reset Clear all items provided in - 'module.rules' configuration. A list - of rules. ---module-strict-export-presence Emit errors instead of warnings when - imported names don't exist in imported - module. Deprecated: This option has - moved to - 'module.parser.javascript.strictExport - Presence'. ---no-module-strict-export-presence Negative - 'module-strict-export-presence' - option. ---module-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. Deprecated: This option has - moved to - 'module.parser.javascript.strictThisCo - ntextOnImports'. ---no-module-strict-this-context-on-imports Negative - 'module-strict-this-context-on-imports - ' option. ---module-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtCritical'. ---no-module-unknown-context-critical Negative - 'module-unknown-context-critical' - option. ---module-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRecursive'. ---no-module-unknown-context-recursive Negative - 'module-unknown-context-recursive' - option. ---module-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRegExp'. ---no-module-unknown-context-reg-exp Negative - 'module-unknown-context-reg-exp' - option. ---module-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtRequest'. ---module-unsafe-cache Cache the resolving of module - requests. ---no-module-unsafe-cache Negative 'module-unsafe-cache' option. ---module-wrapped-context-critical Enable warnings for partial dynamic - dependencies. Deprecated: This option - has moved to - 'module.parser.javascript.wrappedConte - xtCritical'. ---no-module-wrapped-context-critical Negative - 'module-wrapped-context-critical' - option. ---module-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRecursive'. ---no-module-wrapped-context-recursive Negative - 'module-wrapped-context-recursive' - option. ---module-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRegExp'. ---name Name of the configuration. Used when - loading multiple configurations. ---no-node Negative 'node' option. ---node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-node-dirname Negative 'node-dirname' option. ---node-filename [value] Include a polyfill for the - '__filename' variable. ---no-node-filename Negative 'node-filename' option. ---node-global [value] Include a polyfill for the 'global' - variable. ---no-node-global Negative 'node-global' option. ---optimization-avoid-entry-iife Avoid wrapping the entry module in an - IIFE. ---no-optimization-avoid-entry-iife Negative - 'optimization-avoid-entry-iife' - option. ---optimization-check-wasm-types Check for incompatible wasm types when - importing/exporting from/to ESM. ---no-optimization-check-wasm-types Negative - 'optimization-check-wasm-types' - option. ---optimization-chunk-ids Define the algorithm to choose chunk - ids (named: readable ids for better - debugging, deterministic: numeric hash - ids for better long term caching, - size: numeric ids focused on minimal - initial download size, total-size: - numeric ids focused on minimal total - download size, false: no algorithm - used, as custom one can be provided - via plugin). ---no-optimization-chunk-ids Negative 'optimization-chunk-ids' - option. ---optimization-concatenate-modules Concatenate modules when possible to - generate less modules, more efficient - code and enable more optimizations by - the minimizer. ---no-optimization-concatenate-modules Negative - 'optimization-concatenate-modules' - option. ---optimization-emit-on-errors Emit assets even when errors occur. - Critical errors are emitted into the - generated code and will cause errors +--experiments-source-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-sourc + e-phase-imports. This allows importing + modules at stack. --watch-options-poll [value] \`number\`: use polling with specified interval. \`true\`: use polling. @@ -4357,7 +1199,6 @@ Options --watch-options-stdin Stop watching when stdin stream has ended. --no-watch-options-stdin Negative 'watch-options-stdin' option. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -4368,8 +1209,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help build --verbose' to see all available options. - Webpack documentation: https://webpack.js.org/ CLI documentation: https://webpack.js.org/api/cli/ Made with ♥ by the webpack team" @@ -4422,14 +1261,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -4439,8 +1278,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help build --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4453,10 +1290,7 @@ exports[`help should show help information for 'configtest' and respect the "--c exports[`help should show help information for 'configtest' and respect the "--color" flag using the "--help" option: stdout 1`] = ` "Validate a webpack configuration. -Usage: webpack configtest|t [options] [config-path] - -Options --h, --help [verbose] Display help for commands and options. +Usage: webpack configtest|t [config-path] Global options --color Enable colors on console. @@ -4465,8 +1299,6 @@ Global options and 'webpack-dev-server' and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help configtest --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4479,10 +1311,7 @@ exports[`help should show help information for 'configtest' and respect the "--n exports[`help should show help information for 'configtest' and respect the "--no-color" flag using the "--help" option: stdout 1`] = ` "Validate a webpack configuration. -Usage: webpack configtest|t [options] [config-path] - -Options --h, --help [verbose] Display help for commands and options. +Usage: webpack configtest|t [config-path] Global options --color Enable colors on console. @@ -4491,8 +1320,6 @@ Global options and 'webpack-dev-server' and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help configtest --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4505,10 +1332,7 @@ exports[`help should show help information for 'configtest' command using comman exports[`help should show help information for 'configtest' command using command syntax: stdout 1`] = ` "Validate a webpack configuration. -Usage: webpack configtest|t [options] [config-path] - -Options --h, --help [verbose] Display help for commands and options. +Usage: webpack configtest|t [config-path] Global options --color Enable colors on console. @@ -4517,8 +1341,6 @@ Global options and 'webpack-dev-server' and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help configtest --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4531,10 +1353,7 @@ exports[`help should show help information for 'configtest' command using the "- exports[`help should show help information for 'configtest' command using the "--help verbose" option: stdout 1`] = ` "Validate a webpack configuration. -Usage: webpack configtest|t [options] [config-path] - -Options --h, --help [verbose] Display help for commands and options. +Usage: webpack configtest|t [config-path] Global options --color Enable colors on console. @@ -4543,8 +1362,6 @@ Global options and 'webpack-dev-server' and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help configtest --verbose' to see all available options. - Webpack documentation: https://webpack.js.org/ CLI documentation: https://webpack.js.org/api/cli/ Made with ♥ by the webpack team" @@ -4555,10 +1372,7 @@ exports[`help should show help information for 'configtest' command using the "- exports[`help should show help information for 'configtest' command using the "--help" option: stdout 1`] = ` "Validate a webpack configuration. -Usage: webpack configtest|t [options] [config-path] - -Options --h, --help [verbose] Display help for commands and options. +Usage: webpack configtest|t [config-path] Global options --color Enable colors on console. @@ -4567,8 +1381,6 @@ Global options and 'webpack-dev-server' and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help configtest --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4587,7 +1399,6 @@ Options -o, --output To get the output in a specified format (accept json or markdown) -a, --additional-package Adds additional packages to the output --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -4597,8 +1408,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help info --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4617,7 +1426,6 @@ Options -o, --output To get the output in a specified format (accept json or markdown) -a, --additional-package Adds additional packages to the output --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -4627,8 +1435,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help info --verbose' to see all available options. - Webpack documentation: https://webpack.js.org/ CLI documentation: https://webpack.js.org/api/cli/ Made with ♥ by the webpack team" @@ -4645,7 +1451,6 @@ Options -o, --output To get the output in a specified format (accept json or markdown) -a, --additional-package Adds additional packages to the output --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -4655,8 +1460,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help info --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4675,7 +1478,6 @@ Options -o, --output To get the output in a specified format (accept json or markdown) -a, --additional-package Adds additional packages to the output --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -4685,8 +1487,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help info --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4705,7 +1505,6 @@ Options -o, --output To get the output in a specified format (accept json or markdown) -a, --additional-package Adds additional packages to the output --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -4715,8 +1514,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help info --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4735,7 +1532,6 @@ Options -o, --output To get the output in a specified format (accept json or markdown) -a, --additional-package Adds additional packages to the output --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -4745,8 +1541,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help info --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4765,7 +1559,6 @@ Options -o, --output To get the output in a specified format (accept json or markdown) -a, --additional-package Adds additional packages to the output --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -4775,8 +1568,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help info --verbose' to see all available options. - Webpack documentation: https://webpack.js.org/ CLI documentation: https://webpack.js.org/api/cli/ Made with ♥ by the webpack team" @@ -4793,7 +1584,6 @@ Options -o, --output To get the output in a specified format (accept json or markdown) -a, --additional-package Adds additional packages to the output --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -4803,8 +1593,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help info --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -4861,10 +1649,10 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment - to build for. An array of environments - to build for all of them when - possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has @@ -5061,7 +1849,6 @@ Options options. --web-socket-server-type Allows to set web socket server and options (by default 'ws'). --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -5072,8 +1859,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help serve --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -5360,1583 +2145,11 @@ Options module source type. --no-experiments-output-module Negative 'experiments-output-module' option. ---experiments-sync-web-assembly Support WebAssembly as synchronous - EcmaScript Module (outdated). ---no-experiments-sync-web-assembly Negative - 'experiments-sync-web-assembly' - option. --e, --extends Path to the configuration to be - extended (only works when using - webpack-cli). ---extends-reset Clear all items provided in 'extends' - configuration. Extend configuration - from another configuration (only works - when using webpack-cli). ---externals Every matched dependency becomes - external. An exact matched dependency - becomes external. The same string is - used as external dependency. ---externals-reset Clear all items provided in - 'externals' configuration. Specify - dependencies that shouldn't be - resolved by webpack, but should become - dependencies of the resulting bundle. - The kind of the dependency depends on - \`output.libraryTarget\`. ---externals-presets-electron Treat common electron built-in modules - in main and preload context like - 'electron', 'ipc' or 'shell' as - external and load them via require() - when used. ---no-externals-presets-electron Negative 'externals-presets-electron' - option. ---externals-presets-electron-main Treat electron built-in modules in the - main context like 'app', 'ipc-main' or - 'shell' as external and load them via - require() when used. ---no-externals-presets-electron-main Negative - 'externals-presets-electron-main' - option. ---externals-presets-electron-preload Treat electron built-in modules in the - preload context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-preload Negative - 'externals-presets-electron-preload' - option. ---externals-presets-electron-renderer Treat electron built-in modules in the - renderer context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-renderer Negative - 'externals-presets-electron-renderer' - option. ---externals-presets-node Treat node.js built-in modules like - fs, path or vm as external and load - them via require() when used. ---no-externals-presets-node Negative 'externals-presets-node' - option. ---externals-presets-nwjs Treat NW.js legacy nw.gui module as - external and load it via require() - when used. ---no-externals-presets-nwjs Negative 'externals-presets-nwjs' - option. ---externals-presets-web Treat references to 'http(s)://...' - and 'std:...' as external and load - them via import when used (Note that - this changes execution order as - externals are executed before any - other code in the chunk). ---no-externals-presets-web Negative 'externals-presets-web' - option. ---externals-presets-web-async Treat references to 'http(s)://...' - and 'std:...' as external and load - them via async import() when used - (Note that this external type is an - async module, which has various - effects on the execution). ---no-externals-presets-web-async Negative 'externals-presets-web-async' - option. ---externals-type Specifies the default type of - externals ('amd*', 'umd*', 'system' - and 'jsonp' depend on - output.libraryTarget set to the same - value). ---ignore-warnings A RegExp to select the warning - message. ---ignore-warnings-file A RegExp to select the origin file for - the warning. ---ignore-warnings-message A RegExp to select the warning - message. ---ignore-warnings-module A RegExp to select the origin module - for the warning. ---ignore-warnings-reset Clear all items provided in - 'ignoreWarnings' configuration. Ignore - specific warnings. ---infrastructure-logging-append-only Only appends lines to the output. - Avoids updating existing output e. g. - for status messages. This option is - only used when no custom console is - provided. ---no-infrastructure-logging-append-only Negative - 'infrastructure-logging-append-only' - option. ---infrastructure-logging-colors Enables/Disables colorful output. This - option is only used when no custom - console is provided. ---no-infrastructure-logging-colors Negative - 'infrastructure-logging-colors' - option. ---infrastructure-logging-debug [value...] Enable/Disable debug logging for all - loggers. Enable debug logging for - specific loggers. ---no-infrastructure-logging-debug Negative - 'infrastructure-logging-debug' option. ---infrastructure-logging-debug-reset Clear all items provided in - 'infrastructureLogging.debug' - configuration. Enable debug logging - for specific loggers. ---infrastructure-logging-level Log level. ---mode Enable production optimizations or - development hints. ---module-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-expr-context-critical Negative - 'module-expr-context-critical' option. ---module-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. Deprecated: - This option has moved to - 'module.parser.javascript.exprContextR - ecursive'. ---no-module-expr-context-recursive Negative - 'module-expr-context-recursive' - option. ---module-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.exprContextR - egExp'. ---no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' - option. ---module-expr-context-request Set the default request for full - dynamic dependencies. Deprecated: This - option has moved to - 'module.parser.javascript.exprContextR - equest'. ---module-generator-asset-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-binary Negative - 'module-generator-asset-binary' - option. ---module-generator-asset-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-data-url-encoding Negative - 'module-generator-asset-data-url-encod - ing' option. ---module-generator-asset-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-emit Negative 'module-generator-asset-emit' - option. ---module-generator-asset-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-asset-inline-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-inline-binary Negative - 'module-generator-asset-inline-binary' - option. ---module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-inline-data-url-encoding Negative - 'module-generator-asset-inline-data-ur - l-encoding' option. ---module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-resource-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-resource-binary Negative - 'module-generator-asset-resource-binar - y' option. ---module-generator-asset-resource-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-resource-emit Negative - 'module-generator-asset-resource-emit' - option. ---module-generator-asset-resource-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-resource-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-resource-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-css-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-es-module Negative - 'module-generator-css-es-module' - option. ---module-generator-css-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-exports-only Negative - 'module-generator-css-exports-only' - option. ---module-generator-css-auto-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-auto-es-module Negative - 'module-generator-css-auto-es-module' - option. ---module-generator-css-auto-export-type Configure how CSS content is exported - as default. ---module-generator-css-auto-exports-convention Specifies the convention of exported - names. ---module-generator-css-auto-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-auto-exports-only Negative - 'module-generator-css-auto-exports-onl - y' option. ---module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-auto-local-ident-name Configure the generated local ident - name. ---module-generator-css-global-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-global-es-module Negative - 'module-generator-css-global-es-module - ' option. ---module-generator-css-global-export-type Configure how CSS content is exported - as default. ---module-generator-css-global-exports-convention Specifies the convention of exported - names. ---module-generator-css-global-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-global-exports-only Negative - 'module-generator-css-global-exports-o - nly' option. ---module-generator-css-global-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-global-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-global-local-ident-name Configure the generated local ident - name. ---module-generator-css-module-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-module-es-module Negative - 'module-generator-css-module-es-module - ' option. ---module-generator-css-module-export-type Configure how CSS content is exported - as default. ---module-generator-css-module-exports-convention Specifies the convention of exported - names. ---module-generator-css-module-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-module-exports-only Negative - 'module-generator-css-module-exports-o - nly' option. ---module-generator-css-module-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-module-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-module-local-ident-name Configure the generated local ident - name. ---module-generator-json-json-parse Use \`JSON.parse\` when the JSON string - is longer than 20 characters. ---no-module-generator-json-json-parse Negative - 'module-generator-json-json-parse' - option. ---module-no-parse A regular expression, when matched the - module is not parsed. An absolute - path, when the module starts with this - path it is not parsed. ---module-no-parse-reset Clear all items provided in - 'module.noParse' configuration. Don't - parse files matching. It's matched - against the full resolved request. ---module-parser-asset-data-url-condition-max-size Maximum size of asset that should be - inline as modules. Default: 8kb. ---module-parser-css-export-type Configure how CSS content is exported - as default. ---module-parser-css-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-import Negative 'module-parser-css-import' - option. ---module-parser-css-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-named-exports Negative - 'module-parser-css-named-exports' - option. ---module-parser-css-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-url Negative 'module-parser-css-url' - option. ---module-parser-css-auto-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-auto-animation Negative - 'module-parser-css-auto-animation' - option. ---module-parser-css-auto-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-auto-container Negative - 'module-parser-css-auto-container' - option. ---module-parser-css-auto-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-auto-custom-idents Negative - 'module-parser-css-auto-custom-idents' - option. ---module-parser-css-auto-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-auto-dashed-idents Negative - 'module-parser-css-auto-dashed-idents' - option. ---module-parser-css-auto-export-type Configure how CSS content is exported - as default. ---module-parser-css-auto-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-auto-function Negative - 'module-parser-css-auto-function' - option. ---module-parser-css-auto-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' - option. ---module-parser-css-auto-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-auto-import Negative - 'module-parser-css-auto-import' - option. ---module-parser-css-auto-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-auto-named-exports Negative - 'module-parser-css-auto-named-exports' - option. ---module-parser-css-auto-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' - option. ---module-parser-css-global-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-global-animation Negative - 'module-parser-css-global-animation' - option. ---module-parser-css-global-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-global-container Negative - 'module-parser-css-global-container' - option. ---module-parser-css-global-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-global-custom-idents Negative - 'module-parser-css-global-custom-ident - s' option. ---module-parser-css-global-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-global-dashed-idents Negative - 'module-parser-css-global-dashed-ident - s' option. ---module-parser-css-global-export-type Configure how CSS content is exported - as default. ---module-parser-css-global-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-global-function Negative - 'module-parser-css-global-function' - option. ---module-parser-css-global-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-global-grid Negative - 'module-parser-css-global-grid' - option. ---module-parser-css-global-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-global-import Negative - 'module-parser-css-global-import' - option. ---module-parser-css-global-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-global-named-exports Negative - 'module-parser-css-global-named-export - s' option. ---module-parser-css-global-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-global-url Negative - 'module-parser-css-global-url' option. ---module-parser-css-module-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-module-animation Negative - 'module-parser-css-module-animation' - option. ---module-parser-css-module-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-module-container Negative - 'module-parser-css-module-container' - option. ---module-parser-css-module-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-module-custom-idents Negative - 'module-parser-css-module-custom-ident - s' option. ---module-parser-css-module-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-module-dashed-idents Negative - 'module-parser-css-module-dashed-ident - s' option. ---module-parser-css-module-export-type Configure how CSS content is exported - as default. ---module-parser-css-module-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-module-function Negative - 'module-parser-css-module-function' - option. ---module-parser-css-module-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-module-grid Negative - 'module-parser-css-module-grid' - option. ---module-parser-css-module-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-module-import Negative - 'module-parser-css-module-import' - option. ---module-parser-css-module-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-module-named-exports Negative - 'module-parser-css-module-named-export - s' option. ---module-parser-css-module-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-module-url Negative - 'module-parser-css-module-url' option. ---no-module-parser-javascript-amd Negative - 'module-parser-javascript-amd' option. ---module-parser-javascript-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-browserify Negative - 'module-parser-javascript-browserify' - option. ---module-parser-javascript-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-commonjs Negative - 'module-parser-javascript-commonjs' - option. ---module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-commonjs-magic-comments Negative - 'module-parser-javascript-commonjs-mag - ic-comments' option. ---module-parser-javascript-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-create-require Negative - 'module-parser-javascript-create-requi - re' option. ---module-parser-javascript-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-defer-import Negative - 'module-parser-javascript-defer-import - ' option. ---module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-impo - rt-fetch-priority' option. ---module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-impo - rt-prefetch' option. ---module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-impo - rt-preload' option. ---module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. - Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-dynamic-url Negative - 'module-parser-javascript-dynamic-url' - option. ---module-parser-javascript-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-exports-presence Negative - 'module-parser-javascript-exports-pres - ence' option. ---module-parser-javascript-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-expr-context-critical Negative - 'module-parser-javascript-expr-context - -critical' option. ---module-parser-javascript-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-expr-context-recursive Negative - 'module-parser-javascript-expr-context - -recursive' option. ---module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-expr-context-reg-exp Negative - 'module-parser-javascript-expr-context - -reg-exp' option. ---module-parser-javascript-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-harmony Negative - 'module-parser-javascript-harmony' - option. ---module-parser-javascript-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-import Negative - 'module-parser-javascript-import' - option. ---module-parser-javascript-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-import-exports-presence Negative - 'module-parser-javascript-import-expor - ts-presence' option. ---module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-import-meta Negative - 'module-parser-javascript-import-meta' - option. ---module-parser-javascript-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-import-meta-context Negative - 'module-parser-javascript-import-meta- - context' option. ---no-module-parser-javascript-node Negative - 'module-parser-javascript-node' - option. ---module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-node-dirname Negative - 'module-parser-javascript-node-dirname - ' option. ---module-parser-javascript-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-node-filename Negative - 'module-parser-javascript-node-filenam - e' option. ---module-parser-javascript-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-node-global Negative - 'module-parser-javascript-node-global' - option. ---module-parser-javascript-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-reexport-exports-presence Negative - 'module-parser-javascript-reexport-exp - orts-presence' option. ---module-parser-javascript-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-require-context Negative - 'module-parser-javascript-require-cont - ext' option. ---module-parser-javascript-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-require-ensure Negative - 'module-parser-javascript-require-ensu - re' option. ---module-parser-javascript-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-require-include Negative - 'module-parser-javascript-require-incl - ude' option. ---module-parser-javascript-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-require-js Negative - 'module-parser-javascript-require-js' - option. ---module-parser-javascript-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-strict-export-presence Negative - 'module-parser-javascript-strict-expor - t-presence' option. ---module-parser-javascript-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-strict-this-context-on-imports Negative - 'module-parser-javascript-strict-this- - context-on-imports' option. ---module-parser-javascript-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-system Negative - 'module-parser-javascript-system' - option. ---module-parser-javascript-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-unknown-context-critical Negative - 'module-parser-javascript-unknown-cont - ext-critical' option. ---module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-recursive Negative - 'module-parser-javascript-unknown-cont - ext-recursive' option. ---module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-reg-exp Negative - 'module-parser-javascript-unknown-cont - ext-reg-exp' option. ---module-parser-javascript-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-url Negative - 'module-parser-javascript-url' option. ---module-parser-javascript-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-worker Negative - 'module-parser-javascript-worker' - option. ---module-parser-javascript-worker-reset Clear all items provided in - 'module.parser.javascript.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-wrapped-context-critical Negative - 'module-parser-javascript-wrapped-cont - ext-critical' option. ---module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-wrapped-context-recursive Negative - 'module-parser-javascript-wrapped-cont - ext-recursive' option. ---module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-auto-amd Negative - 'module-parser-javascript-auto-amd' - option. ---module-parser-javascript-auto-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-auto-browserify Negative - 'module-parser-javascript-auto-browser - ify' option. ---module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-auto-commonjs Negative - 'module-parser-javascript-auto-commonj - s' option. ---module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-auto-commonjs-magic-comments Negative - 'module-parser-javascript-auto-commonj - s-magic-comments' option. ---module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-auto-create-require Negative - 'module-parser-javascript-auto-create- - require' option. ---module-parser-javascript-auto-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-auto-defer-import Negative - 'module-parser-javascript-auto-defer-i - mport' option. ---module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative - 'module-parser-javascript-auto-dynamic - -import-fetch-priority' option. ---module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-prefetch Negative - 'module-parser-javascript-auto-dynamic - -import-prefetch' option. ---module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-preload Negative - 'module-parser-javascript-auto-dynamic - -import-preload' option. ---module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-auto-dynamic-url Negative - 'module-parser-javascript-auto-dynamic - -url' option. ---module-parser-javascript-auto-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-auto-exports-presence Negative - 'module-parser-javascript-auto-exports - -presence' option. ---module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-auto-expr-context-critical Negative - 'module-parser-javascript-auto-expr-co - ntext-critical' option. ---module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-recursive Negative - 'module-parser-javascript-auto-expr-co - ntext-recursive' option. ---module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-reg-exp Negative - 'module-parser-javascript-auto-expr-co - ntext-reg-exp' option. ---module-parser-javascript-auto-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-auto-harmony Negative - 'module-parser-javascript-auto-harmony - ' option. ---module-parser-javascript-auto-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-auto-import Negative - 'module-parser-javascript-auto-import' - option. ---module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-auto-import-exports-presence Negative - 'module-parser-javascript-auto-import- - exports-presence' option. ---module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-auto-import-meta Negative - 'module-parser-javascript-auto-import- - meta' option. ---module-parser-javascript-auto-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-auto-import-meta-context Negative - 'module-parser-javascript-auto-import- - meta-context' option. ---no-module-parser-javascript-auto-node Negative - 'module-parser-javascript-auto-node' - option. ---module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-auto-node-dirname Negative - 'module-parser-javascript-auto-node-di - rname' option. ---module-parser-javascript-auto-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-auto-node-filename Negative - 'module-parser-javascript-auto-node-fi - lename' option. ---module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-auto-node-global Negative - 'module-parser-javascript-auto-node-gl - obal' option. ---module-parser-javascript-auto-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-auto-reexport-exports-presence Negative - 'module-parser-javascript-auto-reexpor - t-exports-presence' option. ---module-parser-javascript-auto-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-auto-require-context Negative - 'module-parser-javascript-auto-require - -context' option. ---module-parser-javascript-auto-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-auto-require-ensure Negative - 'module-parser-javascript-auto-require - -ensure' option. ---module-parser-javascript-auto-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-auto-require-include Negative - 'module-parser-javascript-auto-require - -include' option. ---module-parser-javascript-auto-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-auto-require-js Negative - 'module-parser-javascript-auto-require - -js' option. ---module-parser-javascript-auto-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-auto-strict-export-presence Negative - 'module-parser-javascript-auto-strict- - export-presence' option. ---module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-auto-strict-this-context-on-imports Negative - 'module-parser-javascript-auto-strict- - this-context-on-imports' option. ---module-parser-javascript-auto-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-auto-system Negative - 'module-parser-javascript-auto-system' - option. ---module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-auto-unknown-context-critical Negative - 'module-parser-javascript-auto-unknown - -context-critical' option. ---module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-recursive Negative - 'module-parser-javascript-auto-unknown - -context-recursive' option. ---module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-reg-exp Negative - 'module-parser-javascript-auto-unknown - -context-reg-exp' option. ---module-parser-javascript-auto-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-auto-url Negative - 'module-parser-javascript-auto-url' - option. ---module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-auto-worker Negative - 'module-parser-javascript-auto-worker' - option. ---module-parser-javascript-auto-worker-reset Clear all items provided in - 'module.parser.javascript/auto.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-auto-wrapped-context-critical Negative - 'module-parser-javascript-auto-wrapped - -context-critical' option. ---module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-auto-wrapped-context-recursive Negative - 'module-parser-javascript-auto-wrapped - -context-recursive' option. ---module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-amd Negative - 'module-parser-javascript-dynamic-amd' - option. ---module-parser-javascript-dynamic-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-dynamic-browserify Negative - 'module-parser-javascript-dynamic-brow - serify' option. ---module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-dynamic-commonjs Negative - 'module-parser-javascript-dynamic-comm - onjs' option. ---module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-dynamic-commonjs-magic-comments Negative - 'module-parser-javascript-dynamic-comm - onjs-magic-comments' option. ---module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-dynamic-create-require Negative - 'module-parser-javascript-dynamic-crea - te-require' option. ---module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-dynamic-defer-import Negative - 'module-parser-javascript-dynamic-defe - r-import' option. ---module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-dyna - mic-import-fetch-priority' option. ---module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-dyna - mic-import-prefetch' option. ---module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-dyna - mic-import-preload' option. ---module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-dynamic-dynamic-url Negative - 'module-parser-javascript-dynamic-dyna - mic-url' option. ---module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-dynamic-exports-presence Negative - 'module-parser-javascript-dynamic-expo - rts-presence' option. ---module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-dynamic-expr-context-critical Negative - 'module-parser-javascript-dynamic-expr - -context-critical' option. ---module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-recursive Negative - 'module-parser-javascript-dynamic-expr - -context-recursive' option. ---module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-reg-exp Negative - 'module-parser-javascript-dynamic-expr - -context-reg-exp' option. ---module-parser-javascript-dynamic-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-dynamic-harmony Negative - 'module-parser-javascript-dynamic-harm - ony' option. ---module-parser-javascript-dynamic-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-dynamic-import Negative - 'module-parser-javascript-dynamic-impo - rt' option. ---module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-dynamic-import-exports-presence Negative - 'module-parser-javascript-dynamic-impo - rt-exports-presence' option. ---module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-dynamic-import-meta Negative - 'module-parser-javascript-dynamic-impo - rt-meta' option. ---module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-dynamic-import-meta-context Negative - 'module-parser-javascript-dynamic-impo - rt-meta-context' option. ---no-module-parser-javascript-dynamic-node Negative - 'module-parser-javascript-dynamic-node - ' option. ---module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-dynamic-node-dirname Negative - 'module-parser-javascript-dynamic-node - -dirname' option. ---module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-dynamic-node-filename Negative - 'module-parser-javascript-dynamic-node - -filename' option. ---module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-dynamic-node-global Negative - 'module-parser-javascript-dynamic-node - -global' option. ---module-parser-javascript-dynamic-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-dynamic-reexport-exports-presence Negative - 'module-parser-javascript-dynamic-reex - port-exports-presence' option. ---module-parser-javascript-dynamic-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-dynamic-require-context Negative - 'module-parser-javascript-dynamic-requ - ire-context' option. ---module-parser-javascript-dynamic-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-dynamic-require-ensure Negative - 'module-parser-javascript-dynamic-requ - ire-ensure' option. ---module-parser-javascript-dynamic-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-dynamic-require-include Negative - 'module-parser-javascript-dynamic-requ - ire-include' option. ---module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-dynamic-require-js Negative - 'module-parser-javascript-dynamic-requ - ire-js' option. ---module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-dynamic-strict-export-presence Negative - 'module-parser-javascript-dynamic-stri - ct-export-presence' option. ---module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative - 'module-parser-javascript-dynamic-stri - ct-this-context-on-imports' option. ---module-parser-javascript-dynamic-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-dynamic-system Negative - 'module-parser-javascript-dynamic-syst - em' option. ---module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-critical Negative - 'module-parser-javascript-dynamic-unkn - own-context-critical' option. ---module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-recursive Negative - 'module-parser-javascript-dynamic-unkn - own-context-recursive' option. ---module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative - 'module-parser-javascript-dynamic-unkn - own-context-reg-exp' option. ---module-parser-javascript-dynamic-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-dynamic-worker Negative - 'module-parser-javascript-dynamic-work - er' option. ---module-parser-javascript-dynamic-worker-reset Clear all items provided in - 'module.parser.javascript/dynamic.work - er' configuration. Disable or - configure parsing of WebWorker syntax - like new Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-critical Negative - 'module-parser-javascript-dynamic-wrap - ped-context-critical' option. ---module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-recursive Negative - 'module-parser-javascript-dynamic-wrap - ped-context-recursive' option. ---module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-esm-amd Negative - 'module-parser-javascript-esm-amd' - option. ---module-parser-javascript-esm-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-esm-browserify Negative - 'module-parser-javascript-esm-browseri - fy' option. ---module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-esm-commonjs Negative - 'module-parser-javascript-esm-commonjs - ' option. ---module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-esm-commonjs-magic-comments Negative - 'module-parser-javascript-esm-commonjs - -magic-comments' option. ---module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-esm-create-require Negative - 'module-parser-javascript-esm-create-r - equire' option. ---module-parser-javascript-esm-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-esm-defer-import Negative - 'module-parser-javascript-esm-defer-im - port' option. ---module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative - 'module-parser-javascript-esm-dynamic- - import-fetch-priority' option. ---module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-prefetch Negative - 'module-parser-javascript-esm-dynamic- - import-prefetch' option. ---module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-preload Negative - 'module-parser-javascript-esm-dynamic- - import-preload' option. ---module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-esm-dynamic-url Negative - 'module-parser-javascript-esm-dynamic- - url' option. ---module-parser-javascript-esm-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-esm-exports-presence Negative - 'module-parser-javascript-esm-exports- - presence' option. ---module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-esm-expr-context-critical Negative - 'module-parser-javascript-esm-expr-con - text-critical' option. ---module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-recursive Negative - 'module-parser-javascript-esm-expr-con - text-recursive' option. ---module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-reg-exp Negative - 'module-parser-javascript-esm-expr-con - text-reg-exp' option. ---module-parser-javascript-esm-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-esm-harmony Negative - 'module-parser-javascript-esm-harmony' - option. ---module-parser-javascript-esm-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-esm-import Negative - 'module-parser-javascript-esm-import' - option. ---module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-esm-import-exports-presence Negative - 'module-parser-javascript-esm-import-e - xports-presence' option. ---module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-esm-import-meta Negative - 'module-parser-javascript-esm-import-m - eta' option. ---module-parser-javascript-esm-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-esm-import-meta-context Negative - 'module-parser-javascript-esm-import-m - eta-context' option. ---no-module-parser-javascript-esm-node Negative - 'module-parser-javascript-esm-node' - option. ---module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-esm-node-dirname Negative - 'module-parser-javascript-esm-node-dir - name' option. ---module-parser-javascript-esm-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-esm-node-filename Negative - 'module-parser-javascript-esm-node-fil - ename' option. ---module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-esm-node-global Negative - 'module-parser-javascript-esm-node-glo - bal' option. ---module-parser-javascript-esm-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-esm-reexport-exports-presence Negative - 'module-parser-javascript-esm-reexport - -exports-presence' option. ---module-parser-javascript-esm-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-esm-require-context Negative - 'module-parser-javascript-esm-require- - context' option. ---module-parser-javascript-esm-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-esm-require-ensure Negative - 'module-parser-javascript-esm-require- - ensure' option. ---module-parser-javascript-esm-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-esm-require-include Negative - 'module-parser-javascript-esm-require- - include' option. ---module-parser-javascript-esm-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-esm-require-js Negative - 'module-parser-javascript-esm-require- - js' option. ---module-parser-javascript-esm-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-esm-strict-export-presence Negative - 'module-parser-javascript-esm-strict-e - xport-presence' option. ---module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-esm-strict-this-context-on-imports Negative - 'module-parser-javascript-esm-strict-t - his-context-on-imports' option. ---module-parser-javascript-esm-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-esm-system Negative - 'module-parser-javascript-esm-system' - option. ---module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-esm-unknown-context-critical Negative - 'module-parser-javascript-esm-unknown- - context-critical' option. ---module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-recursive Negative - 'module-parser-javascript-esm-unknown- - context-recursive' option. ---module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-reg-exp Negative - 'module-parser-javascript-esm-unknown- - context-reg-exp' option. ---module-parser-javascript-esm-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-esm-url Negative - 'module-parser-javascript-esm-url' - option. ---module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-esm-worker Negative - 'module-parser-javascript-esm-worker' - option. ---module-parser-javascript-esm-worker-reset Clear all items provided in - 'module.parser.javascript/esm.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-esm-wrapped-context-critical Negative - 'module-parser-javascript-esm-wrapped- - context-critical' option. ---module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-esm-wrapped-context-recursive Negative - 'module-parser-javascript-esm-wrapped- - context-recursive' option. ---module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---module-parser-json-exports-depth The depth of json dependency flagged - as \`exportInfo\`. ---module-parser-json-named-exports Allow named exports for json of object - type. ---no-module-parser-json-named-exports Negative - 'module-parser-json-named-exports' - option. ---module-rules-compiler Match the child compiler name. ---module-rules-compiler-not Logical NOT. ---module-rules-dependency Match dependency type. ---module-rules-dependency-not Logical NOT. ---module-rules-enforce Enforce this rule as pre or post step. ---module-rules-exclude Shortcut for resource.exclude. ---module-rules-exclude-not Logical NOT. ---module-rules-extract-source-map Enable/Disable extracting source map. ---no-module-rules-extract-source-map Negative - 'module-rules-extract-source-map' - option. ---module-rules-include Shortcut for resource.include. ---module-rules-include-not Logical NOT. ---module-rules-issuer Match the issuer of the module (The - module pointing to this module). ---module-rules-issuer-not Logical NOT. ---module-rules-issuer-layer Match layer of the issuer of this - module (The module pointing to this - module). ---module-rules-issuer-layer-not Logical NOT. ---module-rules-layer Specifies the layer in which the - module should be placed in. ---module-rules-loader A loader request. ---module-rules-mimetype Match module mimetype when load from - Data URI. ---module-rules-mimetype-not Logical NOT. ---module-rules-real-resource Match the real resource path of the - module. ---module-rules-real-resource-not Logical NOT. ---module-rules-resource Match the resource path of the module. ---module-rules-resource-not Logical NOT. ---module-rules-resource-fragment Match the resource fragment of the - module. ---module-rules-resource-fragment-not Logical NOT. ---module-rules-resource-query Match the resource query of the - module. ---module-rules-resource-query-not Logical NOT. ---module-rules-scheme Match module scheme. ---module-rules-scheme-not Logical NOT. ---module-rules-side-effects Flags a module as with or without side - effects. ---no-module-rules-side-effects Negative 'module-rules-side-effects' - option. ---module-rules-test Shortcut for resource.test. ---module-rules-test-not Logical NOT. ---module-rules-type Module type to use for the module. ---module-rules-use-ident Unique loader options identifier. ---module-rules-use-loader A loader request. ---module-rules-use-options Options passed to a loader. ---module-rules-use A loader request. ---module-rules-reset Clear all items provided in - 'module.rules' configuration. A list - of rules. ---module-strict-export-presence Emit errors instead of warnings when - imported names don't exist in imported - module. Deprecated: This option has - moved to - 'module.parser.javascript.strictExport - Presence'. ---no-module-strict-export-presence Negative - 'module-strict-export-presence' - option. ---module-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. Deprecated: This option has - moved to - 'module.parser.javascript.strictThisCo - ntextOnImports'. ---no-module-strict-this-context-on-imports Negative - 'module-strict-this-context-on-imports - ' option. ---module-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtCritical'. ---no-module-unknown-context-critical Negative - 'module-unknown-context-critical' - option. ---module-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRecursive'. ---no-module-unknown-context-recursive Negative - 'module-unknown-context-recursive' - option. ---module-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRegExp'. ---no-module-unknown-context-reg-exp Negative - 'module-unknown-context-reg-exp' - option. ---module-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtRequest'. ---module-unsafe-cache Cache the resolving of module - requests. ---no-module-unsafe-cache Negative 'module-unsafe-cache' option. ---module-wrapped-context-critical Enable warnings for partial dynamic - dependencies. Deprecated: This option - has moved to - 'module.parser.javascript.wrappedConte - xtCritical'. ---no-module-wrapped-context-critical Negative - 'module-wrapped-context-critical' - option. ---module-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRecursive'. ---no-module-wrapped-context-recursive Negative - 'module-wrapped-context-recursive' - option. ---module-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRegExp'. ---name Name of the configuration. Used when - loading multiple configurations. ---no-node Negative 'node' option. ---node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-node-dirname Negative 'node-dirname' option. ---node-filename [value] Include a polyfill for the - '__filename' variable. ---no-node-filename Negative 'node-filename' option. ---node-global [value] Include a polyfill for the 'global' - variable. ---no-node-global Negative 'node-global' option. ---optimization-avoid-entry-iife Avoid wrapping the entry module in an - IIFE. ---no-optimization-avoid-entry-iife Negative - 'optimization-avoid-entry-iife' - option. ---optimization-check-wasm-types Check for incompatible wasm types when - importing/exporting from/to ESM. ---no-optimization-check-wasm-types Negative - 'optimization-check-wasm-types' - option. ---optimization-chunk-ids Define the algorithm to choose chunk - ids (named: readable ids for better - debugging, deterministic: numeric hash - ids for better long term caching, - size: numeric ids focused on minimal - initial download size, total-size: - numeric ids focused on minimal total - download size, false: no algorithm - used, as custom one can be provided - via plugin). ---no-optimization-chunk-ids Negative 'optimization-chunk-ids' - option. ---optimization-concatenate-modules Concatenate modules when possible to - generate less modules, more efficient - code and enable more optimizations by - the minimizer. ---no-optimization-concatenate-modules Negative - 'optimization-concatenate-modules' - option. ---optimization-emit-on-errors Emit assets even when errors occur. - Critical errors are emitted into the - generated code and will cause errors +--experiments-source-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-sourc + e-phase-imports. This allows importing + modules at stack. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -6947,8 +2160,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help serve --verbose' to see all available options. - Webpack documentation: https://webpack.js.org/ CLI documentation: https://webpack.js.org/api/cli/ Made with ♥ by the webpack team" @@ -7003,10 +2214,10 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment - to build for. An array of environments - to build for all of them when - possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has @@ -7203,7 +2414,6 @@ Options options. --web-socket-server-type Allows to set web socket server and options (by default 'ws'). --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -7214,8 +2424,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help serve --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -7272,10 +2480,10 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment - to build for. An array of environments - to build for all of them when - possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has @@ -7472,7 +2680,6 @@ Options options. --web-socket-server-type Allows to set web socket server and options (by default 'ws'). --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -7483,8 +2690,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help serve --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -7541,10 +2746,10 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment - to build for. An array of environments - to build for all of them when - possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has @@ -7741,7 +2946,6 @@ Options options. --web-socket-server-type Allows to set web socket server and options (by default 'ws'). --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -7752,8 +2956,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help serve --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -7810,10 +3012,10 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment - to build for. An array of environments - to build for all of them when - possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has @@ -8010,7 +3212,6 @@ Options options. --web-socket-server-type Allows to set web socket server and options (by default 'ws'). --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -8021,8 +3222,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help serve --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -8309,1639 +3508,65 @@ Options module source type. --no-experiments-output-module Negative 'experiments-output-module' option. ---experiments-sync-web-assembly Support WebAssembly as synchronous - EcmaScript Module (outdated). ---no-experiments-sync-web-assembly Negative - 'experiments-sync-web-assembly' - option. --e, --extends Path to the configuration to be - extended (only works when using - webpack-cli). ---extends-reset Clear all items provided in 'extends' - configuration. Extend configuration - from another configuration (only works - when using webpack-cli). ---externals Every matched dependency becomes - external. An exact matched dependency - becomes external. The same string is - used as external dependency. ---externals-reset Clear all items provided in - 'externals' configuration. Specify - dependencies that shouldn't be - resolved by webpack, but should become - dependencies of the resulting bundle. - The kind of the dependency depends on - \`output.libraryTarget\`. ---externals-presets-electron Treat common electron built-in modules - in main and preload context like - 'electron', 'ipc' or 'shell' as - external and load them via require() - when used. ---no-externals-presets-electron Negative 'externals-presets-electron' - option. ---externals-presets-electron-main Treat electron built-in modules in the - main context like 'app', 'ipc-main' or - 'shell' as external and load them via - require() when used. ---no-externals-presets-electron-main Negative - 'externals-presets-electron-main' - option. ---externals-presets-electron-preload Treat electron built-in modules in the - preload context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-preload Negative - 'externals-presets-electron-preload' - option. ---externals-presets-electron-renderer Treat electron built-in modules in the - renderer context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-renderer Negative - 'externals-presets-electron-renderer' - option. ---externals-presets-node Treat node.js built-in modules like - fs, path or vm as external and load - them via require() when used. ---no-externals-presets-node Negative 'externals-presets-node' - option. ---externals-presets-nwjs Treat NW.js legacy nw.gui module as - external and load it via require() - when used. ---no-externals-presets-nwjs Negative 'externals-presets-nwjs' - option. ---externals-presets-web Treat references to 'http(s)://...' - and 'std:...' as external and load - them via import when used (Note that - this changes execution order as - externals are executed before any - other code in the chunk). ---no-externals-presets-web Negative 'externals-presets-web' - option. ---externals-presets-web-async Treat references to 'http(s)://...' - and 'std:...' as external and load - them via async import() when used - (Note that this external type is an - async module, which has various - effects on the execution). ---no-externals-presets-web-async Negative 'externals-presets-web-async' - option. ---externals-type Specifies the default type of - externals ('amd*', 'umd*', 'system' - and 'jsonp' depend on - output.libraryTarget set to the same - value). ---ignore-warnings A RegExp to select the warning - message. ---ignore-warnings-file A RegExp to select the origin file for - the warning. ---ignore-warnings-message A RegExp to select the warning - message. ---ignore-warnings-module A RegExp to select the origin module - for the warning. ---ignore-warnings-reset Clear all items provided in - 'ignoreWarnings' configuration. Ignore - specific warnings. ---infrastructure-logging-append-only Only appends lines to the output. - Avoids updating existing output e. g. - for status messages. This option is - only used when no custom console is - provided. ---no-infrastructure-logging-append-only Negative - 'infrastructure-logging-append-only' - option. ---infrastructure-logging-colors Enables/Disables colorful output. This - option is only used when no custom - console is provided. ---no-infrastructure-logging-colors Negative - 'infrastructure-logging-colors' - option. ---infrastructure-logging-debug [value...] Enable/Disable debug logging for all - loggers. Enable debug logging for - specific loggers. ---no-infrastructure-logging-debug Negative - 'infrastructure-logging-debug' option. ---infrastructure-logging-debug-reset Clear all items provided in - 'infrastructureLogging.debug' - configuration. Enable debug logging - for specific loggers. ---infrastructure-logging-level Log level. ---mode Enable production optimizations or - development hints. ---module-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-expr-context-critical Negative - 'module-expr-context-critical' option. ---module-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. Deprecated: - This option has moved to - 'module.parser.javascript.exprContextR - ecursive'. ---no-module-expr-context-recursive Negative - 'module-expr-context-recursive' - option. ---module-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.exprContextR - egExp'. ---no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' - option. ---module-expr-context-request Set the default request for full - dynamic dependencies. Deprecated: This - option has moved to - 'module.parser.javascript.exprContextR - equest'. ---module-generator-asset-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-binary Negative - 'module-generator-asset-binary' - option. ---module-generator-asset-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-data-url-encoding Negative - 'module-generator-asset-data-url-encod - ing' option. ---module-generator-asset-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-emit Negative 'module-generator-asset-emit' - option. ---module-generator-asset-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-asset-inline-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-inline-binary Negative - 'module-generator-asset-inline-binary' - option. ---module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-inline-data-url-encoding Negative - 'module-generator-asset-inline-data-ur - l-encoding' option. ---module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-resource-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-resource-binary Negative - 'module-generator-asset-resource-binar - y' option. ---module-generator-asset-resource-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-resource-emit Negative - 'module-generator-asset-resource-emit' - option. ---module-generator-asset-resource-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-resource-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-resource-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-css-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-es-module Negative - 'module-generator-css-es-module' - option. ---module-generator-css-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-exports-only Negative - 'module-generator-css-exports-only' - option. ---module-generator-css-auto-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-auto-es-module Negative - 'module-generator-css-auto-es-module' - option. ---module-generator-css-auto-export-type Configure how CSS content is exported - as default. ---module-generator-css-auto-exports-convention Specifies the convention of exported - names. ---module-generator-css-auto-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-auto-exports-only Negative - 'module-generator-css-auto-exports-onl - y' option. ---module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-auto-local-ident-name Configure the generated local ident - name. ---module-generator-css-global-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-global-es-module Negative - 'module-generator-css-global-es-module - ' option. ---module-generator-css-global-export-type Configure how CSS content is exported - as default. ---module-generator-css-global-exports-convention Specifies the convention of exported - names. ---module-generator-css-global-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-global-exports-only Negative - 'module-generator-css-global-exports-o - nly' option. ---module-generator-css-global-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-global-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-global-local-ident-name Configure the generated local ident - name. ---module-generator-css-module-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-module-es-module Negative - 'module-generator-css-module-es-module - ' option. ---module-generator-css-module-export-type Configure how CSS content is exported - as default. ---module-generator-css-module-exports-convention Specifies the convention of exported - names. ---module-generator-css-module-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-module-exports-only Negative - 'module-generator-css-module-exports-o - nly' option. ---module-generator-css-module-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-module-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-module-local-ident-name Configure the generated local ident - name. ---module-generator-json-json-parse Use \`JSON.parse\` when the JSON string - is longer than 20 characters. ---no-module-generator-json-json-parse Negative - 'module-generator-json-json-parse' - option. ---module-no-parse A regular expression, when matched the - module is not parsed. An absolute - path, when the module starts with this - path it is not parsed. ---module-no-parse-reset Clear all items provided in - 'module.noParse' configuration. Don't - parse files matching. It's matched - against the full resolved request. ---module-parser-asset-data-url-condition-max-size Maximum size of asset that should be - inline as modules. Default: 8kb. ---module-parser-css-export-type Configure how CSS content is exported - as default. ---module-parser-css-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-import Negative 'module-parser-css-import' - option. ---module-parser-css-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-named-exports Negative - 'module-parser-css-named-exports' - option. ---module-parser-css-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-url Negative 'module-parser-css-url' - option. ---module-parser-css-auto-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-auto-animation Negative - 'module-parser-css-auto-animation' - option. ---module-parser-css-auto-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-auto-container Negative - 'module-parser-css-auto-container' - option. ---module-parser-css-auto-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-auto-custom-idents Negative - 'module-parser-css-auto-custom-idents' - option. ---module-parser-css-auto-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-auto-dashed-idents Negative - 'module-parser-css-auto-dashed-idents' - option. ---module-parser-css-auto-export-type Configure how CSS content is exported - as default. ---module-parser-css-auto-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-auto-function Negative - 'module-parser-css-auto-function' - option. ---module-parser-css-auto-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' - option. ---module-parser-css-auto-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-auto-import Negative - 'module-parser-css-auto-import' - option. ---module-parser-css-auto-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-auto-named-exports Negative - 'module-parser-css-auto-named-exports' - option. ---module-parser-css-auto-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' - option. ---module-parser-css-global-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-global-animation Negative - 'module-parser-css-global-animation' - option. ---module-parser-css-global-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-global-container Negative - 'module-parser-css-global-container' - option. ---module-parser-css-global-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-global-custom-idents Negative - 'module-parser-css-global-custom-ident - s' option. ---module-parser-css-global-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-global-dashed-idents Negative - 'module-parser-css-global-dashed-ident - s' option. ---module-parser-css-global-export-type Configure how CSS content is exported - as default. ---module-parser-css-global-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-global-function Negative - 'module-parser-css-global-function' - option. ---module-parser-css-global-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-global-grid Negative - 'module-parser-css-global-grid' - option. ---module-parser-css-global-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-global-import Negative - 'module-parser-css-global-import' - option. ---module-parser-css-global-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-global-named-exports Negative - 'module-parser-css-global-named-export - s' option. ---module-parser-css-global-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-global-url Negative - 'module-parser-css-global-url' option. ---module-parser-css-module-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-module-animation Negative - 'module-parser-css-module-animation' - option. ---module-parser-css-module-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-module-container Negative - 'module-parser-css-module-container' - option. ---module-parser-css-module-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-module-custom-idents Negative - 'module-parser-css-module-custom-ident - s' option. ---module-parser-css-module-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-module-dashed-idents Negative - 'module-parser-css-module-dashed-ident - s' option. ---module-parser-css-module-export-type Configure how CSS content is exported - as default. ---module-parser-css-module-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-module-function Negative - 'module-parser-css-module-function' - option. ---module-parser-css-module-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-module-grid Negative - 'module-parser-css-module-grid' - option. ---module-parser-css-module-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-module-import Negative - 'module-parser-css-module-import' - option. ---module-parser-css-module-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-module-named-exports Negative - 'module-parser-css-module-named-export - s' option. ---module-parser-css-module-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-module-url Negative - 'module-parser-css-module-url' option. ---no-module-parser-javascript-amd Negative - 'module-parser-javascript-amd' option. ---module-parser-javascript-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-browserify Negative - 'module-parser-javascript-browserify' - option. ---module-parser-javascript-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-commonjs Negative - 'module-parser-javascript-commonjs' - option. ---module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-commonjs-magic-comments Negative - 'module-parser-javascript-commonjs-mag - ic-comments' option. ---module-parser-javascript-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-create-require Negative - 'module-parser-javascript-create-requi - re' option. ---module-parser-javascript-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-defer-import Negative - 'module-parser-javascript-defer-import - ' option. ---module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-impo - rt-fetch-priority' option. ---module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-impo - rt-prefetch' option. ---module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-impo - rt-preload' option. ---module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. - Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-dynamic-url Negative - 'module-parser-javascript-dynamic-url' - option. ---module-parser-javascript-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-exports-presence Negative - 'module-parser-javascript-exports-pres - ence' option. ---module-parser-javascript-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-expr-context-critical Negative - 'module-parser-javascript-expr-context - -critical' option. ---module-parser-javascript-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-expr-context-recursive Negative - 'module-parser-javascript-expr-context - -recursive' option. ---module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-expr-context-reg-exp Negative - 'module-parser-javascript-expr-context - -reg-exp' option. ---module-parser-javascript-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-harmony Negative - 'module-parser-javascript-harmony' - option. ---module-parser-javascript-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-import Negative - 'module-parser-javascript-import' - option. ---module-parser-javascript-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-import-exports-presence Negative - 'module-parser-javascript-import-expor - ts-presence' option. ---module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-import-meta Negative - 'module-parser-javascript-import-meta' - option. ---module-parser-javascript-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-import-meta-context Negative - 'module-parser-javascript-import-meta- - context' option. ---no-module-parser-javascript-node Negative - 'module-parser-javascript-node' - option. ---module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-node-dirname Negative - 'module-parser-javascript-node-dirname - ' option. ---module-parser-javascript-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-node-filename Negative - 'module-parser-javascript-node-filenam - e' option. ---module-parser-javascript-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-node-global Negative - 'module-parser-javascript-node-global' - option. ---module-parser-javascript-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-reexport-exports-presence Negative - 'module-parser-javascript-reexport-exp - orts-presence' option. ---module-parser-javascript-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-require-context Negative - 'module-parser-javascript-require-cont - ext' option. ---module-parser-javascript-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-require-ensure Negative - 'module-parser-javascript-require-ensu - re' option. ---module-parser-javascript-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-require-include Negative - 'module-parser-javascript-require-incl - ude' option. ---module-parser-javascript-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-require-js Negative - 'module-parser-javascript-require-js' - option. ---module-parser-javascript-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-strict-export-presence Negative - 'module-parser-javascript-strict-expor - t-presence' option. ---module-parser-javascript-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-strict-this-context-on-imports Negative - 'module-parser-javascript-strict-this- - context-on-imports' option. ---module-parser-javascript-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-system Negative - 'module-parser-javascript-system' - option. ---module-parser-javascript-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-unknown-context-critical Negative - 'module-parser-javascript-unknown-cont - ext-critical' option. ---module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-recursive Negative - 'module-parser-javascript-unknown-cont - ext-recursive' option. ---module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-reg-exp Negative - 'module-parser-javascript-unknown-cont - ext-reg-exp' option. ---module-parser-javascript-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-url Negative - 'module-parser-javascript-url' option. ---module-parser-javascript-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-worker Negative - 'module-parser-javascript-worker' - option. ---module-parser-javascript-worker-reset Clear all items provided in - 'module.parser.javascript.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-wrapped-context-critical Negative - 'module-parser-javascript-wrapped-cont - ext-critical' option. ---module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-wrapped-context-recursive Negative - 'module-parser-javascript-wrapped-cont - ext-recursive' option. ---module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-auto-amd Negative - 'module-parser-javascript-auto-amd' - option. ---module-parser-javascript-auto-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-auto-browserify Negative - 'module-parser-javascript-auto-browser - ify' option. ---module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-auto-commonjs Negative - 'module-parser-javascript-auto-commonj - s' option. ---module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-auto-commonjs-magic-comments Negative - 'module-parser-javascript-auto-commonj - s-magic-comments' option. ---module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-auto-create-require Negative - 'module-parser-javascript-auto-create- - require' option. ---module-parser-javascript-auto-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-auto-defer-import Negative - 'module-parser-javascript-auto-defer-i - mport' option. ---module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative - 'module-parser-javascript-auto-dynamic - -import-fetch-priority' option. ---module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-prefetch Negative - 'module-parser-javascript-auto-dynamic - -import-prefetch' option. ---module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-preload Negative - 'module-parser-javascript-auto-dynamic - -import-preload' option. ---module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-auto-dynamic-url Negative - 'module-parser-javascript-auto-dynamic - -url' option. ---module-parser-javascript-auto-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-auto-exports-presence Negative - 'module-parser-javascript-auto-exports - -presence' option. ---module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-auto-expr-context-critical Negative - 'module-parser-javascript-auto-expr-co - ntext-critical' option. ---module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-recursive Negative - 'module-parser-javascript-auto-expr-co - ntext-recursive' option. ---module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-reg-exp Negative - 'module-parser-javascript-auto-expr-co - ntext-reg-exp' option. ---module-parser-javascript-auto-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-auto-harmony Negative - 'module-parser-javascript-auto-harmony - ' option. ---module-parser-javascript-auto-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-auto-import Negative - 'module-parser-javascript-auto-import' - option. ---module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-auto-import-exports-presence Negative - 'module-parser-javascript-auto-import- - exports-presence' option. ---module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-auto-import-meta Negative - 'module-parser-javascript-auto-import- - meta' option. ---module-parser-javascript-auto-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-auto-import-meta-context Negative - 'module-parser-javascript-auto-import- - meta-context' option. ---no-module-parser-javascript-auto-node Negative - 'module-parser-javascript-auto-node' - option. ---module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-auto-node-dirname Negative - 'module-parser-javascript-auto-node-di - rname' option. ---module-parser-javascript-auto-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-auto-node-filename Negative - 'module-parser-javascript-auto-node-fi - lename' option. ---module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-auto-node-global Negative - 'module-parser-javascript-auto-node-gl - obal' option. ---module-parser-javascript-auto-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-auto-reexport-exports-presence Negative - 'module-parser-javascript-auto-reexpor - t-exports-presence' option. ---module-parser-javascript-auto-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-auto-require-context Negative - 'module-parser-javascript-auto-require - -context' option. ---module-parser-javascript-auto-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-auto-require-ensure Negative - 'module-parser-javascript-auto-require - -ensure' option. ---module-parser-javascript-auto-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-auto-require-include Negative - 'module-parser-javascript-auto-require - -include' option. ---module-parser-javascript-auto-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-auto-require-js Negative - 'module-parser-javascript-auto-require - -js' option. ---module-parser-javascript-auto-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-auto-strict-export-presence Negative - 'module-parser-javascript-auto-strict- - export-presence' option. ---module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-auto-strict-this-context-on-imports Negative - 'module-parser-javascript-auto-strict- - this-context-on-imports' option. ---module-parser-javascript-auto-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-auto-system Negative - 'module-parser-javascript-auto-system' - option. ---module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-auto-unknown-context-critical Negative - 'module-parser-javascript-auto-unknown - -context-critical' option. ---module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-recursive Negative - 'module-parser-javascript-auto-unknown - -context-recursive' option. ---module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-reg-exp Negative - 'module-parser-javascript-auto-unknown - -context-reg-exp' option. ---module-parser-javascript-auto-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-auto-url Negative - 'module-parser-javascript-auto-url' - option. ---module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-auto-worker Negative - 'module-parser-javascript-auto-worker' - option. ---module-parser-javascript-auto-worker-reset Clear all items provided in - 'module.parser.javascript/auto.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-auto-wrapped-context-critical Negative - 'module-parser-javascript-auto-wrapped - -context-critical' option. ---module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-auto-wrapped-context-recursive Negative - 'module-parser-javascript-auto-wrapped - -context-recursive' option. ---module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-amd Negative - 'module-parser-javascript-dynamic-amd' - option. ---module-parser-javascript-dynamic-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-dynamic-browserify Negative - 'module-parser-javascript-dynamic-brow - serify' option. ---module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-dynamic-commonjs Negative - 'module-parser-javascript-dynamic-comm - onjs' option. ---module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-dynamic-commonjs-magic-comments Negative - 'module-parser-javascript-dynamic-comm - onjs-magic-comments' option. ---module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-dynamic-create-require Negative - 'module-parser-javascript-dynamic-crea - te-require' option. ---module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-dynamic-defer-import Negative - 'module-parser-javascript-dynamic-defe - r-import' option. ---module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-dyna - mic-import-fetch-priority' option. ---module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-dyna - mic-import-prefetch' option. ---module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-dyna - mic-import-preload' option. ---module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-dynamic-dynamic-url Negative - 'module-parser-javascript-dynamic-dyna - mic-url' option. ---module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-dynamic-exports-presence Negative - 'module-parser-javascript-dynamic-expo - rts-presence' option. ---module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-dynamic-expr-context-critical Negative - 'module-parser-javascript-dynamic-expr - -context-critical' option. ---module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-recursive Negative - 'module-parser-javascript-dynamic-expr - -context-recursive' option. ---module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-reg-exp Negative - 'module-parser-javascript-dynamic-expr - -context-reg-exp' option. ---module-parser-javascript-dynamic-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-dynamic-harmony Negative - 'module-parser-javascript-dynamic-harm - ony' option. ---module-parser-javascript-dynamic-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-dynamic-import Negative - 'module-parser-javascript-dynamic-impo - rt' option. ---module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-dynamic-import-exports-presence Negative - 'module-parser-javascript-dynamic-impo - rt-exports-presence' option. ---module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-dynamic-import-meta Negative - 'module-parser-javascript-dynamic-impo - rt-meta' option. ---module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-dynamic-import-meta-context Negative - 'module-parser-javascript-dynamic-impo - rt-meta-context' option. ---no-module-parser-javascript-dynamic-node Negative - 'module-parser-javascript-dynamic-node - ' option. ---module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-dynamic-node-dirname Negative - 'module-parser-javascript-dynamic-node - -dirname' option. ---module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-dynamic-node-filename Negative - 'module-parser-javascript-dynamic-node - -filename' option. ---module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-dynamic-node-global Negative - 'module-parser-javascript-dynamic-node - -global' option. ---module-parser-javascript-dynamic-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-dynamic-reexport-exports-presence Negative - 'module-parser-javascript-dynamic-reex - port-exports-presence' option. ---module-parser-javascript-dynamic-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-dynamic-require-context Negative - 'module-parser-javascript-dynamic-requ - ire-context' option. ---module-parser-javascript-dynamic-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-dynamic-require-ensure Negative - 'module-parser-javascript-dynamic-requ - ire-ensure' option. ---module-parser-javascript-dynamic-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-dynamic-require-include Negative - 'module-parser-javascript-dynamic-requ - ire-include' option. ---module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-dynamic-require-js Negative - 'module-parser-javascript-dynamic-requ - ire-js' option. ---module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-dynamic-strict-export-presence Negative - 'module-parser-javascript-dynamic-stri - ct-export-presence' option. ---module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative - 'module-parser-javascript-dynamic-stri - ct-this-context-on-imports' option. ---module-parser-javascript-dynamic-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-dynamic-system Negative - 'module-parser-javascript-dynamic-syst - em' option. ---module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-critical Negative - 'module-parser-javascript-dynamic-unkn - own-context-critical' option. ---module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-recursive Negative - 'module-parser-javascript-dynamic-unkn - own-context-recursive' option. ---module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative - 'module-parser-javascript-dynamic-unkn - own-context-reg-exp' option. ---module-parser-javascript-dynamic-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-dynamic-worker Negative - 'module-parser-javascript-dynamic-work - er' option. ---module-parser-javascript-dynamic-worker-reset Clear all items provided in - 'module.parser.javascript/dynamic.work - er' configuration. Disable or - configure parsing of WebWorker syntax - like new Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-critical Negative - 'module-parser-javascript-dynamic-wrap - ped-context-critical' option. ---module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-recursive Negative - 'module-parser-javascript-dynamic-wrap - ped-context-recursive' option. ---module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-esm-amd Negative - 'module-parser-javascript-esm-amd' - option. ---module-parser-javascript-esm-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-esm-browserify Negative - 'module-parser-javascript-esm-browseri - fy' option. ---module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-esm-commonjs Negative - 'module-parser-javascript-esm-commonjs - ' option. ---module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-esm-commonjs-magic-comments Negative - 'module-parser-javascript-esm-commonjs - -magic-comments' option. ---module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-esm-create-require Negative - 'module-parser-javascript-esm-create-r - equire' option. ---module-parser-javascript-esm-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-esm-defer-import Negative - 'module-parser-javascript-esm-defer-im - port' option. ---module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative - 'module-parser-javascript-esm-dynamic- - import-fetch-priority' option. ---module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-prefetch Negative - 'module-parser-javascript-esm-dynamic- - import-prefetch' option. ---module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-preload Negative - 'module-parser-javascript-esm-dynamic- - import-preload' option. ---module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-esm-dynamic-url Negative - 'module-parser-javascript-esm-dynamic- - url' option. ---module-parser-javascript-esm-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-esm-exports-presence Negative - 'module-parser-javascript-esm-exports- - presence' option. ---module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-esm-expr-context-critical Negative - 'module-parser-javascript-esm-expr-con - text-critical' option. ---module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-recursive Negative - 'module-parser-javascript-esm-expr-con - text-recursive' option. ---module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-reg-exp Negative - 'module-parser-javascript-esm-expr-con - text-reg-exp' option. ---module-parser-javascript-esm-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-esm-harmony Negative - 'module-parser-javascript-esm-harmony' - option. ---module-parser-javascript-esm-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-esm-import Negative - 'module-parser-javascript-esm-import' - option. ---module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-esm-import-exports-presence Negative - 'module-parser-javascript-esm-import-e - xports-presence' option. ---module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-esm-import-meta Negative - 'module-parser-javascript-esm-import-m - eta' option. ---module-parser-javascript-esm-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-esm-import-meta-context Negative - 'module-parser-javascript-esm-import-m - eta-context' option. ---no-module-parser-javascript-esm-node Negative - 'module-parser-javascript-esm-node' - option. ---module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-esm-node-dirname Negative - 'module-parser-javascript-esm-node-dir - name' option. ---module-parser-javascript-esm-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-esm-node-filename Negative - 'module-parser-javascript-esm-node-fil - ename' option. ---module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-esm-node-global Negative - 'module-parser-javascript-esm-node-glo - bal' option. ---module-parser-javascript-esm-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-esm-reexport-exports-presence Negative - 'module-parser-javascript-esm-reexport - -exports-presence' option. ---module-parser-javascript-esm-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-esm-require-context Negative - 'module-parser-javascript-esm-require- - context' option. ---module-parser-javascript-esm-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-esm-require-ensure Negative - 'module-parser-javascript-esm-require- - ensure' option. ---module-parser-javascript-esm-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-esm-require-include Negative - 'module-parser-javascript-esm-require- - include' option. ---module-parser-javascript-esm-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-esm-require-js Negative - 'module-parser-javascript-esm-require- - js' option. ---module-parser-javascript-esm-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-esm-strict-export-presence Negative - 'module-parser-javascript-esm-strict-e - xport-presence' option. ---module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-esm-strict-this-context-on-imports Negative - 'module-parser-javascript-esm-strict-t - his-context-on-imports' option. ---module-parser-javascript-esm-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-esm-system Negative - 'module-parser-javascript-esm-system' - option. ---module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-esm-unknown-context-critical Negative - 'module-parser-javascript-esm-unknown- - context-critical' option. ---module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-recursive Negative - 'module-parser-javascript-esm-unknown- - context-recursive' option. ---module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-reg-exp Negative - 'module-parser-javascript-esm-unknown- - context-reg-exp' option. ---module-parser-javascript-esm-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-esm-url Negative - 'module-parser-javascript-esm-url' - option. ---module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-esm-worker Negative - 'module-parser-javascript-esm-worker' - option. ---module-parser-javascript-esm-worker-reset Clear all items provided in - 'module.parser.javascript/esm.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-esm-wrapped-context-critical Negative - 'module-parser-javascript-esm-wrapped- - context-critical' option. ---module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-esm-wrapped-context-recursive Negative - 'module-parser-javascript-esm-wrapped- - context-recursive' option. ---module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---module-parser-json-exports-depth The depth of json dependency flagged - as \`exportInfo\`. ---module-parser-json-named-exports Allow named exports for json of object - type. ---no-module-parser-json-named-exports Negative - 'module-parser-json-named-exports' - option. ---module-rules-compiler Match the child compiler name. ---module-rules-compiler-not Logical NOT. ---module-rules-dependency Match dependency type. ---module-rules-dependency-not Logical NOT. ---module-rules-enforce Enforce this rule as pre or post step. ---module-rules-exclude Shortcut for resource.exclude. ---module-rules-exclude-not Logical NOT. ---module-rules-extract-source-map Enable/Disable extracting source map. ---no-module-rules-extract-source-map Negative - 'module-rules-extract-source-map' - option. ---module-rules-include Shortcut for resource.include. ---module-rules-include-not Logical NOT. ---module-rules-issuer Match the issuer of the module (The - module pointing to this module). ---module-rules-issuer-not Logical NOT. ---module-rules-issuer-layer Match layer of the issuer of this - module (The module pointing to this - module). ---module-rules-issuer-layer-not Logical NOT. ---module-rules-layer Specifies the layer in which the - module should be placed in. ---module-rules-loader A loader request. ---module-rules-mimetype Match module mimetype when load from - Data URI. ---module-rules-mimetype-not Logical NOT. ---module-rules-real-resource Match the real resource path of the - module. ---module-rules-real-resource-not Logical NOT. ---module-rules-resource Match the resource path of the module. ---module-rules-resource-not Logical NOT. ---module-rules-resource-fragment Match the resource fragment of the - module. ---module-rules-resource-fragment-not Logical NOT. ---module-rules-resource-query Match the resource query of the - module. ---module-rules-resource-query-not Logical NOT. ---module-rules-scheme Match module scheme. ---module-rules-scheme-not Logical NOT. ---module-rules-side-effects Flags a module as with or without side - effects. ---no-module-rules-side-effects Negative 'module-rules-side-effects' - option. ---module-rules-test Shortcut for resource.test. ---module-rules-test-not Logical NOT. ---module-rules-type Module type to use for the module. ---module-rules-use-ident Unique loader options identifier. ---module-rules-use-loader A loader request. ---module-rules-use-options Options passed to a loader. ---module-rules-use A loader request. ---module-rules-reset Clear all items provided in - 'module.rules' configuration. A list - of rules. ---module-strict-export-presence Emit errors instead of warnings when - imported names don't exist in imported - module. Deprecated: This option has - moved to - 'module.parser.javascript.strictExport - Presence'. ---no-module-strict-export-presence Negative - 'module-strict-export-presence' - option. ---module-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. Deprecated: This option has - moved to - 'module.parser.javascript.strictThisCo - ntextOnImports'. ---no-module-strict-this-context-on-imports Negative - 'module-strict-this-context-on-imports - ' option. ---module-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtCritical'. ---no-module-unknown-context-critical Negative - 'module-unknown-context-critical' - option. ---module-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRecursive'. ---no-module-unknown-context-recursive Negative - 'module-unknown-context-recursive' - option. ---module-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRegExp'. ---no-module-unknown-context-reg-exp Negative - 'module-unknown-context-reg-exp' - option. ---module-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtRequest'. ---module-unsafe-cache Cache the resolving of module - requests. ---no-module-unsafe-cache Negative 'module-unsafe-cache' option. ---module-wrapped-context-critical Enable warnings for partial dynamic - dependencies. Deprecated: This option - has moved to - 'module.parser.javascript.wrappedConte - xtCritical'. ---no-module-wrapped-context-critical Negative - 'module-wrapped-context-critical' - option. ---module-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRecursive'. ---no-module-wrapped-context-recursive Negative - 'module-wrapped-context-recursive' - option. ---module-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRegExp'. ---name Name of the configuration. Used when - loading multiple configurations. ---no-node Negative 'node' option. ---node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-node-dirname Negative 'node-dirname' option. ---node-filename [value] Include a polyfill for the - '__filename' variable. ---no-node-filename Negative 'node-filename' option. ---node-global [value] Include a polyfill for the 'global' - variable. ---no-node-global Negative 'node-global' option. ---optimization-avoid-entry-iife Avoid wrapping the entry module in an - IIFE. ---no-optimization-avoid-entry-iife Negative - 'optimization-avoid-entry-iife' - option. ---optimization-check-wasm-types Check for incompatible wasm types when - importing/exporting from/to ESM. ---no-optimization-check-wasm-types Negative - 'optimization-check-wasm-types' - option. ---optimization-chunk-ids Define the algorithm to choose chunk - ids (named: readable ids for better - debugging, deterministic: numeric hash - ids for better long term caching, - size: numeric ids focused on minimal - initial download size, total-size: - numeric ids focused on minimal total - download size, false: no algorithm - used, as custom one can be provided - via plugin). ---no-optimization-chunk-ids Negative 'optimization-chunk-ids' - option. ---optimization-concatenate-modules Concatenate modules when possible to - generate less modules, more efficient - code and enable more optimizations by - the minimizer. ---no-optimization-concatenate-modules Negative - 'optimization-concatenate-modules' - option. ---optimization-emit-on-errors Emit assets even when errors occur. - Critical errors are emitted into the - generated code and will cause errors - at stack. --h, --help [verbose] Display help for commands and options. - -Global options ---color Enable colors on console. ---no-color Disable colors on console. --v, --version Output the version number of - 'webpack', 'webpack-cli' and - 'webpack-dev-server' and other - packages. --h, --help [verbose] Display help for commands and options. - -Run 'webpack help serve --verbose' to see all available options. - -Webpack documentation: https://webpack.js.org/ -CLI documentation: https://webpack.js.org/api/cli/ -Made with ♥ by the webpack team" -`; - -exports[`help should show help information for 'serve' command using the "--help" option: stderr 1`] = `""`; - -exports[`help should show help information for 'serve' command using the "--help" option: stdout 1`] = ` -"Run the webpack dev server and watch for source file changes while serving. - -Usage: webpack serve|server|s [entries...] [options] - -Options --c, --config Provide path to one or more webpack - configuration files to process, e.g. - "./webpack.config.js". ---config-name Name(s) of particular configuration(s) - to use if configuration file exports - an array of multiple configurations. --m, --merge Merge two or more configurations using - 'webpack-merge'. ---env Environment variables passed to the - configuration when it is a function, - e.g. "myvar" or "myvar=myval". ---config-node-env Sets process.env.NODE_ENV to the - specified value for access within the - configuration. ---analyze It invokes webpack-bundle-analyzer - plugin to get bundle information. ---progress [value] Print compilation progress during - build. --j, --json [pathToJsonFile] Prints result as JSON or store it in a - file. ---fail-on-warnings Stop webpack-cli process with non-zero - exit code on warnings from webpack. ---disable-interpret Disable interpret for loading the - config file. --d, --devtool A developer tool to enhance debugging - (false | eval | - [inline-|hidden-|eval-][nosources-][ch - eap-[module-]]source-map). ---no-devtool Negative 'devtool' option. ---entry A module that is loaded upon startup. - Only the last one is exported. +--experiments-source-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-sourc + e-phase-imports. This allows importing + modules + at stack. + +Global options +--color Enable colors on console. +--no-color Disable colors on console. +-v, --version Output the version number of + 'webpack', 'webpack-cli' and + 'webpack-dev-server' and other + packages. +-h, --help [verbose] Display help for commands and options. + +Webpack documentation: https://webpack.js.org/ +CLI documentation: https://webpack.js.org/api/cli/ +Made with ♥ by the webpack team" +`; + +exports[`help should show help information for 'serve' command using the "--help" option: stderr 1`] = `""`; + +exports[`help should show help information for 'serve' command using the "--help" option: stdout 1`] = ` +"Run the webpack dev server and watch for source file changes while serving. + +Usage: webpack serve|server|s [entries...] [options] + +Options +-c, --config Provide path to one or more webpack + configuration files to process, e.g. + "./webpack.config.js". +--config-name Name(s) of particular configuration(s) + to use if configuration file exports + an array of multiple configurations. +-m, --merge Merge two or more configurations using + 'webpack-merge'. +--env Environment variables passed to the + configuration when it is a function, + e.g. "myvar" or "myvar=myval". +--config-node-env Sets process.env.NODE_ENV to the + specified value for access within the + configuration. +--analyze It invokes webpack-bundle-analyzer + plugin to get bundle information. +--progress [value] Print compilation progress during + build. +-j, --json [pathToJsonFile] Prints result as JSON or store it in a + file. +--fail-on-warnings Stop webpack-cli process with non-zero + exit code on warnings from webpack. +--disable-interpret Disable interpret for loading the + config file. +-d, --devtool A developer tool to enhance debugging + (false | eval | + [inline-|hidden-|eval-][nosources-][ch + eap-[module-]]source-map). +--no-devtool Negative 'devtool' option. +--entry A module that is loaded upon startup. + Only the last one is exported. -e, --extends Path to the configuration to be extended (only works when using webpack-cli). @@ -9952,10 +3577,10 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment - to build for. An array of environments - to build for all of them when - possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has @@ -10152,7 +3777,6 @@ Options options. --web-socket-server-type Allows to set web socket server and options (by default 'ws'). --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -10163,8 +3787,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help serve --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -10221,10 +3843,10 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment - to build for. An array of environments - to build for all of them when - possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has @@ -10421,7 +4043,6 @@ Options options. --web-socket-server-type Allows to set web socket server and options (by default 'ws'). --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -10432,8 +4053,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help serve --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -10720,1583 +4339,11 @@ Options module source type. --no-experiments-output-module Negative 'experiments-output-module' option. ---experiments-sync-web-assembly Support WebAssembly as synchronous - EcmaScript Module (outdated). ---no-experiments-sync-web-assembly Negative - 'experiments-sync-web-assembly' - option. --e, --extends Path to the configuration to be - extended (only works when using - webpack-cli). ---extends-reset Clear all items provided in 'extends' - configuration. Extend configuration - from another configuration (only works - when using webpack-cli). ---externals Every matched dependency becomes - external. An exact matched dependency - becomes external. The same string is - used as external dependency. ---externals-reset Clear all items provided in - 'externals' configuration. Specify - dependencies that shouldn't be - resolved by webpack, but should become - dependencies of the resulting bundle. - The kind of the dependency depends on - \`output.libraryTarget\`. ---externals-presets-electron Treat common electron built-in modules - in main and preload context like - 'electron', 'ipc' or 'shell' as - external and load them via require() - when used. ---no-externals-presets-electron Negative 'externals-presets-electron' - option. ---externals-presets-electron-main Treat electron built-in modules in the - main context like 'app', 'ipc-main' or - 'shell' as external and load them via - require() when used. ---no-externals-presets-electron-main Negative - 'externals-presets-electron-main' - option. ---externals-presets-electron-preload Treat electron built-in modules in the - preload context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-preload Negative - 'externals-presets-electron-preload' - option. ---externals-presets-electron-renderer Treat electron built-in modules in the - renderer context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-renderer Negative - 'externals-presets-electron-renderer' - option. ---externals-presets-node Treat node.js built-in modules like - fs, path or vm as external and load - them via require() when used. ---no-externals-presets-node Negative 'externals-presets-node' - option. ---externals-presets-nwjs Treat NW.js legacy nw.gui module as - external and load it via require() - when used. ---no-externals-presets-nwjs Negative 'externals-presets-nwjs' - option. ---externals-presets-web Treat references to 'http(s)://...' - and 'std:...' as external and load - them via import when used (Note that - this changes execution order as - externals are executed before any - other code in the chunk). ---no-externals-presets-web Negative 'externals-presets-web' - option. ---externals-presets-web-async Treat references to 'http(s)://...' - and 'std:...' as external and load - them via async import() when used - (Note that this external type is an - async module, which has various - effects on the execution). ---no-externals-presets-web-async Negative 'externals-presets-web-async' - option. ---externals-type Specifies the default type of - externals ('amd*', 'umd*', 'system' - and 'jsonp' depend on - output.libraryTarget set to the same - value). ---ignore-warnings A RegExp to select the warning - message. ---ignore-warnings-file A RegExp to select the origin file for - the warning. ---ignore-warnings-message A RegExp to select the warning - message. ---ignore-warnings-module A RegExp to select the origin module - for the warning. ---ignore-warnings-reset Clear all items provided in - 'ignoreWarnings' configuration. Ignore - specific warnings. ---infrastructure-logging-append-only Only appends lines to the output. - Avoids updating existing output e. g. - for status messages. This option is - only used when no custom console is - provided. ---no-infrastructure-logging-append-only Negative - 'infrastructure-logging-append-only' - option. ---infrastructure-logging-colors Enables/Disables colorful output. This - option is only used when no custom - console is provided. ---no-infrastructure-logging-colors Negative - 'infrastructure-logging-colors' - option. ---infrastructure-logging-debug [value...] Enable/Disable debug logging for all - loggers. Enable debug logging for - specific loggers. ---no-infrastructure-logging-debug Negative - 'infrastructure-logging-debug' option. ---infrastructure-logging-debug-reset Clear all items provided in - 'infrastructureLogging.debug' - configuration. Enable debug logging - for specific loggers. ---infrastructure-logging-level Log level. ---mode Enable production optimizations or - development hints. ---module-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-expr-context-critical Negative - 'module-expr-context-critical' option. ---module-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. Deprecated: - This option has moved to - 'module.parser.javascript.exprContextR - ecursive'. ---no-module-expr-context-recursive Negative - 'module-expr-context-recursive' - option. ---module-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.exprContextR - egExp'. ---no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' - option. ---module-expr-context-request Set the default request for full - dynamic dependencies. Deprecated: This - option has moved to - 'module.parser.javascript.exprContextR - equest'. ---module-generator-asset-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-binary Negative - 'module-generator-asset-binary' - option. ---module-generator-asset-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-data-url-encoding Negative - 'module-generator-asset-data-url-encod - ing' option. ---module-generator-asset-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-emit Negative 'module-generator-asset-emit' - option. ---module-generator-asset-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-asset-inline-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-inline-binary Negative - 'module-generator-asset-inline-binary' - option. ---module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-inline-data-url-encoding Negative - 'module-generator-asset-inline-data-ur - l-encoding' option. ---module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-resource-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-resource-binary Negative - 'module-generator-asset-resource-binar - y' option. ---module-generator-asset-resource-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-resource-emit Negative - 'module-generator-asset-resource-emit' - option. ---module-generator-asset-resource-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-resource-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-resource-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-css-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-es-module Negative - 'module-generator-css-es-module' - option. ---module-generator-css-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-exports-only Negative - 'module-generator-css-exports-only' - option. ---module-generator-css-auto-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-auto-es-module Negative - 'module-generator-css-auto-es-module' - option. ---module-generator-css-auto-export-type Configure how CSS content is exported - as default. ---module-generator-css-auto-exports-convention Specifies the convention of exported - names. ---module-generator-css-auto-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-auto-exports-only Negative - 'module-generator-css-auto-exports-onl - y' option. ---module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-auto-local-ident-name Configure the generated local ident - name. ---module-generator-css-global-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-global-es-module Negative - 'module-generator-css-global-es-module - ' option. ---module-generator-css-global-export-type Configure how CSS content is exported - as default. ---module-generator-css-global-exports-convention Specifies the convention of exported - names. ---module-generator-css-global-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-global-exports-only Negative - 'module-generator-css-global-exports-o - nly' option. ---module-generator-css-global-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-global-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-global-local-ident-name Configure the generated local ident - name. ---module-generator-css-module-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-module-es-module Negative - 'module-generator-css-module-es-module - ' option. ---module-generator-css-module-export-type Configure how CSS content is exported - as default. ---module-generator-css-module-exports-convention Specifies the convention of exported - names. ---module-generator-css-module-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-module-exports-only Negative - 'module-generator-css-module-exports-o - nly' option. ---module-generator-css-module-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-module-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-module-local-ident-name Configure the generated local ident - name. ---module-generator-json-json-parse Use \`JSON.parse\` when the JSON string - is longer than 20 characters. ---no-module-generator-json-json-parse Negative - 'module-generator-json-json-parse' - option. ---module-no-parse A regular expression, when matched the - module is not parsed. An absolute - path, when the module starts with this - path it is not parsed. ---module-no-parse-reset Clear all items provided in - 'module.noParse' configuration. Don't - parse files matching. It's matched - against the full resolved request. ---module-parser-asset-data-url-condition-max-size Maximum size of asset that should be - inline as modules. Default: 8kb. ---module-parser-css-export-type Configure how CSS content is exported - as default. ---module-parser-css-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-import Negative 'module-parser-css-import' - option. ---module-parser-css-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-named-exports Negative - 'module-parser-css-named-exports' - option. ---module-parser-css-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-url Negative 'module-parser-css-url' - option. ---module-parser-css-auto-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-auto-animation Negative - 'module-parser-css-auto-animation' - option. ---module-parser-css-auto-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-auto-container Negative - 'module-parser-css-auto-container' - option. ---module-parser-css-auto-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-auto-custom-idents Negative - 'module-parser-css-auto-custom-idents' - option. ---module-parser-css-auto-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-auto-dashed-idents Negative - 'module-parser-css-auto-dashed-idents' - option. ---module-parser-css-auto-export-type Configure how CSS content is exported - as default. ---module-parser-css-auto-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-auto-function Negative - 'module-parser-css-auto-function' - option. ---module-parser-css-auto-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' - option. ---module-parser-css-auto-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-auto-import Negative - 'module-parser-css-auto-import' - option. ---module-parser-css-auto-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-auto-named-exports Negative - 'module-parser-css-auto-named-exports' - option. ---module-parser-css-auto-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' - option. ---module-parser-css-global-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-global-animation Negative - 'module-parser-css-global-animation' - option. ---module-parser-css-global-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-global-container Negative - 'module-parser-css-global-container' - option. ---module-parser-css-global-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-global-custom-idents Negative - 'module-parser-css-global-custom-ident - s' option. ---module-parser-css-global-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-global-dashed-idents Negative - 'module-parser-css-global-dashed-ident - s' option. ---module-parser-css-global-export-type Configure how CSS content is exported - as default. ---module-parser-css-global-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-global-function Negative - 'module-parser-css-global-function' - option. ---module-parser-css-global-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-global-grid Negative - 'module-parser-css-global-grid' - option. ---module-parser-css-global-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-global-import Negative - 'module-parser-css-global-import' - option. ---module-parser-css-global-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-global-named-exports Negative - 'module-parser-css-global-named-export - s' option. ---module-parser-css-global-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-global-url Negative - 'module-parser-css-global-url' option. ---module-parser-css-module-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-module-animation Negative - 'module-parser-css-module-animation' - option. ---module-parser-css-module-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-module-container Negative - 'module-parser-css-module-container' - option. ---module-parser-css-module-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-module-custom-idents Negative - 'module-parser-css-module-custom-ident - s' option. ---module-parser-css-module-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-module-dashed-idents Negative - 'module-parser-css-module-dashed-ident - s' option. ---module-parser-css-module-export-type Configure how CSS content is exported - as default. ---module-parser-css-module-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-module-function Negative - 'module-parser-css-module-function' - option. ---module-parser-css-module-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-module-grid Negative - 'module-parser-css-module-grid' - option. ---module-parser-css-module-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-module-import Negative - 'module-parser-css-module-import' - option. ---module-parser-css-module-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-module-named-exports Negative - 'module-parser-css-module-named-export - s' option. ---module-parser-css-module-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-module-url Negative - 'module-parser-css-module-url' option. ---no-module-parser-javascript-amd Negative - 'module-parser-javascript-amd' option. ---module-parser-javascript-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-browserify Negative - 'module-parser-javascript-browserify' - option. ---module-parser-javascript-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-commonjs Negative - 'module-parser-javascript-commonjs' - option. ---module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-commonjs-magic-comments Negative - 'module-parser-javascript-commonjs-mag - ic-comments' option. ---module-parser-javascript-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-create-require Negative - 'module-parser-javascript-create-requi - re' option. ---module-parser-javascript-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-defer-import Negative - 'module-parser-javascript-defer-import - ' option. ---module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-impo - rt-fetch-priority' option. ---module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-impo - rt-prefetch' option. ---module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-impo - rt-preload' option. ---module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. - Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-dynamic-url Negative - 'module-parser-javascript-dynamic-url' - option. ---module-parser-javascript-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-exports-presence Negative - 'module-parser-javascript-exports-pres - ence' option. ---module-parser-javascript-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-expr-context-critical Negative - 'module-parser-javascript-expr-context - -critical' option. ---module-parser-javascript-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-expr-context-recursive Negative - 'module-parser-javascript-expr-context - -recursive' option. ---module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-expr-context-reg-exp Negative - 'module-parser-javascript-expr-context - -reg-exp' option. ---module-parser-javascript-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-harmony Negative - 'module-parser-javascript-harmony' - option. ---module-parser-javascript-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-import Negative - 'module-parser-javascript-import' - option. ---module-parser-javascript-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-import-exports-presence Negative - 'module-parser-javascript-import-expor - ts-presence' option. ---module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-import-meta Negative - 'module-parser-javascript-import-meta' - option. ---module-parser-javascript-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-import-meta-context Negative - 'module-parser-javascript-import-meta- - context' option. ---no-module-parser-javascript-node Negative - 'module-parser-javascript-node' - option. ---module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-node-dirname Negative - 'module-parser-javascript-node-dirname - ' option. ---module-parser-javascript-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-node-filename Negative - 'module-parser-javascript-node-filenam - e' option. ---module-parser-javascript-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-node-global Negative - 'module-parser-javascript-node-global' - option. ---module-parser-javascript-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-reexport-exports-presence Negative - 'module-parser-javascript-reexport-exp - orts-presence' option. ---module-parser-javascript-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-require-context Negative - 'module-parser-javascript-require-cont - ext' option. ---module-parser-javascript-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-require-ensure Negative - 'module-parser-javascript-require-ensu - re' option. ---module-parser-javascript-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-require-include Negative - 'module-parser-javascript-require-incl - ude' option. ---module-parser-javascript-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-require-js Negative - 'module-parser-javascript-require-js' - option. ---module-parser-javascript-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-strict-export-presence Negative - 'module-parser-javascript-strict-expor - t-presence' option. ---module-parser-javascript-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-strict-this-context-on-imports Negative - 'module-parser-javascript-strict-this- - context-on-imports' option. ---module-parser-javascript-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-system Negative - 'module-parser-javascript-system' - option. ---module-parser-javascript-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-unknown-context-critical Negative - 'module-parser-javascript-unknown-cont - ext-critical' option. ---module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-recursive Negative - 'module-parser-javascript-unknown-cont - ext-recursive' option. ---module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-reg-exp Negative - 'module-parser-javascript-unknown-cont - ext-reg-exp' option. ---module-parser-javascript-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-url Negative - 'module-parser-javascript-url' option. ---module-parser-javascript-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-worker Negative - 'module-parser-javascript-worker' - option. ---module-parser-javascript-worker-reset Clear all items provided in - 'module.parser.javascript.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-wrapped-context-critical Negative - 'module-parser-javascript-wrapped-cont - ext-critical' option. ---module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-wrapped-context-recursive Negative - 'module-parser-javascript-wrapped-cont - ext-recursive' option. ---module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-auto-amd Negative - 'module-parser-javascript-auto-amd' - option. ---module-parser-javascript-auto-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-auto-browserify Negative - 'module-parser-javascript-auto-browser - ify' option. ---module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-auto-commonjs Negative - 'module-parser-javascript-auto-commonj - s' option. ---module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-auto-commonjs-magic-comments Negative - 'module-parser-javascript-auto-commonj - s-magic-comments' option. ---module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-auto-create-require Negative - 'module-parser-javascript-auto-create- - require' option. ---module-parser-javascript-auto-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-auto-defer-import Negative - 'module-parser-javascript-auto-defer-i - mport' option. ---module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative - 'module-parser-javascript-auto-dynamic - -import-fetch-priority' option. ---module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-prefetch Negative - 'module-parser-javascript-auto-dynamic - -import-prefetch' option. ---module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-preload Negative - 'module-parser-javascript-auto-dynamic - -import-preload' option. ---module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-auto-dynamic-url Negative - 'module-parser-javascript-auto-dynamic - -url' option. ---module-parser-javascript-auto-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-auto-exports-presence Negative - 'module-parser-javascript-auto-exports - -presence' option. ---module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-auto-expr-context-critical Negative - 'module-parser-javascript-auto-expr-co - ntext-critical' option. ---module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-recursive Negative - 'module-parser-javascript-auto-expr-co - ntext-recursive' option. ---module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-reg-exp Negative - 'module-parser-javascript-auto-expr-co - ntext-reg-exp' option. ---module-parser-javascript-auto-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-auto-harmony Negative - 'module-parser-javascript-auto-harmony - ' option. ---module-parser-javascript-auto-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-auto-import Negative - 'module-parser-javascript-auto-import' - option. ---module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-auto-import-exports-presence Negative - 'module-parser-javascript-auto-import- - exports-presence' option. ---module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-auto-import-meta Negative - 'module-parser-javascript-auto-import- - meta' option. ---module-parser-javascript-auto-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-auto-import-meta-context Negative - 'module-parser-javascript-auto-import- - meta-context' option. ---no-module-parser-javascript-auto-node Negative - 'module-parser-javascript-auto-node' - option. ---module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-auto-node-dirname Negative - 'module-parser-javascript-auto-node-di - rname' option. ---module-parser-javascript-auto-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-auto-node-filename Negative - 'module-parser-javascript-auto-node-fi - lename' option. ---module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-auto-node-global Negative - 'module-parser-javascript-auto-node-gl - obal' option. ---module-parser-javascript-auto-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-auto-reexport-exports-presence Negative - 'module-parser-javascript-auto-reexpor - t-exports-presence' option. ---module-parser-javascript-auto-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-auto-require-context Negative - 'module-parser-javascript-auto-require - -context' option. ---module-parser-javascript-auto-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-auto-require-ensure Negative - 'module-parser-javascript-auto-require - -ensure' option. ---module-parser-javascript-auto-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-auto-require-include Negative - 'module-parser-javascript-auto-require - -include' option. ---module-parser-javascript-auto-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-auto-require-js Negative - 'module-parser-javascript-auto-require - -js' option. ---module-parser-javascript-auto-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-auto-strict-export-presence Negative - 'module-parser-javascript-auto-strict- - export-presence' option. ---module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-auto-strict-this-context-on-imports Negative - 'module-parser-javascript-auto-strict- - this-context-on-imports' option. ---module-parser-javascript-auto-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-auto-system Negative - 'module-parser-javascript-auto-system' - option. ---module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-auto-unknown-context-critical Negative - 'module-parser-javascript-auto-unknown - -context-critical' option. ---module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-recursive Negative - 'module-parser-javascript-auto-unknown - -context-recursive' option. ---module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-reg-exp Negative - 'module-parser-javascript-auto-unknown - -context-reg-exp' option. ---module-parser-javascript-auto-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-auto-url Negative - 'module-parser-javascript-auto-url' - option. ---module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-auto-worker Negative - 'module-parser-javascript-auto-worker' - option. ---module-parser-javascript-auto-worker-reset Clear all items provided in - 'module.parser.javascript/auto.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-auto-wrapped-context-critical Negative - 'module-parser-javascript-auto-wrapped - -context-critical' option. ---module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-auto-wrapped-context-recursive Negative - 'module-parser-javascript-auto-wrapped - -context-recursive' option. ---module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-amd Negative - 'module-parser-javascript-dynamic-amd' - option. ---module-parser-javascript-dynamic-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-dynamic-browserify Negative - 'module-parser-javascript-dynamic-brow - serify' option. ---module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-dynamic-commonjs Negative - 'module-parser-javascript-dynamic-comm - onjs' option. ---module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-dynamic-commonjs-magic-comments Negative - 'module-parser-javascript-dynamic-comm - onjs-magic-comments' option. ---module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-dynamic-create-require Negative - 'module-parser-javascript-dynamic-crea - te-require' option. ---module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-dynamic-defer-import Negative - 'module-parser-javascript-dynamic-defe - r-import' option. ---module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-dyna - mic-import-fetch-priority' option. ---module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-dyna - mic-import-prefetch' option. ---module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-dyna - mic-import-preload' option. ---module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-dynamic-dynamic-url Negative - 'module-parser-javascript-dynamic-dyna - mic-url' option. ---module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-dynamic-exports-presence Negative - 'module-parser-javascript-dynamic-expo - rts-presence' option. ---module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-dynamic-expr-context-critical Negative - 'module-parser-javascript-dynamic-expr - -context-critical' option. ---module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-recursive Negative - 'module-parser-javascript-dynamic-expr - -context-recursive' option. ---module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-reg-exp Negative - 'module-parser-javascript-dynamic-expr - -context-reg-exp' option. ---module-parser-javascript-dynamic-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-dynamic-harmony Negative - 'module-parser-javascript-dynamic-harm - ony' option. ---module-parser-javascript-dynamic-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-dynamic-import Negative - 'module-parser-javascript-dynamic-impo - rt' option. ---module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-dynamic-import-exports-presence Negative - 'module-parser-javascript-dynamic-impo - rt-exports-presence' option. ---module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-dynamic-import-meta Negative - 'module-parser-javascript-dynamic-impo - rt-meta' option. ---module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-dynamic-import-meta-context Negative - 'module-parser-javascript-dynamic-impo - rt-meta-context' option. ---no-module-parser-javascript-dynamic-node Negative - 'module-parser-javascript-dynamic-node - ' option. ---module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-dynamic-node-dirname Negative - 'module-parser-javascript-dynamic-node - -dirname' option. ---module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-dynamic-node-filename Negative - 'module-parser-javascript-dynamic-node - -filename' option. ---module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-dynamic-node-global Negative - 'module-parser-javascript-dynamic-node - -global' option. ---module-parser-javascript-dynamic-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-dynamic-reexport-exports-presence Negative - 'module-parser-javascript-dynamic-reex - port-exports-presence' option. ---module-parser-javascript-dynamic-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-dynamic-require-context Negative - 'module-parser-javascript-dynamic-requ - ire-context' option. ---module-parser-javascript-dynamic-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-dynamic-require-ensure Negative - 'module-parser-javascript-dynamic-requ - ire-ensure' option. ---module-parser-javascript-dynamic-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-dynamic-require-include Negative - 'module-parser-javascript-dynamic-requ - ire-include' option. ---module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-dynamic-require-js Negative - 'module-parser-javascript-dynamic-requ - ire-js' option. ---module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-dynamic-strict-export-presence Negative - 'module-parser-javascript-dynamic-stri - ct-export-presence' option. ---module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative - 'module-parser-javascript-dynamic-stri - ct-this-context-on-imports' option. ---module-parser-javascript-dynamic-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-dynamic-system Negative - 'module-parser-javascript-dynamic-syst - em' option. ---module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-critical Negative - 'module-parser-javascript-dynamic-unkn - own-context-critical' option. ---module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-recursive Negative - 'module-parser-javascript-dynamic-unkn - own-context-recursive' option. ---module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative - 'module-parser-javascript-dynamic-unkn - own-context-reg-exp' option. ---module-parser-javascript-dynamic-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-dynamic-worker Negative - 'module-parser-javascript-dynamic-work - er' option. ---module-parser-javascript-dynamic-worker-reset Clear all items provided in - 'module.parser.javascript/dynamic.work - er' configuration. Disable or - configure parsing of WebWorker syntax - like new Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-critical Negative - 'module-parser-javascript-dynamic-wrap - ped-context-critical' option. ---module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-recursive Negative - 'module-parser-javascript-dynamic-wrap - ped-context-recursive' option. ---module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-esm-amd Negative - 'module-parser-javascript-esm-amd' - option. ---module-parser-javascript-esm-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-esm-browserify Negative - 'module-parser-javascript-esm-browseri - fy' option. ---module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-esm-commonjs Negative - 'module-parser-javascript-esm-commonjs - ' option. ---module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-esm-commonjs-magic-comments Negative - 'module-parser-javascript-esm-commonjs - -magic-comments' option. ---module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-esm-create-require Negative - 'module-parser-javascript-esm-create-r - equire' option. ---module-parser-javascript-esm-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-esm-defer-import Negative - 'module-parser-javascript-esm-defer-im - port' option. ---module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative - 'module-parser-javascript-esm-dynamic- - import-fetch-priority' option. ---module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-prefetch Negative - 'module-parser-javascript-esm-dynamic- - import-prefetch' option. ---module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-preload Negative - 'module-parser-javascript-esm-dynamic- - import-preload' option. ---module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-esm-dynamic-url Negative - 'module-parser-javascript-esm-dynamic- - url' option. ---module-parser-javascript-esm-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-esm-exports-presence Negative - 'module-parser-javascript-esm-exports- - presence' option. ---module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-esm-expr-context-critical Negative - 'module-parser-javascript-esm-expr-con - text-critical' option. ---module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-recursive Negative - 'module-parser-javascript-esm-expr-con - text-recursive' option. ---module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-reg-exp Negative - 'module-parser-javascript-esm-expr-con - text-reg-exp' option. ---module-parser-javascript-esm-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-esm-harmony Negative - 'module-parser-javascript-esm-harmony' - option. ---module-parser-javascript-esm-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-esm-import Negative - 'module-parser-javascript-esm-import' - option. ---module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-esm-import-exports-presence Negative - 'module-parser-javascript-esm-import-e - xports-presence' option. ---module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-esm-import-meta Negative - 'module-parser-javascript-esm-import-m - eta' option. ---module-parser-javascript-esm-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-esm-import-meta-context Negative - 'module-parser-javascript-esm-import-m - eta-context' option. ---no-module-parser-javascript-esm-node Negative - 'module-parser-javascript-esm-node' - option. ---module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-esm-node-dirname Negative - 'module-parser-javascript-esm-node-dir - name' option. ---module-parser-javascript-esm-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-esm-node-filename Negative - 'module-parser-javascript-esm-node-fil - ename' option. ---module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-esm-node-global Negative - 'module-parser-javascript-esm-node-glo - bal' option. ---module-parser-javascript-esm-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-esm-reexport-exports-presence Negative - 'module-parser-javascript-esm-reexport - -exports-presence' option. ---module-parser-javascript-esm-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-esm-require-context Negative - 'module-parser-javascript-esm-require- - context' option. ---module-parser-javascript-esm-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-esm-require-ensure Negative - 'module-parser-javascript-esm-require- - ensure' option. ---module-parser-javascript-esm-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-esm-require-include Negative - 'module-parser-javascript-esm-require- - include' option. ---module-parser-javascript-esm-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-esm-require-js Negative - 'module-parser-javascript-esm-require- - js' option. ---module-parser-javascript-esm-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-esm-strict-export-presence Negative - 'module-parser-javascript-esm-strict-e - xport-presence' option. ---module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-esm-strict-this-context-on-imports Negative - 'module-parser-javascript-esm-strict-t - his-context-on-imports' option. ---module-parser-javascript-esm-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-esm-system Negative - 'module-parser-javascript-esm-system' - option. ---module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-esm-unknown-context-critical Negative - 'module-parser-javascript-esm-unknown- - context-critical' option. ---module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-recursive Negative - 'module-parser-javascript-esm-unknown- - context-recursive' option. ---module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-reg-exp Negative - 'module-parser-javascript-esm-unknown- - context-reg-exp' option. ---module-parser-javascript-esm-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-esm-url Negative - 'module-parser-javascript-esm-url' - option. ---module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-esm-worker Negative - 'module-parser-javascript-esm-worker' - option. ---module-parser-javascript-esm-worker-reset Clear all items provided in - 'module.parser.javascript/esm.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-esm-wrapped-context-critical Negative - 'module-parser-javascript-esm-wrapped- - context-critical' option. ---module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-esm-wrapped-context-recursive Negative - 'module-parser-javascript-esm-wrapped- - context-recursive' option. ---module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---module-parser-json-exports-depth The depth of json dependency flagged - as \`exportInfo\`. ---module-parser-json-named-exports Allow named exports for json of object - type. ---no-module-parser-json-named-exports Negative - 'module-parser-json-named-exports' - option. ---module-rules-compiler Match the child compiler name. ---module-rules-compiler-not Logical NOT. ---module-rules-dependency Match dependency type. ---module-rules-dependency-not Logical NOT. ---module-rules-enforce Enforce this rule as pre or post step. ---module-rules-exclude Shortcut for resource.exclude. ---module-rules-exclude-not Logical NOT. ---module-rules-extract-source-map Enable/Disable extracting source map. ---no-module-rules-extract-source-map Negative - 'module-rules-extract-source-map' - option. ---module-rules-include Shortcut for resource.include. ---module-rules-include-not Logical NOT. ---module-rules-issuer Match the issuer of the module (The - module pointing to this module). ---module-rules-issuer-not Logical NOT. ---module-rules-issuer-layer Match layer of the issuer of this - module (The module pointing to this - module). ---module-rules-issuer-layer-not Logical NOT. ---module-rules-layer Specifies the layer in which the - module should be placed in. ---module-rules-loader A loader request. ---module-rules-mimetype Match module mimetype when load from - Data URI. ---module-rules-mimetype-not Logical NOT. ---module-rules-real-resource Match the real resource path of the - module. ---module-rules-real-resource-not Logical NOT. ---module-rules-resource Match the resource path of the module. ---module-rules-resource-not Logical NOT. ---module-rules-resource-fragment Match the resource fragment of the - module. ---module-rules-resource-fragment-not Logical NOT. ---module-rules-resource-query Match the resource query of the - module. ---module-rules-resource-query-not Logical NOT. ---module-rules-scheme Match module scheme. ---module-rules-scheme-not Logical NOT. ---module-rules-side-effects Flags a module as with or without side - effects. ---no-module-rules-side-effects Negative 'module-rules-side-effects' - option. ---module-rules-test Shortcut for resource.test. ---module-rules-test-not Logical NOT. ---module-rules-type Module type to use for the module. ---module-rules-use-ident Unique loader options identifier. ---module-rules-use-loader A loader request. ---module-rules-use-options Options passed to a loader. ---module-rules-use A loader request. ---module-rules-reset Clear all items provided in - 'module.rules' configuration. A list - of rules. ---module-strict-export-presence Emit errors instead of warnings when - imported names don't exist in imported - module. Deprecated: This option has - moved to - 'module.parser.javascript.strictExport - Presence'. ---no-module-strict-export-presence Negative - 'module-strict-export-presence' - option. ---module-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. Deprecated: This option has - moved to - 'module.parser.javascript.strictThisCo - ntextOnImports'. ---no-module-strict-this-context-on-imports Negative - 'module-strict-this-context-on-imports - ' option. ---module-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtCritical'. ---no-module-unknown-context-critical Negative - 'module-unknown-context-critical' - option. ---module-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRecursive'. ---no-module-unknown-context-recursive Negative - 'module-unknown-context-recursive' - option. ---module-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRegExp'. ---no-module-unknown-context-reg-exp Negative - 'module-unknown-context-reg-exp' - option. ---module-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtRequest'. ---module-unsafe-cache Cache the resolving of module - requests. ---no-module-unsafe-cache Negative 'module-unsafe-cache' option. ---module-wrapped-context-critical Enable warnings for partial dynamic - dependencies. Deprecated: This option - has moved to - 'module.parser.javascript.wrappedConte - xtCritical'. ---no-module-wrapped-context-critical Negative - 'module-wrapped-context-critical' - option. ---module-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRecursive'. ---no-module-wrapped-context-recursive Negative - 'module-wrapped-context-recursive' - option. ---module-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRegExp'. ---name Name of the configuration. Used when - loading multiple configurations. ---no-node Negative 'node' option. ---node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-node-dirname Negative 'node-dirname' option. ---node-filename [value] Include a polyfill for the - '__filename' variable. ---no-node-filename Negative 'node-filename' option. ---node-global [value] Include a polyfill for the 'global' - variable. ---no-node-global Negative 'node-global' option. ---optimization-avoid-entry-iife Avoid wrapping the entry module in an - IIFE. ---no-optimization-avoid-entry-iife Negative - 'optimization-avoid-entry-iife' - option. ---optimization-check-wasm-types Check for incompatible wasm types when - importing/exporting from/to ESM. ---no-optimization-check-wasm-types Negative - 'optimization-check-wasm-types' - option. ---optimization-chunk-ids Define the algorithm to choose chunk - ids (named: readable ids for better - debugging, deterministic: numeric hash - ids for better long term caching, - size: numeric ids focused on minimal - initial download size, total-size: - numeric ids focused on minimal total - download size, false: no algorithm - used, as custom one can be provided - via plugin). ---no-optimization-chunk-ids Negative 'optimization-chunk-ids' - option. ---optimization-concatenate-modules Concatenate modules when possible to - generate less modules, more efficient - code and enable more optimizations by - the minimizer. ---no-optimization-concatenate-modules Negative - 'optimization-concatenate-modules' - option. ---optimization-emit-on-errors Emit assets even when errors occur. - Critical errors are emitted into the - generated code and will cause errors +--experiments-source-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-sourc + e-phase-imports. This allows importing + modules at stack. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -12307,8 +4354,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help serve --verbose' to see all available options. - Webpack documentation: https://webpack.js.org/ CLI documentation: https://webpack.js.org/api/cli/ Made with ♥ by the webpack team" @@ -12363,10 +4408,10 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment - to build for. An array of environments - to build for all of them when - possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has @@ -12563,7 +4608,6 @@ Options options. --web-socket-server-type Allows to set web socket server and options (by default 'ws'). --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -12574,8 +4618,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help serve --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -12588,10 +4630,7 @@ exports[`help should show help information for 't' command using command syntax: exports[`help should show help information for 't' command using command syntax: stdout 1`] = ` "Validate a webpack configuration. -Usage: webpack configtest|t [options] [config-path] - -Options --h, --help [verbose] Display help for commands and options. +Usage: webpack configtest|t [config-path] Global options --color Enable colors on console. @@ -12600,8 +4639,6 @@ Global options and 'webpack-dev-server' and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help configtest --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -12614,10 +4651,7 @@ exports[`help should show help information for 't' command using the "--help ver exports[`help should show help information for 't' command using the "--help verbose" option: stdout 1`] = ` "Validate a webpack configuration. -Usage: webpack configtest|t [options] [config-path] - -Options --h, --help [verbose] Display help for commands and options. +Usage: webpack configtest|t [config-path] Global options --color Enable colors on console. @@ -12626,8 +4660,6 @@ Global options and 'webpack-dev-server' and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help configtest --verbose' to see all available options. - Webpack documentation: https://webpack.js.org/ CLI documentation: https://webpack.js.org/api/cli/ Made with ♥ by the webpack team" @@ -12638,10 +4670,7 @@ exports[`help should show help information for 't' command using the "--help" op exports[`help should show help information for 't' command using the "--help" option: stdout 1`] = ` "Validate a webpack configuration. -Usage: webpack configtest|t [options] [config-path] - -Options --h, --help [verbose] Display help for commands and options. +Usage: webpack configtest|t [config-path] Global options --color Enable colors on console. @@ -12650,8 +4679,6 @@ Global options and 'webpack-dev-server' and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help configtest --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -12706,14 +4733,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -12723,8 +4750,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help watch --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -12914,1678 +4939,107 @@ Options --dotenv-template-reset Clear all items provided in 'dotenv.template' configuration. Template patterns for .env file names. - Use [mode] as placeholder for the - webpack mode. Defaults to ['.env', - '.env.local', '.env.[mode]', - '.env.[mode].local']. ---entry A module that is loaded upon startup. - Only the last one is exported. ---entry-reset Clear all items provided in 'entry' - configuration. All modules are loaded - upon startup. The last one is - exported. ---experiments-async-web-assembly Support WebAssembly as asynchronous - EcmaScript Module. ---no-experiments-async-web-assembly Negative - 'experiments-async-web-assembly' - option. ---experiments-back-compat Enable backward-compat layer with - deprecation warnings for many webpack - 4 APIs. ---no-experiments-back-compat Negative 'experiments-back-compat' - option. ---experiments-build-http-allowed-uris Allowed URI pattern. Allowed URI - (resp. the beginning of it). ---experiments-build-http-allowed-uris-reset Clear all items provided in - 'experiments.buildHttp.allowedUris' - configuration. List of allowed URIs - (resp. the beginning of them). ---experiments-build-http-cache-location Location where resource content is - stored for lockfile entries. It's also - possible to disable storing by passing - false. ---no-experiments-build-http-cache-location Negative - 'experiments-build-http-cache-location - ' option. ---experiments-build-http-frozen When set, anything that would lead to - a modification of the lockfile or any - resource content, will result in an - error. ---no-experiments-build-http-frozen Negative - 'experiments-build-http-frozen' - option. ---experiments-build-http-lockfile-location Location of the lockfile. ---experiments-build-http-proxy Proxy configuration, which can be used - to specify a proxy server to use for - HTTP requests. ---experiments-build-http-upgrade When set, resources of existing - lockfile entries will be fetched and - entries will be upgraded when resource - content has changed. ---no-experiments-build-http-upgrade Negative - 'experiments-build-http-upgrade' - option. ---experiments-cache-unaffected Enable additional in memory caching of - modules that are unchanged and - reference only unchanged modules. ---no-experiments-cache-unaffected Negative - 'experiments-cache-unaffected' option. ---experiments-css Enable css support. ---no-experiments-css Negative 'experiments-css' option. ---experiments-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-experiments-defer-import Negative 'experiments-defer-import' - option. ---experiments-future-defaults Apply defaults of next major version. ---no-experiments-future-defaults Negative 'experiments-future-defaults' - option. ---experiments-lazy-compilation Compile entrypoints and import()s only - when they are accessed. ---no-experiments-lazy-compilation Negative - 'experiments-lazy-compilation' option. ---experiments-lazy-compilation-backend-client A custom client. ---experiments-lazy-compilation-backend-listen A port. ---experiments-lazy-compilation-backend-listen-host A host. ---experiments-lazy-compilation-backend-listen-port A port. ---experiments-lazy-compilation-backend-protocol Specifies the protocol the client - should use to connect to the server. ---experiments-lazy-compilation-entries Enable/disable lazy compilation for - entries. ---no-experiments-lazy-compilation-entries Negative - 'experiments-lazy-compilation-entries' - option. ---experiments-lazy-compilation-imports Enable/disable lazy compilation for - import() modules. ---no-experiments-lazy-compilation-imports Negative - 'experiments-lazy-compilation-imports' - option. ---experiments-lazy-compilation-test Specify which entrypoints or - import()ed modules should be lazily - compiled. This is matched with the - imported module and not the entrypoint - name. ---experiments-output-module Allow output javascript files as - module source type. ---no-experiments-output-module Negative 'experiments-output-module' - option. ---experiments-sync-web-assembly Support WebAssembly as synchronous - EcmaScript Module (outdated). ---no-experiments-sync-web-assembly Negative - 'experiments-sync-web-assembly' - option. --e, --extends Path to the configuration to be - extended (only works when using - webpack-cli). ---extends-reset Clear all items provided in 'extends' - configuration. Extend configuration - from another configuration (only works - when using webpack-cli). ---externals Every matched dependency becomes - external. An exact matched dependency - becomes external. The same string is - used as external dependency. ---externals-reset Clear all items provided in - 'externals' configuration. Specify - dependencies that shouldn't be - resolved by webpack, but should become - dependencies of the resulting bundle. - The kind of the dependency depends on - \`output.libraryTarget\`. ---externals-presets-electron Treat common electron built-in modules - in main and preload context like - 'electron', 'ipc' or 'shell' as - external and load them via require() - when used. ---no-externals-presets-electron Negative 'externals-presets-electron' - option. ---externals-presets-electron-main Treat electron built-in modules in the - main context like 'app', 'ipc-main' or - 'shell' as external and load them via - require() when used. ---no-externals-presets-electron-main Negative - 'externals-presets-electron-main' - option. ---externals-presets-electron-preload Treat electron built-in modules in the - preload context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-preload Negative - 'externals-presets-electron-preload' - option. ---externals-presets-electron-renderer Treat electron built-in modules in the - renderer context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-renderer Negative - 'externals-presets-electron-renderer' - option. ---externals-presets-node Treat node.js built-in modules like - fs, path or vm as external and load - them via require() when used. ---no-externals-presets-node Negative 'externals-presets-node' - option. ---externals-presets-nwjs Treat NW.js legacy nw.gui module as - external and load it via require() - when used. ---no-externals-presets-nwjs Negative 'externals-presets-nwjs' - option. ---externals-presets-web Treat references to 'http(s)://...' - and 'std:...' as external and load - them via import when used (Note that - this changes execution order as - externals are executed before any - other code in the chunk). ---no-externals-presets-web Negative 'externals-presets-web' - option. ---externals-presets-web-async Treat references to 'http(s)://...' - and 'std:...' as external and load - them via async import() when used - (Note that this external type is an - async module, which has various - effects on the execution). ---no-externals-presets-web-async Negative 'externals-presets-web-async' - option. ---externals-type Specifies the default type of - externals ('amd*', 'umd*', 'system' - and 'jsonp' depend on - output.libraryTarget set to the same - value). ---ignore-warnings A RegExp to select the warning - message. ---ignore-warnings-file A RegExp to select the origin file for - the warning. ---ignore-warnings-message A RegExp to select the warning - message. ---ignore-warnings-module A RegExp to select the origin module - for the warning. ---ignore-warnings-reset Clear all items provided in - 'ignoreWarnings' configuration. Ignore - specific warnings. ---infrastructure-logging-append-only Only appends lines to the output. - Avoids updating existing output e. g. - for status messages. This option is - only used when no custom console is - provided. ---no-infrastructure-logging-append-only Negative - 'infrastructure-logging-append-only' - option. ---infrastructure-logging-colors Enables/Disables colorful output. This - option is only used when no custom - console is provided. ---no-infrastructure-logging-colors Negative - 'infrastructure-logging-colors' - option. ---infrastructure-logging-debug [value...] Enable/Disable debug logging for all - loggers. Enable debug logging for - specific loggers. ---no-infrastructure-logging-debug Negative - 'infrastructure-logging-debug' option. ---infrastructure-logging-debug-reset Clear all items provided in - 'infrastructureLogging.debug' - configuration. Enable debug logging - for specific loggers. ---infrastructure-logging-level Log level. ---mode Enable production optimizations or - development hints. ---module-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-expr-context-critical Negative - 'module-expr-context-critical' option. ---module-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. Deprecated: - This option has moved to - 'module.parser.javascript.exprContextR - ecursive'. ---no-module-expr-context-recursive Negative - 'module-expr-context-recursive' - option. ---module-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.exprContextR - egExp'. ---no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' - option. ---module-expr-context-request Set the default request for full - dynamic dependencies. Deprecated: This - option has moved to - 'module.parser.javascript.exprContextR - equest'. ---module-generator-asset-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-binary Negative - 'module-generator-asset-binary' - option. ---module-generator-asset-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-data-url-encoding Negative - 'module-generator-asset-data-url-encod - ing' option. ---module-generator-asset-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-emit Negative 'module-generator-asset-emit' - option. ---module-generator-asset-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-asset-inline-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-inline-binary Negative - 'module-generator-asset-inline-binary' - option. ---module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-inline-data-url-encoding Negative - 'module-generator-asset-inline-data-ur - l-encoding' option. ---module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-resource-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-resource-binary Negative - 'module-generator-asset-resource-binar - y' option. ---module-generator-asset-resource-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-resource-emit Negative - 'module-generator-asset-resource-emit' - option. ---module-generator-asset-resource-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-resource-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-resource-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-css-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-es-module Negative - 'module-generator-css-es-module' - option. ---module-generator-css-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-exports-only Negative - 'module-generator-css-exports-only' - option. ---module-generator-css-auto-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-auto-es-module Negative - 'module-generator-css-auto-es-module' - option. ---module-generator-css-auto-export-type Configure how CSS content is exported - as default. ---module-generator-css-auto-exports-convention Specifies the convention of exported - names. ---module-generator-css-auto-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-auto-exports-only Negative - 'module-generator-css-auto-exports-onl - y' option. ---module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-auto-local-ident-name Configure the generated local ident - name. ---module-generator-css-global-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-global-es-module Negative - 'module-generator-css-global-es-module - ' option. ---module-generator-css-global-export-type Configure how CSS content is exported - as default. ---module-generator-css-global-exports-convention Specifies the convention of exported - names. ---module-generator-css-global-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-global-exports-only Negative - 'module-generator-css-global-exports-o - nly' option. ---module-generator-css-global-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-global-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-global-local-ident-name Configure the generated local ident - name. ---module-generator-css-module-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-module-es-module Negative - 'module-generator-css-module-es-module - ' option. ---module-generator-css-module-export-type Configure how CSS content is exported - as default. ---module-generator-css-module-exports-convention Specifies the convention of exported - names. ---module-generator-css-module-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-module-exports-only Negative - 'module-generator-css-module-exports-o - nly' option. ---module-generator-css-module-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-module-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-module-local-ident-name Configure the generated local ident - name. ---module-generator-json-json-parse Use \`JSON.parse\` when the JSON string - is longer than 20 characters. ---no-module-generator-json-json-parse Negative - 'module-generator-json-json-parse' - option. ---module-no-parse A regular expression, when matched the - module is not parsed. An absolute - path, when the module starts with this - path it is not parsed. ---module-no-parse-reset Clear all items provided in - 'module.noParse' configuration. Don't - parse files matching. It's matched - against the full resolved request. ---module-parser-asset-data-url-condition-max-size Maximum size of asset that should be - inline as modules. Default: 8kb. ---module-parser-css-export-type Configure how CSS content is exported - as default. ---module-parser-css-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-import Negative 'module-parser-css-import' - option. ---module-parser-css-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-named-exports Negative - 'module-parser-css-named-exports' - option. ---module-parser-css-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-url Negative 'module-parser-css-url' - option. ---module-parser-css-auto-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-auto-animation Negative - 'module-parser-css-auto-animation' - option. ---module-parser-css-auto-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-auto-container Negative - 'module-parser-css-auto-container' - option. ---module-parser-css-auto-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-auto-custom-idents Negative - 'module-parser-css-auto-custom-idents' - option. ---module-parser-css-auto-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-auto-dashed-idents Negative - 'module-parser-css-auto-dashed-idents' - option. ---module-parser-css-auto-export-type Configure how CSS content is exported - as default. ---module-parser-css-auto-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-auto-function Negative - 'module-parser-css-auto-function' - option. ---module-parser-css-auto-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' - option. ---module-parser-css-auto-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-auto-import Negative - 'module-parser-css-auto-import' - option. ---module-parser-css-auto-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-auto-named-exports Negative - 'module-parser-css-auto-named-exports' - option. ---module-parser-css-auto-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' - option. ---module-parser-css-global-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-global-animation Negative - 'module-parser-css-global-animation' - option. ---module-parser-css-global-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-global-container Negative - 'module-parser-css-global-container' - option. ---module-parser-css-global-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-global-custom-idents Negative - 'module-parser-css-global-custom-ident - s' option. ---module-parser-css-global-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-global-dashed-idents Negative - 'module-parser-css-global-dashed-ident - s' option. ---module-parser-css-global-export-type Configure how CSS content is exported - as default. ---module-parser-css-global-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-global-function Negative - 'module-parser-css-global-function' - option. ---module-parser-css-global-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-global-grid Negative - 'module-parser-css-global-grid' - option. ---module-parser-css-global-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-global-import Negative - 'module-parser-css-global-import' - option. ---module-parser-css-global-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-global-named-exports Negative - 'module-parser-css-global-named-export - s' option. ---module-parser-css-global-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-global-url Negative - 'module-parser-css-global-url' option. ---module-parser-css-module-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-module-animation Negative - 'module-parser-css-module-animation' - option. ---module-parser-css-module-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-module-container Negative - 'module-parser-css-module-container' - option. ---module-parser-css-module-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-module-custom-idents Negative - 'module-parser-css-module-custom-ident - s' option. ---module-parser-css-module-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-module-dashed-idents Negative - 'module-parser-css-module-dashed-ident - s' option. ---module-parser-css-module-export-type Configure how CSS content is exported - as default. ---module-parser-css-module-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-module-function Negative - 'module-parser-css-module-function' - option. ---module-parser-css-module-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-module-grid Negative - 'module-parser-css-module-grid' - option. ---module-parser-css-module-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-module-import Negative - 'module-parser-css-module-import' - option. ---module-parser-css-module-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-module-named-exports Negative - 'module-parser-css-module-named-export - s' option. ---module-parser-css-module-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-module-url Negative - 'module-parser-css-module-url' option. ---no-module-parser-javascript-amd Negative - 'module-parser-javascript-amd' option. ---module-parser-javascript-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-browserify Negative - 'module-parser-javascript-browserify' - option. ---module-parser-javascript-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-commonjs Negative - 'module-parser-javascript-commonjs' - option. ---module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-commonjs-magic-comments Negative - 'module-parser-javascript-commonjs-mag - ic-comments' option. ---module-parser-javascript-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-create-require Negative - 'module-parser-javascript-create-requi - re' option. ---module-parser-javascript-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-defer-import Negative - 'module-parser-javascript-defer-import - ' option. ---module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-impo - rt-fetch-priority' option. ---module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-impo - rt-prefetch' option. ---module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-impo - rt-preload' option. ---module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. - Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-dynamic-url Negative - 'module-parser-javascript-dynamic-url' - option. ---module-parser-javascript-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-exports-presence Negative - 'module-parser-javascript-exports-pres - ence' option. ---module-parser-javascript-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-expr-context-critical Negative - 'module-parser-javascript-expr-context - -critical' option. ---module-parser-javascript-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-expr-context-recursive Negative - 'module-parser-javascript-expr-context - -recursive' option. ---module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-expr-context-reg-exp Negative - 'module-parser-javascript-expr-context - -reg-exp' option. ---module-parser-javascript-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-harmony Negative - 'module-parser-javascript-harmony' - option. ---module-parser-javascript-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-import Negative - 'module-parser-javascript-import' - option. ---module-parser-javascript-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-import-exports-presence Negative - 'module-parser-javascript-import-expor - ts-presence' option. ---module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-import-meta Negative - 'module-parser-javascript-import-meta' - option. ---module-parser-javascript-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-import-meta-context Negative - 'module-parser-javascript-import-meta- - context' option. ---no-module-parser-javascript-node Negative - 'module-parser-javascript-node' - option. ---module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-node-dirname Negative - 'module-parser-javascript-node-dirname - ' option. ---module-parser-javascript-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-node-filename Negative - 'module-parser-javascript-node-filenam - e' option. ---module-parser-javascript-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-node-global Negative - 'module-parser-javascript-node-global' - option. ---module-parser-javascript-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-reexport-exports-presence Negative - 'module-parser-javascript-reexport-exp - orts-presence' option. ---module-parser-javascript-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-require-context Negative - 'module-parser-javascript-require-cont - ext' option. ---module-parser-javascript-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-require-ensure Negative - 'module-parser-javascript-require-ensu - re' option. ---module-parser-javascript-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-require-include Negative - 'module-parser-javascript-require-incl - ude' option. ---module-parser-javascript-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-require-js Negative - 'module-parser-javascript-require-js' - option. ---module-parser-javascript-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-strict-export-presence Negative - 'module-parser-javascript-strict-expor - t-presence' option. ---module-parser-javascript-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-strict-this-context-on-imports Negative - 'module-parser-javascript-strict-this- - context-on-imports' option. ---module-parser-javascript-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-system Negative - 'module-parser-javascript-system' - option. ---module-parser-javascript-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-unknown-context-critical Negative - 'module-parser-javascript-unknown-cont - ext-critical' option. ---module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-recursive Negative - 'module-parser-javascript-unknown-cont - ext-recursive' option. ---module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-reg-exp Negative - 'module-parser-javascript-unknown-cont - ext-reg-exp' option. ---module-parser-javascript-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-url Negative - 'module-parser-javascript-url' option. ---module-parser-javascript-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-worker Negative - 'module-parser-javascript-worker' + Use [mode] as placeholder for the + webpack mode. Defaults to ['.env', + '.env.local', '.env.[mode]', + '.env.[mode].local']. +--entry A module that is loaded upon startup. + Only the last one is exported. +--entry-reset Clear all items provided in 'entry' + configuration. All modules are loaded + upon startup. The last one is + exported. +--experiments-async-web-assembly Support WebAssembly as asynchronous + EcmaScript Module. +--no-experiments-async-web-assembly Negative + 'experiments-async-web-assembly' option. ---module-parser-javascript-worker-reset Clear all items provided in - 'module.parser.javascript.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-wrapped-context-critical Negative - 'module-parser-javascript-wrapped-cont - ext-critical' option. ---module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-wrapped-context-recursive Negative - 'module-parser-javascript-wrapped-cont - ext-recursive' option. ---module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-auto-amd Negative - 'module-parser-javascript-auto-amd' +--experiments-back-compat Enable backward-compat layer with + deprecation warnings for many webpack + 4 APIs. +--no-experiments-back-compat Negative 'experiments-back-compat' option. ---module-parser-javascript-auto-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-auto-browserify Negative - 'module-parser-javascript-auto-browser - ify' option. ---module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-auto-commonjs Negative - 'module-parser-javascript-auto-commonj - s' option. ---module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-auto-commonjs-magic-comments Negative - 'module-parser-javascript-auto-commonj - s-magic-comments' option. ---module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-auto-create-require Negative - 'module-parser-javascript-auto-create- - require' option. ---module-parser-javascript-auto-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-auto-defer-import Negative - 'module-parser-javascript-auto-defer-i - mport' option. ---module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative - 'module-parser-javascript-auto-dynamic - -import-fetch-priority' option. ---module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-prefetch Negative - 'module-parser-javascript-auto-dynamic - -import-prefetch' option. ---module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-preload Negative - 'module-parser-javascript-auto-dynamic - -import-preload' option. ---module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-auto-dynamic-url Negative - 'module-parser-javascript-auto-dynamic - -url' option. ---module-parser-javascript-auto-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-auto-exports-presence Negative - 'module-parser-javascript-auto-exports - -presence' option. ---module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-auto-expr-context-critical Negative - 'module-parser-javascript-auto-expr-co - ntext-critical' option. ---module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-recursive Negative - 'module-parser-javascript-auto-expr-co - ntext-recursive' option. ---module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-reg-exp Negative - 'module-parser-javascript-auto-expr-co - ntext-reg-exp' option. ---module-parser-javascript-auto-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-auto-harmony Negative - 'module-parser-javascript-auto-harmony +--experiments-build-http-allowed-uris Allowed URI pattern. Allowed URI + (resp. the beginning of it). +--experiments-build-http-allowed-uris-reset Clear all items provided in + 'experiments.buildHttp.allowedUris' + configuration. List of allowed URIs + (resp. the beginning of them). +--experiments-build-http-cache-location Location where resource content is + stored for lockfile entries. It's also + possible to disable storing by passing + false. +--no-experiments-build-http-cache-location Negative + 'experiments-build-http-cache-location ' option. ---module-parser-javascript-auto-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-auto-import Negative - 'module-parser-javascript-auto-import' - option. ---module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-auto-import-exports-presence Negative - 'module-parser-javascript-auto-import- - exports-presence' option. ---module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-auto-import-meta Negative - 'module-parser-javascript-auto-import- - meta' option. ---module-parser-javascript-auto-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-auto-import-meta-context Negative - 'module-parser-javascript-auto-import- - meta-context' option. ---no-module-parser-javascript-auto-node Negative - 'module-parser-javascript-auto-node' - option. ---module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-auto-node-dirname Negative - 'module-parser-javascript-auto-node-di - rname' option. ---module-parser-javascript-auto-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-auto-node-filename Negative - 'module-parser-javascript-auto-node-fi - lename' option. ---module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-auto-node-global Negative - 'module-parser-javascript-auto-node-gl - obal' option. ---module-parser-javascript-auto-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-auto-reexport-exports-presence Negative - 'module-parser-javascript-auto-reexpor - t-exports-presence' option. ---module-parser-javascript-auto-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-auto-require-context Negative - 'module-parser-javascript-auto-require - -context' option. ---module-parser-javascript-auto-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-auto-require-ensure Negative - 'module-parser-javascript-auto-require - -ensure' option. ---module-parser-javascript-auto-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-auto-require-include Negative - 'module-parser-javascript-auto-require - -include' option. ---module-parser-javascript-auto-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-auto-require-js Negative - 'module-parser-javascript-auto-require - -js' option. ---module-parser-javascript-auto-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-auto-strict-export-presence Negative - 'module-parser-javascript-auto-strict- - export-presence' option. ---module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-auto-strict-this-context-on-imports Negative - 'module-parser-javascript-auto-strict- - this-context-on-imports' option. ---module-parser-javascript-auto-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-auto-system Negative - 'module-parser-javascript-auto-system' - option. ---module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-auto-unknown-context-critical Negative - 'module-parser-javascript-auto-unknown - -context-critical' option. ---module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-recursive Negative - 'module-parser-javascript-auto-unknown - -context-recursive' option. ---module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-reg-exp Negative - 'module-parser-javascript-auto-unknown - -context-reg-exp' option. ---module-parser-javascript-auto-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-auto-url Negative - 'module-parser-javascript-auto-url' - option. ---module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-auto-worker Negative - 'module-parser-javascript-auto-worker' - option. ---module-parser-javascript-auto-worker-reset Clear all items provided in - 'module.parser.javascript/auto.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-auto-wrapped-context-critical Negative - 'module-parser-javascript-auto-wrapped - -context-critical' option. ---module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-auto-wrapped-context-recursive Negative - 'module-parser-javascript-auto-wrapped - -context-recursive' option. ---module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-amd Negative - 'module-parser-javascript-dynamic-amd' +--experiments-build-http-frozen When set, anything that would lead to + a modification of the lockfile or any + resource content, will result in an + error. +--no-experiments-build-http-frozen Negative + 'experiments-build-http-frozen' option. ---module-parser-javascript-dynamic-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-dynamic-browserify Negative - 'module-parser-javascript-dynamic-brow - serify' option. ---module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-dynamic-commonjs Negative - 'module-parser-javascript-dynamic-comm - onjs' option. ---module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-dynamic-commonjs-magic-comments Negative - 'module-parser-javascript-dynamic-comm - onjs-magic-comments' option. ---module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-dynamic-create-require Negative - 'module-parser-javascript-dynamic-crea - te-require' option. ---module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-dynamic-defer-import Negative - 'module-parser-javascript-dynamic-defe - r-import' option. ---module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-dyna - mic-import-fetch-priority' option. ---module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-dyna - mic-import-prefetch' option. ---module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-dyna - mic-import-preload' option. ---module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-dynamic-dynamic-url Negative - 'module-parser-javascript-dynamic-dyna - mic-url' option. ---module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-dynamic-exports-presence Negative - 'module-parser-javascript-dynamic-expo - rts-presence' option. ---module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-dynamic-expr-context-critical Negative - 'module-parser-javascript-dynamic-expr - -context-critical' option. ---module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-recursive Negative - 'module-parser-javascript-dynamic-expr - -context-recursive' option. ---module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-reg-exp Negative - 'module-parser-javascript-dynamic-expr - -context-reg-exp' option. ---module-parser-javascript-dynamic-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-dynamic-harmony Negative - 'module-parser-javascript-dynamic-harm - ony' option. ---module-parser-javascript-dynamic-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-dynamic-import Negative - 'module-parser-javascript-dynamic-impo - rt' option. ---module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-dynamic-import-exports-presence Negative - 'module-parser-javascript-dynamic-impo - rt-exports-presence' option. ---module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-dynamic-import-meta Negative - 'module-parser-javascript-dynamic-impo - rt-meta' option. ---module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-dynamic-import-meta-context Negative - 'module-parser-javascript-dynamic-impo - rt-meta-context' option. ---no-module-parser-javascript-dynamic-node Negative - 'module-parser-javascript-dynamic-node - ' option. ---module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-dynamic-node-dirname Negative - 'module-parser-javascript-dynamic-node - -dirname' option. ---module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-dynamic-node-filename Negative - 'module-parser-javascript-dynamic-node - -filename' option. ---module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-dynamic-node-global Negative - 'module-parser-javascript-dynamic-node - -global' option. ---module-parser-javascript-dynamic-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-dynamic-reexport-exports-presence Negative - 'module-parser-javascript-dynamic-reex - port-exports-presence' option. ---module-parser-javascript-dynamic-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-dynamic-require-context Negative - 'module-parser-javascript-dynamic-requ - ire-context' option. ---module-parser-javascript-dynamic-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-dynamic-require-ensure Negative - 'module-parser-javascript-dynamic-requ - ire-ensure' option. ---module-parser-javascript-dynamic-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-dynamic-require-include Negative - 'module-parser-javascript-dynamic-requ - ire-include' option. ---module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-dynamic-require-js Negative - 'module-parser-javascript-dynamic-requ - ire-js' option. ---module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-dynamic-strict-export-presence Negative - 'module-parser-javascript-dynamic-stri - ct-export-presence' option. ---module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative - 'module-parser-javascript-dynamic-stri - ct-this-context-on-imports' option. ---module-parser-javascript-dynamic-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-dynamic-system Negative - 'module-parser-javascript-dynamic-syst - em' option. ---module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-critical Negative - 'module-parser-javascript-dynamic-unkn - own-context-critical' option. ---module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-recursive Negative - 'module-parser-javascript-dynamic-unkn - own-context-recursive' option. ---module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative - 'module-parser-javascript-dynamic-unkn - own-context-reg-exp' option. ---module-parser-javascript-dynamic-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-dynamic-worker Negative - 'module-parser-javascript-dynamic-work - er' option. ---module-parser-javascript-dynamic-worker-reset Clear all items provided in - 'module.parser.javascript/dynamic.work - er' configuration. Disable or - configure parsing of WebWorker syntax - like new Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-critical Negative - 'module-parser-javascript-dynamic-wrap - ped-context-critical' option. ---module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-recursive Negative - 'module-parser-javascript-dynamic-wrap - ped-context-recursive' option. ---module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-esm-amd Negative - 'module-parser-javascript-esm-amd' +--experiments-build-http-lockfile-location Location of the lockfile. +--experiments-build-http-proxy Proxy configuration, which can be used + to specify a proxy server to use for + HTTP requests. +--experiments-build-http-upgrade When set, resources of existing + lockfile entries will be fetched and + entries will be upgraded when resource + content has changed. +--no-experiments-build-http-upgrade Negative + 'experiments-build-http-upgrade' option. ---module-parser-javascript-esm-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-esm-browserify Negative - 'module-parser-javascript-esm-browseri - fy' option. ---module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-esm-commonjs Negative - 'module-parser-javascript-esm-commonjs - ' option. ---module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-esm-commonjs-magic-comments Negative - 'module-parser-javascript-esm-commonjs - -magic-comments' option. ---module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-esm-create-require Negative - 'module-parser-javascript-esm-create-r - equire' option. ---module-parser-javascript-esm-defer-import Enable experimental tc39 proposal +--experiments-cache-unaffected Enable additional in memory caching of + modules that are unchanged and + reference only unchanged modules. +--no-experiments-cache-unaffected Negative + 'experiments-cache-unaffected' option. +--experiments-css Enable css support. +--no-experiments-css Negative 'experiments-css' option. +--experiments-defer-import Enable experimental tc39 proposal https://github.com/tc39/proposal-defer -import-eval. This allows to defer execution of a module until it's first use. ---no-module-parser-javascript-esm-defer-import Negative - 'module-parser-javascript-esm-defer-im - port' option. ---module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative - 'module-parser-javascript-esm-dynamic- - import-fetch-priority' option. ---module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-prefetch Negative - 'module-parser-javascript-esm-dynamic- - import-prefetch' option. ---module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-preload Negative - 'module-parser-javascript-esm-dynamic- - import-preload' option. ---module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-esm-dynamic-url Negative - 'module-parser-javascript-esm-dynamic- - url' option. ---module-parser-javascript-esm-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-esm-exports-presence Negative - 'module-parser-javascript-esm-exports- - presence' option. ---module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-esm-expr-context-critical Negative - 'module-parser-javascript-esm-expr-con - text-critical' option. ---module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-recursive Negative - 'module-parser-javascript-esm-expr-con - text-recursive' option. ---module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-reg-exp Negative - 'module-parser-javascript-esm-expr-con - text-reg-exp' option. ---module-parser-javascript-esm-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-esm-harmony Negative - 'module-parser-javascript-esm-harmony' - option. ---module-parser-javascript-esm-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-esm-import Negative - 'module-parser-javascript-esm-import' - option. ---module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-esm-import-exports-presence Negative - 'module-parser-javascript-esm-import-e - xports-presence' option. ---module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-esm-import-meta Negative - 'module-parser-javascript-esm-import-m - eta' option. ---module-parser-javascript-esm-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-esm-import-meta-context Negative - 'module-parser-javascript-esm-import-m - eta-context' option. ---no-module-parser-javascript-esm-node Negative - 'module-parser-javascript-esm-node' - option. ---module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-esm-node-dirname Negative - 'module-parser-javascript-esm-node-dir - name' option. ---module-parser-javascript-esm-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-esm-node-filename Negative - 'module-parser-javascript-esm-node-fil - ename' option. ---module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-esm-node-global Negative - 'module-parser-javascript-esm-node-glo - bal' option. ---module-parser-javascript-esm-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-esm-reexport-exports-presence Negative - 'module-parser-javascript-esm-reexport - -exports-presence' option. ---module-parser-javascript-esm-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-esm-require-context Negative - 'module-parser-javascript-esm-require- - context' option. ---module-parser-javascript-esm-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-esm-require-ensure Negative - 'module-parser-javascript-esm-require- - ensure' option. ---module-parser-javascript-esm-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-esm-require-include Negative - 'module-parser-javascript-esm-require- - include' option. ---module-parser-javascript-esm-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-esm-require-js Negative - 'module-parser-javascript-esm-require- - js' option. ---module-parser-javascript-esm-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-esm-strict-export-presence Negative - 'module-parser-javascript-esm-strict-e - xport-presence' option. ---module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-esm-strict-this-context-on-imports Negative - 'module-parser-javascript-esm-strict-t - his-context-on-imports' option. ---module-parser-javascript-esm-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-esm-system Negative - 'module-parser-javascript-esm-system' - option. ---module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-esm-unknown-context-critical Negative - 'module-parser-javascript-esm-unknown- - context-critical' option. ---module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-recursive Negative - 'module-parser-javascript-esm-unknown- - context-recursive' option. ---module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-reg-exp Negative - 'module-parser-javascript-esm-unknown- - context-reg-exp' option. ---module-parser-javascript-esm-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-esm-url Negative - 'module-parser-javascript-esm-url' - option. ---module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-esm-worker Negative - 'module-parser-javascript-esm-worker' - option. ---module-parser-javascript-esm-worker-reset Clear all items provided in - 'module.parser.javascript/esm.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-esm-wrapped-context-critical Negative - 'module-parser-javascript-esm-wrapped- - context-critical' option. ---module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-esm-wrapped-context-recursive Negative - 'module-parser-javascript-esm-wrapped- - context-recursive' option. ---module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---module-parser-json-exports-depth The depth of json dependency flagged - as \`exportInfo\`. ---module-parser-json-named-exports Allow named exports for json of object - type. ---no-module-parser-json-named-exports Negative - 'module-parser-json-named-exports' - option. ---module-rules-compiler Match the child compiler name. ---module-rules-compiler-not Logical NOT. ---module-rules-dependency Match dependency type. ---module-rules-dependency-not Logical NOT. ---module-rules-enforce Enforce this rule as pre or post step. ---module-rules-exclude Shortcut for resource.exclude. ---module-rules-exclude-not Logical NOT. ---module-rules-extract-source-map Enable/Disable extracting source map. ---no-module-rules-extract-source-map Negative - 'module-rules-extract-source-map' - option. ---module-rules-include Shortcut for resource.include. ---module-rules-include-not Logical NOT. ---module-rules-issuer Match the issuer of the module (The - module pointing to this module). ---module-rules-issuer-not Logical NOT. ---module-rules-issuer-layer Match layer of the issuer of this - module (The module pointing to this - module). ---module-rules-issuer-layer-not Logical NOT. ---module-rules-layer Specifies the layer in which the - module should be placed in. ---module-rules-loader A loader request. ---module-rules-mimetype Match module mimetype when load from - Data URI. ---module-rules-mimetype-not Logical NOT. ---module-rules-real-resource Match the real resource path of the - module. ---module-rules-real-resource-not Logical NOT. ---module-rules-resource Match the resource path of the module. ---module-rules-resource-not Logical NOT. ---module-rules-resource-fragment Match the resource fragment of the - module. ---module-rules-resource-fragment-not Logical NOT. ---module-rules-resource-query Match the resource query of the - module. ---module-rules-resource-query-not Logical NOT. ---module-rules-scheme Match module scheme. ---module-rules-scheme-not Logical NOT. ---module-rules-side-effects Flags a module as with or without side - effects. ---no-module-rules-side-effects Negative 'module-rules-side-effects' - option. ---module-rules-test Shortcut for resource.test. ---module-rules-test-not Logical NOT. ---module-rules-type Module type to use for the module. ---module-rules-use-ident Unique loader options identifier. ---module-rules-use-loader A loader request. ---module-rules-use-options Options passed to a loader. ---module-rules-use A loader request. ---module-rules-reset Clear all items provided in - 'module.rules' configuration. A list - of rules. ---module-strict-export-presence Emit errors instead of warnings when - imported names don't exist in imported - module. Deprecated: This option has - moved to - 'module.parser.javascript.strictExport - Presence'. ---no-module-strict-export-presence Negative - 'module-strict-export-presence' - option. ---module-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. Deprecated: This option has - moved to - 'module.parser.javascript.strictThisCo - ntextOnImports'. ---no-module-strict-this-context-on-imports Negative - 'module-strict-this-context-on-imports - ' option. ---module-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtCritical'. ---no-module-unknown-context-critical Negative - 'module-unknown-context-critical' - option. ---module-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRecursive'. ---no-module-unknown-context-recursive Negative - 'module-unknown-context-recursive' - option. ---module-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRegExp'. ---no-module-unknown-context-reg-exp Negative - 'module-unknown-context-reg-exp' - option. ---module-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtRequest'. ---module-unsafe-cache Cache the resolving of module - requests. ---no-module-unsafe-cache Negative 'module-unsafe-cache' option. ---module-wrapped-context-critical Enable warnings for partial dynamic - dependencies. Deprecated: This option - has moved to - 'module.parser.javascript.wrappedConte - xtCritical'. ---no-module-wrapped-context-critical Negative - 'module-wrapped-context-critical' - option. ---module-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRecursive'. ---no-module-wrapped-context-recursive Negative - 'module-wrapped-context-recursive' +--no-experiments-defer-import Negative 'experiments-defer-import' option. ---module-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRegExp'. ---name Name of the configuration. Used when - loading multiple configurations. ---no-node Negative 'node' option. ---node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-node-dirname Negative 'node-dirname' option. ---node-filename [value] Include a polyfill for the - '__filename' variable. ---no-node-filename Negative 'node-filename' option. ---node-global [value] Include a polyfill for the 'global' - variable. ---no-node-global Negative 'node-global' option. ---optimization-avoid-entry-iife Avoid wrapping the entry module in an - IIFE. ---no-optimization-avoid-entry-iife Negative - 'optimization-avoid-entry-iife' +--experiments-future-defaults Apply defaults of next major version. +--no-experiments-future-defaults Negative 'experiments-future-defaults' option. ---optimization-check-wasm-types Check for incompatible wasm types when - importing/exporting from/to ESM. ---no-optimization-check-wasm-types Negative - 'optimization-check-wasm-types' +--experiments-lazy-compilation Compile entrypoints and import()s only + when they are accessed. +--no-experiments-lazy-compilation Negative + 'experiments-lazy-compilation' option. +--experiments-lazy-compilation-backend-client A custom client. +--experiments-lazy-compilation-backend-listen A port. +--experiments-lazy-compilation-backend-listen-host A host. +--experiments-lazy-compilation-backend-listen-port A port. +--experiments-lazy-compilation-backend-protocol Specifies the protocol the client + should use to connect to the server. +--experiments-lazy-compilation-entries Enable/disable lazy compilation for + entries. +--no-experiments-lazy-compilation-entries Negative + 'experiments-lazy-compilation-entries' option. ---optimization-chunk-ids Define the algorithm to choose chunk - ids (named: readable ids for better - debugging, deterministic: numeric hash - ids for better long term caching, - size: numeric ids focused on minimal - initial download size, total-size: - numeric ids focused on minimal total - download size, false: no algorithm - used, as custom one can be provided - via plugin). ---no-optimization-chunk-ids Negative 'optimization-chunk-ids' +--experiments-lazy-compilation-imports Enable/disable lazy compilation for + import() modules. +--no-experiments-lazy-compilation-imports Negative + 'experiments-lazy-compilation-imports' option. ---optimization-concatenate-modules Concatenate modules when possible to - generate less modules, more efficient - code and enable more optimizations by - the minimizer. ---no-optimization-concatenate-modules Negative - 'optimization-concatenate-modules' +--experiments-lazy-compilation-test Specify which entrypoints or + import()ed modules should be lazily + compiled. This is matched with the + imported module and not the entrypoint + name. +--experiments-output-module Allow output javascript files as + module source type. +--no-experiments-output-module Negative 'experiments-output-module' option. ---optimization-emit-on-errors Emit assets even when errors occur. - Critical errors are emitted into the - generated code and will cause errors +--experiments-source-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-sourc + e-phase-imports. This allows importing + modules at stack. --watch-options-poll [value] \`number\`: use polling with specified interval. \`true\`: use polling. @@ -14593,7 +5047,6 @@ Options --watch-options-stdin Stop watching when stdin stream has ended. --no-watch-options-stdin Negative 'watch-options-stdin' option. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -14604,8 +5057,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help watch --verbose' to see all available options. - Webpack documentation: https://webpack.js.org/ CLI documentation: https://webpack.js.org/api/cli/ Made with ♥ by the webpack team" @@ -14658,14 +5109,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -14675,8 +5126,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help watch --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -14731,14 +5180,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -14748,8 +5197,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help watch --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -14804,14 +5251,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -14821,8 +5268,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help watch --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -14877,14 +5322,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -14894,8 +5339,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help watch --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -15182,1581 +5625,10 @@ Options module source type. --no-experiments-output-module Negative 'experiments-output-module' option. ---experiments-sync-web-assembly Support WebAssembly as synchronous - EcmaScript Module (outdated). ---no-experiments-sync-web-assembly Negative - 'experiments-sync-web-assembly' - option. --e, --extends Path to the configuration to be - extended (only works when using - webpack-cli). ---extends-reset Clear all items provided in 'extends' - configuration. Extend configuration - from another configuration (only works - when using webpack-cli). ---externals Every matched dependency becomes - external. An exact matched dependency - becomes external. The same string is - used as external dependency. ---externals-reset Clear all items provided in - 'externals' configuration. Specify - dependencies that shouldn't be - resolved by webpack, but should become - dependencies of the resulting bundle. - The kind of the dependency depends on - \`output.libraryTarget\`. ---externals-presets-electron Treat common electron built-in modules - in main and preload context like - 'electron', 'ipc' or 'shell' as - external and load them via require() - when used. ---no-externals-presets-electron Negative 'externals-presets-electron' - option. ---externals-presets-electron-main Treat electron built-in modules in the - main context like 'app', 'ipc-main' or - 'shell' as external and load them via - require() when used. ---no-externals-presets-electron-main Negative - 'externals-presets-electron-main' - option. ---externals-presets-electron-preload Treat electron built-in modules in the - preload context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-preload Negative - 'externals-presets-electron-preload' - option. ---externals-presets-electron-renderer Treat electron built-in modules in the - renderer context like 'web-frame', - 'ipc-renderer' or 'shell' as external - and load them via require() when used. ---no-externals-presets-electron-renderer Negative - 'externals-presets-electron-renderer' - option. ---externals-presets-node Treat node.js built-in modules like - fs, path or vm as external and load - them via require() when used. ---no-externals-presets-node Negative 'externals-presets-node' - option. ---externals-presets-nwjs Treat NW.js legacy nw.gui module as - external and load it via require() - when used. ---no-externals-presets-nwjs Negative 'externals-presets-nwjs' - option. ---externals-presets-web Treat references to 'http(s)://...' - and 'std:...' as external and load - them via import when used (Note that - this changes execution order as - externals are executed before any - other code in the chunk). ---no-externals-presets-web Negative 'externals-presets-web' - option. ---externals-presets-web-async Treat references to 'http(s)://...' - and 'std:...' as external and load - them via async import() when used - (Note that this external type is an - async module, which has various - effects on the execution). ---no-externals-presets-web-async Negative 'externals-presets-web-async' - option. ---externals-type Specifies the default type of - externals ('amd*', 'umd*', 'system' - and 'jsonp' depend on - output.libraryTarget set to the same - value). ---ignore-warnings A RegExp to select the warning - message. ---ignore-warnings-file A RegExp to select the origin file for - the warning. ---ignore-warnings-message A RegExp to select the warning - message. ---ignore-warnings-module A RegExp to select the origin module - for the warning. ---ignore-warnings-reset Clear all items provided in - 'ignoreWarnings' configuration. Ignore - specific warnings. ---infrastructure-logging-append-only Only appends lines to the output. - Avoids updating existing output e. g. - for status messages. This option is - only used when no custom console is - provided. ---no-infrastructure-logging-append-only Negative - 'infrastructure-logging-append-only' - option. ---infrastructure-logging-colors Enables/Disables colorful output. This - option is only used when no custom - console is provided. ---no-infrastructure-logging-colors Negative - 'infrastructure-logging-colors' - option. ---infrastructure-logging-debug [value...] Enable/Disable debug logging for all - loggers. Enable debug logging for - specific loggers. ---no-infrastructure-logging-debug Negative - 'infrastructure-logging-debug' option. ---infrastructure-logging-debug-reset Clear all items provided in - 'infrastructureLogging.debug' - configuration. Enable debug logging - for specific loggers. ---infrastructure-logging-level Log level. ---mode Enable production optimizations or - development hints. ---module-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-expr-context-critical Negative - 'module-expr-context-critical' option. ---module-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. Deprecated: - This option has moved to - 'module.parser.javascript.exprContextR - ecursive'. ---no-module-expr-context-recursive Negative - 'module-expr-context-recursive' - option. ---module-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.exprContextR - egExp'. ---no-module-expr-context-reg-exp Negative 'module-expr-context-reg-exp' - option. ---module-expr-context-request Set the default request for full - dynamic dependencies. Deprecated: This - option has moved to - 'module.parser.javascript.exprContextR - equest'. ---module-generator-asset-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-binary Negative - 'module-generator-asset-binary' - option. ---module-generator-asset-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-data-url-encoding Negative - 'module-generator-asset-data-url-encod - ing' option. ---module-generator-asset-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-emit Negative 'module-generator-asset-emit' - option. ---module-generator-asset-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-asset-inline-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-inline-binary Negative - 'module-generator-asset-inline-binary' - option. ---module-generator-asset-inline-data-url-encoding Asset encoding (defaults to base64). ---no-module-generator-asset-inline-data-url-encoding Negative - 'module-generator-asset-inline-data-ur - l-encoding' option. ---module-generator-asset-inline-data-url-mimetype Asset mimetype (getting from file - extension by default). ---module-generator-asset-resource-binary Whether or not this asset module - should be considered binary. This can - be set to 'false' to treat this asset - module as text. ---no-module-generator-asset-resource-binary Negative - 'module-generator-asset-resource-binar - y' option. ---module-generator-asset-resource-emit Emit an output asset from this asset - module. This can be set to 'false' to - omit emitting e. g. for SSR. ---no-module-generator-asset-resource-emit Negative - 'module-generator-asset-resource-emit' - option. ---module-generator-asset-resource-filename Specifies the filename template of - output files on disk. You must **not** - specify an absolute path here, but the - path may contain folders separated by - '/'! The specified path is joined with - the value of the 'output.path' option - to determine the location on disk. ---module-generator-asset-resource-output-path Emit the asset in the specified folder - relative to 'output.path'. This should - only be needed when custom - 'publicPath' is specified to match the - folder structure there. ---module-generator-asset-resource-public-path The 'publicPath' specifies the public - URL address of the output files when - referenced in a browser. ---module-generator-css-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-es-module Negative - 'module-generator-css-es-module' - option. ---module-generator-css-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-exports-only Negative - 'module-generator-css-exports-only' - option. ---module-generator-css-auto-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-auto-es-module Negative - 'module-generator-css-auto-es-module' - option. ---module-generator-css-auto-export-type Configure how CSS content is exported - as default. ---module-generator-css-auto-exports-convention Specifies the convention of exported - names. ---module-generator-css-auto-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-auto-exports-only Negative - 'module-generator-css-auto-exports-onl - y' option. ---module-generator-css-auto-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-auto-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-auto-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-auto-local-ident-name Configure the generated local ident - name. ---module-generator-css-global-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-global-es-module Negative - 'module-generator-css-global-es-module - ' option. ---module-generator-css-global-export-type Configure how CSS content is exported - as default. ---module-generator-css-global-exports-convention Specifies the convention of exported - names. ---module-generator-css-global-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-global-exports-only Negative - 'module-generator-css-global-exports-o - nly' option. ---module-generator-css-global-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-global-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-global-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-global-local-ident-name Configure the generated local ident - name. ---module-generator-css-module-es-module Configure the generated JS modules - that use the ES modules syntax. ---no-module-generator-css-module-es-module Negative - 'module-generator-css-module-es-module - ' option. ---module-generator-css-module-export-type Configure how CSS content is exported - as default. ---module-generator-css-module-exports-convention Specifies the convention of exported - names. ---module-generator-css-module-exports-only Avoid generating and loading a - stylesheet and only embed exports from - css into output javascript files. ---no-module-generator-css-module-exports-only Negative - 'module-generator-css-module-exports-o - nly' option. ---module-generator-css-module-local-ident-hash-digest Digest types used for the hash. ---module-generator-css-module-local-ident-hash-digest-length Number of chars which are used for the - hash. ---module-generator-css-module-local-ident-hash-salt Any string which is added to the hash - to salt it. ---module-generator-css-module-local-ident-name Configure the generated local ident - name. ---module-generator-json-json-parse Use \`JSON.parse\` when the JSON string - is longer than 20 characters. ---no-module-generator-json-json-parse Negative - 'module-generator-json-json-parse' - option. ---module-no-parse A regular expression, when matched the - module is not parsed. An absolute - path, when the module starts with this - path it is not parsed. ---module-no-parse-reset Clear all items provided in - 'module.noParse' configuration. Don't - parse files matching. It's matched - against the full resolved request. ---module-parser-asset-data-url-condition-max-size Maximum size of asset that should be - inline as modules. Default: 8kb. ---module-parser-css-export-type Configure how CSS content is exported - as default. ---module-parser-css-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-import Negative 'module-parser-css-import' - option. ---module-parser-css-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-named-exports Negative - 'module-parser-css-named-exports' - option. ---module-parser-css-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-url Negative 'module-parser-css-url' - option. ---module-parser-css-auto-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-auto-animation Negative - 'module-parser-css-auto-animation' - option. ---module-parser-css-auto-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-auto-container Negative - 'module-parser-css-auto-container' - option. ---module-parser-css-auto-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-auto-custom-idents Negative - 'module-parser-css-auto-custom-idents' - option. ---module-parser-css-auto-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-auto-dashed-idents Negative - 'module-parser-css-auto-dashed-idents' - option. ---module-parser-css-auto-export-type Configure how CSS content is exported - as default. ---module-parser-css-auto-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-auto-function Negative - 'module-parser-css-auto-function' - option. ---module-parser-css-auto-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-auto-grid Negative 'module-parser-css-auto-grid' - option. ---module-parser-css-auto-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-auto-import Negative - 'module-parser-css-auto-import' - option. ---module-parser-css-auto-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-auto-named-exports Negative - 'module-parser-css-auto-named-exports' - option. ---module-parser-css-auto-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-auto-url Negative 'module-parser-css-auto-url' - option. ---module-parser-css-global-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-global-animation Negative - 'module-parser-css-global-animation' - option. ---module-parser-css-global-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-global-container Negative - 'module-parser-css-global-container' - option. ---module-parser-css-global-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-global-custom-idents Negative - 'module-parser-css-global-custom-ident - s' option. ---module-parser-css-global-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-global-dashed-idents Negative - 'module-parser-css-global-dashed-ident - s' option. ---module-parser-css-global-export-type Configure how CSS content is exported - as default. ---module-parser-css-global-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-global-function Negative - 'module-parser-css-global-function' - option. ---module-parser-css-global-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-global-grid Negative - 'module-parser-css-global-grid' - option. ---module-parser-css-global-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-global-import Negative - 'module-parser-css-global-import' - option. ---module-parser-css-global-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-global-named-exports Negative - 'module-parser-css-global-named-export - s' option. ---module-parser-css-global-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-global-url Negative - 'module-parser-css-global-url' option. ---module-parser-css-module-animation Enable/disable renaming of - \`@keyframes\`. ---no-module-parser-css-module-animation Negative - 'module-parser-css-module-animation' - option. ---module-parser-css-module-container Enable/disable renaming of - \`@container\` names. ---no-module-parser-css-module-container Negative - 'module-parser-css-module-container' - option. ---module-parser-css-module-custom-idents Enable/disable renaming of custom - identifiers. ---no-module-parser-css-module-custom-idents Negative - 'module-parser-css-module-custom-ident - s' option. ---module-parser-css-module-dashed-idents Enable/disable renaming of dashed - identifiers, e. g. custom properties. ---no-module-parser-css-module-dashed-idents Negative - 'module-parser-css-module-dashed-ident - s' option. ---module-parser-css-module-export-type Configure how CSS content is exported - as default. ---module-parser-css-module-function Enable/disable renaming of \`@function\` - names. ---no-module-parser-css-module-function Negative - 'module-parser-css-module-function' - option. ---module-parser-css-module-grid Enable/disable renaming of grid - identifiers. ---no-module-parser-css-module-grid Negative - 'module-parser-css-module-grid' - option. ---module-parser-css-module-import Enable/disable \`@import\` at-rules - handling. ---no-module-parser-css-module-import Negative - 'module-parser-css-module-import' - option. ---module-parser-css-module-named-exports Use ES modules named export for css - exports. ---no-module-parser-css-module-named-exports Negative - 'module-parser-css-module-named-export - s' option. ---module-parser-css-module-url Enable/disable - \`url()\`/\`image-set()\`/\`src()\`/\`image() - \` functions handling. ---no-module-parser-css-module-url Negative - 'module-parser-css-module-url' option. ---no-module-parser-javascript-amd Negative - 'module-parser-javascript-amd' option. ---module-parser-javascript-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-browserify Negative - 'module-parser-javascript-browserify' - option. ---module-parser-javascript-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-commonjs Negative - 'module-parser-javascript-commonjs' - option. ---module-parser-javascript-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-commonjs-magic-comments Negative - 'module-parser-javascript-commonjs-mag - ic-comments' option. ---module-parser-javascript-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-create-require Negative - 'module-parser-javascript-create-requi - re' option. ---module-parser-javascript-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-defer-import Negative - 'module-parser-javascript-defer-import - ' option. ---module-parser-javascript-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-impo - rt-fetch-priority' option. ---module-parser-javascript-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-impo - rt-prefetch' option. ---module-parser-javascript-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-impo - rt-preload' option. ---module-parser-javascript-dynamic-url [value] Enable/disable parsing of dynamic URL. - Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-dynamic-url Negative - 'module-parser-javascript-dynamic-url' - option. ---module-parser-javascript-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-exports-presence Negative - 'module-parser-javascript-exports-pres - ence' option. ---module-parser-javascript-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-expr-context-critical Negative - 'module-parser-javascript-expr-context - -critical' option. ---module-parser-javascript-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-expr-context-recursive Negative - 'module-parser-javascript-expr-context - -recursive' option. ---module-parser-javascript-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-expr-context-reg-exp Negative - 'module-parser-javascript-expr-context - -reg-exp' option. ---module-parser-javascript-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-harmony Negative - 'module-parser-javascript-harmony' - option. ---module-parser-javascript-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-import Negative - 'module-parser-javascript-import' - option. ---module-parser-javascript-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-import-exports-presence Negative - 'module-parser-javascript-import-expor - ts-presence' option. ---module-parser-javascript-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-import-meta Negative - 'module-parser-javascript-import-meta' - option. ---module-parser-javascript-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-import-meta-context Negative - 'module-parser-javascript-import-meta- - context' option. ---no-module-parser-javascript-node Negative - 'module-parser-javascript-node' - option. ---module-parser-javascript-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-node-dirname Negative - 'module-parser-javascript-node-dirname - ' option. ---module-parser-javascript-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-node-filename Negative - 'module-parser-javascript-node-filenam - e' option. ---module-parser-javascript-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-node-global Negative - 'module-parser-javascript-node-global' - option. ---module-parser-javascript-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-reexport-exports-presence Negative - 'module-parser-javascript-reexport-exp - orts-presence' option. ---module-parser-javascript-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-require-context Negative - 'module-parser-javascript-require-cont - ext' option. ---module-parser-javascript-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-require-ensure Negative - 'module-parser-javascript-require-ensu - re' option. ---module-parser-javascript-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-require-include Negative - 'module-parser-javascript-require-incl - ude' option. ---module-parser-javascript-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-require-js Negative - 'module-parser-javascript-require-js' - option. ---module-parser-javascript-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-strict-export-presence Negative - 'module-parser-javascript-strict-expor - t-presence' option. ---module-parser-javascript-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-strict-this-context-on-imports Negative - 'module-parser-javascript-strict-this- - context-on-imports' option. ---module-parser-javascript-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-system Negative - 'module-parser-javascript-system' - option. ---module-parser-javascript-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-unknown-context-critical Negative - 'module-parser-javascript-unknown-cont - ext-critical' option. ---module-parser-javascript-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-recursive Negative - 'module-parser-javascript-unknown-cont - ext-recursive' option. ---module-parser-javascript-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-unknown-context-reg-exp Negative - 'module-parser-javascript-unknown-cont - ext-reg-exp' option. ---module-parser-javascript-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-url Negative - 'module-parser-javascript-url' option. ---module-parser-javascript-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-worker Negative - 'module-parser-javascript-worker' - option. ---module-parser-javascript-worker-reset Clear all items provided in - 'module.parser.javascript.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-wrapped-context-critical Negative - 'module-parser-javascript-wrapped-cont - ext-critical' option. ---module-parser-javascript-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-wrapped-context-recursive Negative - 'module-parser-javascript-wrapped-cont - ext-recursive' option. ---module-parser-javascript-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-auto-amd Negative - 'module-parser-javascript-auto-amd' - option. ---module-parser-javascript-auto-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-auto-browserify Negative - 'module-parser-javascript-auto-browser - ify' option. ---module-parser-javascript-auto-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-auto-commonjs Negative - 'module-parser-javascript-auto-commonj - s' option. ---module-parser-javascript-auto-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-auto-commonjs-magic-comments Negative - 'module-parser-javascript-auto-commonj - s-magic-comments' option. ---module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-auto-create-require Negative - 'module-parser-javascript-auto-create- - require' option. ---module-parser-javascript-auto-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-auto-defer-import Negative - 'module-parser-javascript-auto-defer-i - mport' option. ---module-parser-javascript-auto-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative - 'module-parser-javascript-auto-dynamic - -import-fetch-priority' option. ---module-parser-javascript-auto-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-prefetch Negative - 'module-parser-javascript-auto-dynamic - -import-prefetch' option. ---module-parser-javascript-auto-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-auto-dynamic-import-preload Negative - 'module-parser-javascript-auto-dynamic - -import-preload' option. ---module-parser-javascript-auto-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-auto-dynamic-url Negative - 'module-parser-javascript-auto-dynamic - -url' option. ---module-parser-javascript-auto-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-auto-exports-presence Negative - 'module-parser-javascript-auto-exports - -presence' option. ---module-parser-javascript-auto-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-auto-expr-context-critical Negative - 'module-parser-javascript-auto-expr-co - ntext-critical' option. ---module-parser-javascript-auto-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-recursive Negative - 'module-parser-javascript-auto-expr-co - ntext-recursive' option. ---module-parser-javascript-auto-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-auto-expr-context-reg-exp Negative - 'module-parser-javascript-auto-expr-co - ntext-reg-exp' option. ---module-parser-javascript-auto-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-auto-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-auto-harmony Negative - 'module-parser-javascript-auto-harmony - ' option. ---module-parser-javascript-auto-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-auto-import Negative - 'module-parser-javascript-auto-import' - option. ---module-parser-javascript-auto-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-auto-import-exports-presence Negative - 'module-parser-javascript-auto-import- - exports-presence' option. ---module-parser-javascript-auto-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-auto-import-meta Negative - 'module-parser-javascript-auto-import- - meta' option. ---module-parser-javascript-auto-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-auto-import-meta-context Negative - 'module-parser-javascript-auto-import- - meta-context' option. ---no-module-parser-javascript-auto-node Negative - 'module-parser-javascript-auto-node' - option. ---module-parser-javascript-auto-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-auto-node-dirname Negative - 'module-parser-javascript-auto-node-di - rname' option. ---module-parser-javascript-auto-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-auto-node-filename Negative - 'module-parser-javascript-auto-node-fi - lename' option. ---module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-auto-node-global Negative - 'module-parser-javascript-auto-node-gl - obal' option. ---module-parser-javascript-auto-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-auto-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-auto-reexport-exports-presence Negative - 'module-parser-javascript-auto-reexpor - t-exports-presence' option. ---module-parser-javascript-auto-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-auto-require-context Negative - 'module-parser-javascript-auto-require - -context' option. ---module-parser-javascript-auto-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-auto-require-ensure Negative - 'module-parser-javascript-auto-require - -ensure' option. ---module-parser-javascript-auto-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-auto-require-include Negative - 'module-parser-javascript-auto-require - -include' option. ---module-parser-javascript-auto-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-auto-require-js Negative - 'module-parser-javascript-auto-require - -js' option. ---module-parser-javascript-auto-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-auto-strict-export-presence Negative - 'module-parser-javascript-auto-strict- - export-presence' option. ---module-parser-javascript-auto-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-auto-strict-this-context-on-imports Negative - 'module-parser-javascript-auto-strict- - this-context-on-imports' option. ---module-parser-javascript-auto-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-auto-system Negative - 'module-parser-javascript-auto-system' - option. ---module-parser-javascript-auto-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-auto-unknown-context-critical Negative - 'module-parser-javascript-auto-unknown - -context-critical' option. ---module-parser-javascript-auto-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-recursive Negative - 'module-parser-javascript-auto-unknown - -context-recursive' option. ---module-parser-javascript-auto-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-auto-unknown-context-reg-exp Negative - 'module-parser-javascript-auto-unknown - -context-reg-exp' option. ---module-parser-javascript-auto-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-auto-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-auto-url Negative - 'module-parser-javascript-auto-url' - option. ---module-parser-javascript-auto-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-auto-worker Negative - 'module-parser-javascript-auto-worker' - option. ---module-parser-javascript-auto-worker-reset Clear all items provided in - 'module.parser.javascript/auto.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-auto-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-auto-wrapped-context-critical Negative - 'module-parser-javascript-auto-wrapped - -context-critical' option. ---module-parser-javascript-auto-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-auto-wrapped-context-recursive Negative - 'module-parser-javascript-auto-wrapped - -context-recursive' option. ---module-parser-javascript-auto-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-amd Negative - 'module-parser-javascript-dynamic-amd' - option. ---module-parser-javascript-dynamic-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-dynamic-browserify Negative - 'module-parser-javascript-dynamic-brow - serify' option. ---module-parser-javascript-dynamic-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-dynamic-commonjs Negative - 'module-parser-javascript-dynamic-comm - onjs' option. ---module-parser-javascript-dynamic-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-dynamic-commonjs-magic-comments Negative - 'module-parser-javascript-dynamic-comm - onjs-magic-comments' option. ---module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-dynamic-create-require Negative - 'module-parser-javascript-dynamic-crea - te-require' option. ---module-parser-javascript-dynamic-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-dynamic-defer-import Negative - 'module-parser-javascript-dynamic-defe - r-import' option. ---module-parser-javascript-dynamic-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative - 'module-parser-javascript-dynamic-dyna - mic-import-fetch-priority' option. ---module-parser-javascript-dynamic-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative - 'module-parser-javascript-dynamic-dyna - mic-import-prefetch' option. ---module-parser-javascript-dynamic-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-dynamic-dynamic-import-preload Negative - 'module-parser-javascript-dynamic-dyna - mic-import-preload' option. ---module-parser-javascript-dynamic-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-dynamic-dynamic-url Negative - 'module-parser-javascript-dynamic-dyna - mic-url' option. ---module-parser-javascript-dynamic-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-dynamic-exports-presence Negative - 'module-parser-javascript-dynamic-expo - rts-presence' option. ---module-parser-javascript-dynamic-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-dynamic-expr-context-critical Negative - 'module-parser-javascript-dynamic-expr - -context-critical' option. ---module-parser-javascript-dynamic-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-recursive Negative - 'module-parser-javascript-dynamic-expr - -context-recursive' option. ---module-parser-javascript-dynamic-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-dynamic-expr-context-reg-exp Negative - 'module-parser-javascript-dynamic-expr - -context-reg-exp' option. ---module-parser-javascript-dynamic-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-dynamic-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-dynamic-harmony Negative - 'module-parser-javascript-dynamic-harm - ony' option. ---module-parser-javascript-dynamic-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-dynamic-import Negative - 'module-parser-javascript-dynamic-impo - rt' option. ---module-parser-javascript-dynamic-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-dynamic-import-exports-presence Negative - 'module-parser-javascript-dynamic-impo - rt-exports-presence' option. ---module-parser-javascript-dynamic-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-dynamic-import-meta Negative - 'module-parser-javascript-dynamic-impo - rt-meta' option. ---module-parser-javascript-dynamic-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-dynamic-import-meta-context Negative - 'module-parser-javascript-dynamic-impo - rt-meta-context' option. ---no-module-parser-javascript-dynamic-node Negative - 'module-parser-javascript-dynamic-node - ' option. ---module-parser-javascript-dynamic-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-dynamic-node-dirname Negative - 'module-parser-javascript-dynamic-node - -dirname' option. ---module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-dynamic-node-filename Negative - 'module-parser-javascript-dynamic-node - -filename' option. ---module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-dynamic-node-global Negative - 'module-parser-javascript-dynamic-node - -global' option. ---module-parser-javascript-dynamic-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-dynamic-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-dynamic-reexport-exports-presence Negative - 'module-parser-javascript-dynamic-reex - port-exports-presence' option. ---module-parser-javascript-dynamic-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-dynamic-require-context Negative - 'module-parser-javascript-dynamic-requ - ire-context' option. ---module-parser-javascript-dynamic-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-dynamic-require-ensure Negative - 'module-parser-javascript-dynamic-requ - ire-ensure' option. ---module-parser-javascript-dynamic-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-dynamic-require-include Negative - 'module-parser-javascript-dynamic-requ - ire-include' option. ---module-parser-javascript-dynamic-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-dynamic-require-js Negative - 'module-parser-javascript-dynamic-requ - ire-js' option. ---module-parser-javascript-dynamic-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-dynamic-strict-export-presence Negative - 'module-parser-javascript-dynamic-stri - ct-export-presence' option. ---module-parser-javascript-dynamic-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-dynamic-strict-this-context-on-imports Negative - 'module-parser-javascript-dynamic-stri - ct-this-context-on-imports' option. ---module-parser-javascript-dynamic-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-dynamic-system Negative - 'module-parser-javascript-dynamic-syst - em' option. ---module-parser-javascript-dynamic-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-critical Negative - 'module-parser-javascript-dynamic-unkn - own-context-critical' option. ---module-parser-javascript-dynamic-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-recursive Negative - 'module-parser-javascript-dynamic-unkn - own-context-recursive' option. ---module-parser-javascript-dynamic-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-dynamic-unknown-context-reg-exp Negative - 'module-parser-javascript-dynamic-unkn - own-context-reg-exp' option. ---module-parser-javascript-dynamic-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-dynamic-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-dynamic-worker Negative - 'module-parser-javascript-dynamic-work - er' option. ---module-parser-javascript-dynamic-worker-reset Clear all items provided in - 'module.parser.javascript/dynamic.work - er' configuration. Disable or - configure parsing of WebWorker syntax - like new Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-dynamic-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-critical Negative - 'module-parser-javascript-dynamic-wrap - ped-context-critical' option. ---module-parser-javascript-dynamic-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-dynamic-wrapped-context-recursive Negative - 'module-parser-javascript-dynamic-wrap - ped-context-recursive' option. ---module-parser-javascript-dynamic-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---no-module-parser-javascript-esm-amd Negative - 'module-parser-javascript-esm-amd' - option. ---module-parser-javascript-esm-browserify Enable/disable special handling for - browserify bundles. ---no-module-parser-javascript-esm-browserify Negative - 'module-parser-javascript-esm-browseri - fy' option. ---module-parser-javascript-esm-commonjs Enable/disable parsing of CommonJs - syntax. ---no-module-parser-javascript-esm-commonjs Negative - 'module-parser-javascript-esm-commonjs - ' option. ---module-parser-javascript-esm-commonjs-magic-comments Enable/disable parsing of magic - comments in CommonJs syntax. ---no-module-parser-javascript-esm-commonjs-magic-comments Negative - 'module-parser-javascript-esm-commonjs - -magic-comments' option. ---module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { - createRequire } from "module"" and - evaluating createRequire(). ---no-module-parser-javascript-esm-create-require Negative - 'module-parser-javascript-esm-create-r - equire' option. ---module-parser-javascript-esm-defer-import Enable experimental tc39 proposal - https://github.com/tc39/proposal-defer - -import-eval. This allows to defer - execution of a module until it's first - use. ---no-module-parser-javascript-esm-defer-import Negative - 'module-parser-javascript-esm-defer-im - port' option. ---module-parser-javascript-esm-dynamic-import-fetch-priority Specifies global fetchPriority for - dynamic import. ---no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative - 'module-parser-javascript-esm-dynamic- - import-fetch-priority' option. ---module-parser-javascript-esm-dynamic-import-mode Specifies global mode for dynamic - import. ---module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-prefetch Negative - 'module-parser-javascript-esm-dynamic- - import-prefetch' option. ---module-parser-javascript-esm-dynamic-import-preload [value] Specifies global preload for dynamic - import. ---no-module-parser-javascript-esm-dynamic-import-preload Negative - 'module-parser-javascript-esm-dynamic- - import-preload' option. ---module-parser-javascript-esm-dynamic-url Enable/disable parsing of dynamic URL. ---no-module-parser-javascript-esm-dynamic-url Negative - 'module-parser-javascript-esm-dynamic- - url' option. ---module-parser-javascript-esm-exports-presence Specifies the behavior of invalid - export names in "import ... from ..." - and "export ... from ...". ---no-module-parser-javascript-esm-exports-presence Negative - 'module-parser-javascript-esm-exports- - presence' option. ---module-parser-javascript-esm-expr-context-critical Enable warnings for full dynamic - dependencies. ---no-module-parser-javascript-esm-expr-context-critical Negative - 'module-parser-javascript-esm-expr-con - text-critical' option. ---module-parser-javascript-esm-expr-context-recursive Enable recursive directory lookup for - full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-recursive Negative - 'module-parser-javascript-esm-expr-con - text-recursive' option. ---module-parser-javascript-esm-expr-context-reg-exp [value] Sets the default regular expression - for full dynamic dependencies. ---no-module-parser-javascript-esm-expr-context-reg-exp Negative - 'module-parser-javascript-esm-expr-con - text-reg-exp' option. ---module-parser-javascript-esm-expr-context-request Set the default request for full - dynamic dependencies. ---module-parser-javascript-esm-harmony Enable/disable parsing of EcmaScript - Modules syntax. ---no-module-parser-javascript-esm-harmony Negative - 'module-parser-javascript-esm-harmony' - option. ---module-parser-javascript-esm-import Enable/disable parsing of import() - syntax. ---no-module-parser-javascript-esm-import Negative - 'module-parser-javascript-esm-import' - option. ---module-parser-javascript-esm-import-exports-presence Specifies the behavior of invalid - export names in "import ... from ...". ---no-module-parser-javascript-esm-import-exports-presence Negative - 'module-parser-javascript-esm-import-e - xports-presence' option. ---module-parser-javascript-esm-import-meta [value] Enable/disable evaluating import.meta. - Set to 'preserve-unknown' to preserve - unknown properties for runtime - evaluation. ---no-module-parser-javascript-esm-import-meta Negative - 'module-parser-javascript-esm-import-m - eta' option. ---module-parser-javascript-esm-import-meta-context Enable/disable evaluating - import.meta.webpackContext. ---no-module-parser-javascript-esm-import-meta-context Negative - 'module-parser-javascript-esm-import-m - eta-context' option. ---no-module-parser-javascript-esm-node Negative - 'module-parser-javascript-esm-node' - option. ---module-parser-javascript-esm-node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-module-parser-javascript-esm-node-dirname Negative - 'module-parser-javascript-esm-node-dir - name' option. ---module-parser-javascript-esm-node-filename [value] Include a polyfill for the - '__filename' variable. ---no-module-parser-javascript-esm-node-filename Negative - 'module-parser-javascript-esm-node-fil - ename' option. ---module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' - variable. ---no-module-parser-javascript-esm-node-global Negative - 'module-parser-javascript-esm-node-glo - bal' option. ---module-parser-javascript-esm-override-strict Override the module to strict or - non-strict. This may affect the - behavior of the module (some behaviors - differ between strict and non-strict), - so please configure this option - carefully. ---module-parser-javascript-esm-reexport-exports-presence Specifies the behavior of invalid - export names in "export ... from ...". - This might be useful to disable during - the migration from "export ... from - ..." to "export type ... from ..." - when reexporting types in TypeScript. ---no-module-parser-javascript-esm-reexport-exports-presence Negative - 'module-parser-javascript-esm-reexport - -exports-presence' option. ---module-parser-javascript-esm-require-context Enable/disable parsing of - require.context syntax. ---no-module-parser-javascript-esm-require-context Negative - 'module-parser-javascript-esm-require- - context' option. ---module-parser-javascript-esm-require-ensure Enable/disable parsing of - require.ensure syntax. ---no-module-parser-javascript-esm-require-ensure Negative - 'module-parser-javascript-esm-require- - ensure' option. ---module-parser-javascript-esm-require-include Enable/disable parsing of - require.include syntax. ---no-module-parser-javascript-esm-require-include Negative - 'module-parser-javascript-esm-require- - include' option. ---module-parser-javascript-esm-require-js Enable/disable parsing of require.js - special syntax like require.config, - requirejs.config, require.version and - requirejs.onError. ---no-module-parser-javascript-esm-require-js Negative - 'module-parser-javascript-esm-require- - js' option. ---module-parser-javascript-esm-strict-export-presence Deprecated in favor of - "exportsPresence". Emit errors instead - of warnings when imported names don't - exist in imported module. ---no-module-parser-javascript-esm-strict-export-presence Negative - 'module-parser-javascript-esm-strict-e - xport-presence' option. ---module-parser-javascript-esm-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. ---no-module-parser-javascript-esm-strict-this-context-on-imports Negative - 'module-parser-javascript-esm-strict-t - his-context-on-imports' option. ---module-parser-javascript-esm-system Enable/disable parsing of System.js - special syntax like System.import, - System.get, System.set and - System.register. ---no-module-parser-javascript-esm-system Negative - 'module-parser-javascript-esm-system' - option. ---module-parser-javascript-esm-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. ---no-module-parser-javascript-esm-unknown-context-critical Negative - 'module-parser-javascript-esm-unknown- - context-critical' option. ---module-parser-javascript-esm-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-recursive Negative - 'module-parser-javascript-esm-unknown- - context-recursive' option. ---module-parser-javascript-esm-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. ---no-module-parser-javascript-esm-unknown-context-reg-exp Negative - 'module-parser-javascript-esm-unknown- - context-reg-exp' option. ---module-parser-javascript-esm-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. ---module-parser-javascript-esm-url [value] Enable/disable parsing of new URL() - syntax. ---no-module-parser-javascript-esm-url Negative - 'module-parser-javascript-esm-url' - option. ---module-parser-javascript-esm-worker [value...] Specify a syntax that should be parsed - as WebWorker reference. 'Abc' handles - 'new Abc()', 'Abc from xyz' handles - 'import { Abc } from "xyz"; new - Abc()', 'abc()' handles 'abc()', and - combinations are also possible. - Disable or configure parsing of - WebWorker syntax like new Worker() or - navigator.serviceWorker.register(). ---no-module-parser-javascript-esm-worker Negative - 'module-parser-javascript-esm-worker' - option. ---module-parser-javascript-esm-worker-reset Clear all items provided in - 'module.parser.javascript/esm.worker' - configuration. Disable or configure - parsing of WebWorker syntax like new - Worker() or - navigator.serviceWorker.register(). ---module-parser-javascript-esm-wrapped-context-critical Enable warnings for partial dynamic - dependencies. ---no-module-parser-javascript-esm-wrapped-context-critical Negative - 'module-parser-javascript-esm-wrapped- - context-critical' option. ---module-parser-javascript-esm-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. ---no-module-parser-javascript-esm-wrapped-context-recursive Negative - 'module-parser-javascript-esm-wrapped- - context-recursive' option. ---module-parser-javascript-esm-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. ---module-parser-json-exports-depth The depth of json dependency flagged - as \`exportInfo\`. ---module-parser-json-named-exports Allow named exports for json of object - type. ---no-module-parser-json-named-exports Negative - 'module-parser-json-named-exports' - option. ---module-rules-compiler Match the child compiler name. ---module-rules-compiler-not Logical NOT. ---module-rules-dependency Match dependency type. ---module-rules-dependency-not Logical NOT. ---module-rules-enforce Enforce this rule as pre or post step. ---module-rules-exclude Shortcut for resource.exclude. ---module-rules-exclude-not Logical NOT. ---module-rules-extract-source-map Enable/Disable extracting source map. ---no-module-rules-extract-source-map Negative - 'module-rules-extract-source-map' - option. ---module-rules-include Shortcut for resource.include. ---module-rules-include-not Logical NOT. ---module-rules-issuer Match the issuer of the module (The - module pointing to this module). ---module-rules-issuer-not Logical NOT. ---module-rules-issuer-layer Match layer of the issuer of this - module (The module pointing to this - module). ---module-rules-issuer-layer-not Logical NOT. ---module-rules-layer Specifies the layer in which the - module should be placed in. ---module-rules-loader A loader request. ---module-rules-mimetype Match module mimetype when load from - Data URI. ---module-rules-mimetype-not Logical NOT. ---module-rules-real-resource Match the real resource path of the - module. ---module-rules-real-resource-not Logical NOT. ---module-rules-resource Match the resource path of the module. ---module-rules-resource-not Logical NOT. ---module-rules-resource-fragment Match the resource fragment of the - module. ---module-rules-resource-fragment-not Logical NOT. ---module-rules-resource-query Match the resource query of the - module. ---module-rules-resource-query-not Logical NOT. ---module-rules-scheme Match module scheme. ---module-rules-scheme-not Logical NOT. ---module-rules-side-effects Flags a module as with or without side - effects. ---no-module-rules-side-effects Negative 'module-rules-side-effects' - option. ---module-rules-test Shortcut for resource.test. ---module-rules-test-not Logical NOT. ---module-rules-type Module type to use for the module. ---module-rules-use-ident Unique loader options identifier. ---module-rules-use-loader A loader request. ---module-rules-use-options Options passed to a loader. ---module-rules-use A loader request. ---module-rules-reset Clear all items provided in - 'module.rules' configuration. A list - of rules. ---module-strict-export-presence Emit errors instead of warnings when - imported names don't exist in imported - module. Deprecated: This option has - moved to - 'module.parser.javascript.strictExport - Presence'. ---no-module-strict-export-presence Negative - 'module-strict-export-presence' - option. ---module-strict-this-context-on-imports Handle the this context correctly - according to the spec for namespace - objects. Deprecated: This option has - moved to - 'module.parser.javascript.strictThisCo - ntextOnImports'. ---no-module-strict-this-context-on-imports Negative - 'module-strict-this-context-on-imports - ' option. ---module-unknown-context-critical Enable warnings when using the require - function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtCritical'. ---no-module-unknown-context-critical Negative - 'module-unknown-context-critical' - option. ---module-unknown-context-recursive Enable recursive directory lookup when - using the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRecursive'. ---no-module-unknown-context-recursive Negative - 'module-unknown-context-recursive' - option. ---module-unknown-context-reg-exp [value] Sets the regular expression when using - the require function in a not - statically analyse-able way. - Deprecated: This option has moved to - 'module.parser.javascript.unknownConte - xtRegExp'. ---no-module-unknown-context-reg-exp Negative - 'module-unknown-context-reg-exp' - option. ---module-unknown-context-request Sets the request when using the - require function in a not statically - analyse-able way. Deprecated: This - option has moved to - 'module.parser.javascript.unknownConte - xtRequest'. ---module-unsafe-cache Cache the resolving of module - requests. ---no-module-unsafe-cache Negative 'module-unsafe-cache' option. ---module-wrapped-context-critical Enable warnings for partial dynamic - dependencies. Deprecated: This option - has moved to - 'module.parser.javascript.wrappedConte - xtCritical'. ---no-module-wrapped-context-critical Negative - 'module-wrapped-context-critical' - option. ---module-wrapped-context-recursive Enable recursive directory lookup for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRecursive'. ---no-module-wrapped-context-recursive Negative - 'module-wrapped-context-recursive' - option. ---module-wrapped-context-reg-exp Set the inner regular expression for - partial dynamic dependencies. - Deprecated: This option has moved to - 'module.parser.javascript.wrappedConte - xtRegExp'. ---name Name of the configuration. Used when - loading multiple configurations. ---no-node Negative 'node' option. ---node-dirname [value] Include a polyfill for the '__dirname' - variable. ---no-node-dirname Negative 'node-dirname' option. ---node-filename [value] Include a polyfill for the - '__filename' variable. ---no-node-filename Negative 'node-filename' option. ---node-global [value] Include a polyfill for the 'global' - variable. ---no-node-global Negative 'node-global' option. ---optimization-avoid-entry-iife Avoid wrapping the entry module in an - IIFE. ---no-optimization-avoid-entry-iife Negative - 'optimization-avoid-entry-iife' - option. ---optimization-check-wasm-types Check for incompatible wasm types when - importing/exporting from/to ESM. ---no-optimization-check-wasm-types Negative - 'optimization-check-wasm-types' - option. ---optimization-chunk-ids Define the algorithm to choose chunk - ids (named: readable ids for better - debugging, deterministic: numeric hash - ids for better long term caching, - size: numeric ids focused on minimal - initial download size, total-size: - numeric ids focused on minimal total - download size, false: no algorithm - used, as custom one can be provided - via plugin). ---no-optimization-chunk-ids Negative 'optimization-chunk-ids' - option. ---optimization-concatenate-modules Concatenate modules when possible to - generate less modules, more efficient - code and enable more optimizations by - the minimizer. ---no-optimization-concatenate-modules Negative - 'optimization-concatenate-modules' - option. ---optimization-emit-on-errors Emit assets even when errors occur. - Critical errors are emitted into the - generated code and will cause errors +--experiments-source-import Enable experimental tc39 proposal + https://github.com/tc39/proposal-sourc + e-phase-imports. This allows importing + modules at stack. --watch-options-poll [value] \`number\`: use polling with specified interval. \`true\`: use polling. @@ -16764,7 +5636,6 @@ Options --watch-options-stdin Stop watching when stdin stream has ended. --no-watch-options-stdin Negative 'watch-options-stdin' option. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -16775,8 +5646,6 @@ Global options packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help watch --verbose' to see all available options. - Webpack documentation: https://webpack.js.org/ CLI documentation: https://webpack.js.org/api/cli/ Made with ♥ by the webpack team" @@ -16829,14 +5698,14 @@ Options -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to - build for. An array of environments to - build for all of them when possible. +-t, --target Specific environment, runtime, or + syntax. Environment to build for. An + array of environments to build for all + of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -16846,8 +5715,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help watch --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -16882,10 +5749,9 @@ Options: --name Name of the configuration. Used when loading multiple configurations. -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options: --color Enable colors on console. @@ -16895,8 +5761,8 @@ Global options: Commands: build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). -configtest|t [options] [config-path] Validate a webpack configuration. -help|h [options] [command] [option] Display help for commands and options. +configtest|t [config-path] Validate a webpack configuration. +help|h [command] [option] Display help for commands and options. info|i [options] Outputs information about your system. serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. @@ -16962,10 +5828,9 @@ Options: --name Name of the configuration. Used when loading multiple configurations. -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options: --color Enable colors on console. @@ -16975,8 +5840,8 @@ Global options: Commands: build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). -configtest|t [options] [config-path] Validate a webpack configuration. -help|h [options] [command] [option] Display help for commands and options. +configtest|t [config-path] Validate a webpack configuration. +help|h [command] [option] Display help for commands and options. info|i [options] Outputs information about your system. serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. @@ -17139,8 +6004,9 @@ exports[`help should show help information using the "help --target" option: std "--target: Usage webpack --target Short webpack -t -Description Environment to build for. Environment to build for. An array - of environments to build for all of them when possible. +Description Specific environment, runtime, or syntax. Environment to + build for. An array of environments to build for all of them + when possible. Documentation https://webpack.js.org/option/target/ Possible values false @@ -17242,7 +6108,6 @@ Options -o, --output To get the output in a specified format (accept json or markdown) -a, --additional-package Adds additional packages to the output --h, --help [verbose] Display help for commands and options. Global options --color Enable colors on console. @@ -17252,8 +6117,6 @@ Global options and other packages. -h, --help [verbose] Display help for commands and options. -Run 'webpack help info --verbose' to see all available options. - Run 'webpack --help=verbose' to see all available commands and options. Webpack documentation: https://webpack.js.org/ @@ -17290,10 +6153,9 @@ Options: --name Name of the configuration. Used when loading multiple configurations. -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options: --color Enable colors on console. @@ -17303,8 +6165,8 @@ Global options: Commands: build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). -configtest|t [options] [config-path] Validate a webpack configuration. -help|h [options] [command] [option] Display help for commands and options. +configtest|t [config-path] Validate a webpack configuration. +help|h [command] [option] Display help for commands and options. info|i [options] Outputs information about your system. serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. @@ -17342,10 +6204,9 @@ Options: --name Name of the configuration. Used when loading multiple configurations. -o, --output-path The output directory as **absolute path** (required). --stats [value] Stats options object or preset name. --t, --target Environment to build for. Environment to build for. An array of environments to build for all of them when possible. +-t, --target Specific environment, runtime, or syntax. Environment to build for. An array of environments to build for all of them when possible. -w, --watch Enter watch mode, which rebuilds on file change. --watch-options-stdin Stop watching when stdin stream has ended. --h, --help [verbose] Display help for commands and options. Global options: --color Enable colors on console. @@ -17355,8 +6216,8 @@ Global options: Commands: build|bundle|b [entries...] [options] Run webpack (default command, can be omitted). -configtest|t [options] [config-path] Validate a webpack configuration. -help|h [options] [command] [option] Display help for commands and options. +configtest|t [config-path] Validate a webpack configuration. +help|h [command] [option] Display help for commands and options. info|i [options] Outputs information about your system. serve|server|s [entries...] [options] Run the webpack dev server and watch for source file changes while serving. version|v [options] Output the version number of 'webpack', 'webpack-cli' and 'webpack-dev-server' and other packages. diff --git a/test/serve/invalid-schema/__snapshots__/invalid-schema.test.js.snap.devServer5.webpack5 b/test/serve/invalid-schema/__snapshots__/invalid-schema.test.js.snap.devServer5.webpack5 index 077acf57e0d..749b6c31f59 100644 --- a/test/serve/invalid-schema/__snapshots__/invalid-schema.test.js.snap.devServer5.webpack5 +++ b/test/serve/invalid-schema/__snapshots__/invalid-schema.test.js.snap.devServer5.webpack5 @@ -16,24 +16,22 @@ exports[`invalid schema should log webpack error and exit process on invalid fla exports[`invalid schema should log webpack error and exit process on invalid flag: stdout 1`] = `""`; -exports[`invalid schema should log webpack-dev-server error and exit process on invalid config: stderr 1`] = `""`; - -exports[`invalid schema should log webpack-dev-server error and exit process on invalid config: stdout 1`] = ` -"Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. +exports[`invalid schema should log webpack-dev-server error and exit process on invalid config: stderr 1`] = ` +"[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - options.bonjour should be one of these: boolean | object { … } -> Allows to broadcasts dev server via ZeroConf networking on start. -> Read more at stack -> Options for bonjour. - -> Read more at https://github.com/watson/bonjour#initializing -Documentation: https://webpack.js.org/configuration/dev-server/" + -> Read more at https://github.com/watson/bonjour#initializing" `; -exports[`invalid schema should log webpack-dev-server error and exit process on invalid flag: stderr 1`] = `""`; +exports[`invalid schema should log webpack-dev-server error and exit process on invalid config: stdout 1`] = `""`; -exports[`invalid schema should log webpack-dev-server error and exit process on invalid flag: stdout 1`] = ` -"Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. - - options.port should be >= 0 and <= 65535. -Documentation: https://webpack.js.org/configuration/dev-server/" +exports[`invalid schema should log webpack-dev-server error and exit process on invalid flag: stderr 1`] = ` +"[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema. + - options.port should be >= 0 and <= 65535." `; + +exports[`invalid schema should log webpack-dev-server error and exit process on invalid flag: stdout 1`] = `""`; From 97def0d2c9a390ddac33bf55375efe116571f2cb Mon Sep 17 00:00:00 2001 From: ThierryRakotomanana Date: Thu, 16 Apr 2026 22:16:29 +0300 Subject: [PATCH 15/15] refactor(cli): use hooks to avoid DRY --- packages/webpack-cli/src/webpack-cli.ts | 79 ++++++++++++++++--------- 1 file changed, 51 insertions(+), 28 deletions(-) diff --git a/packages/webpack-cli/src/webpack-cli.ts b/packages/webpack-cli/src/webpack-cli.ts index ebe04ad2c87..631e74c8870 100644 --- a/packages/webpack-cli/src/webpack-cli.ts +++ b/packages/webpack-cli/src/webpack-cli.ts @@ -104,6 +104,12 @@ interface Command extends CommanderCommand { context: Context; } +interface CommandUIOptions { + description?: string; + footer?: "global" | "command"; + skipIf?: (opts: RecordAny) => boolean; +} + interface CommandOptions< A = void, O extends CommanderArgs = CommanderArgs, @@ -117,6 +123,7 @@ interface CommandOptions< dependencies?: string[]; pkg?: string; preload?: () => Promise; + ui?: CommandUIOptions; options?: | CommandOption[] | ((command: Command & { context: C }) => CommandOption[]) @@ -673,6 +680,33 @@ class WebpackCLI { command.action(options.action); + if (options.ui) { + const { ui } = options; + + command.hook("preAction", (_thisCmd, actionCmd) => { + if (ui.skipIf?.(actionCmd.opts())) return; + + renderCommandHeader( + { + name: command.name(), + description: ui.description ?? command.description(), + }, + this.#renderOptions(), + ); + }); + + command.hook("postAction", (_thisCmd, actionCmd) => { + if (ui.skipIf?.(actionCmd.opts())) return; + + const renderOpts = this.#renderOptions(); + if (ui.footer === "command") { + renderCommandFooter(renderOpts); + } else { + renderFooter(renderOpts); + } + }); + } + return command; } @@ -1830,9 +1864,12 @@ class WebpackCLI { hidden: false, }, ], + ui: { + description: "Installed package versions.", + footer: "global", + skipIf: (opts) => Boolean(opts.output), + }, action: async (options: { output?: string }) => { - const renderOpts = this.#renderOptions(); - if (options.output) { // Machine-readable output requested, bypass the visual renderer entirely. const info = await this.#renderVersion(options); @@ -1840,19 +1877,13 @@ class WebpackCLI { return; } - renderCommandHeader( - { name: "version", description: "Installed package versions." }, - renderOpts, - ); - const rawInfo = await this.#getInfoOutput({ information: { npmPackages: `{${DEFAULT_WEBPACK_PACKAGES.map((item) => `*${item}*`).join(",")}}`, }, }); - renderVersionOutput(rawInfo, renderOpts); - renderFooter(renderOpts); + renderVersionOutput(rawInfo, this.#renderOptions()); }, }, info: { @@ -1882,24 +1913,18 @@ class WebpackCLI { hidden: false, }, ], + ui: { + description: "System and environment information.", + footer: "global", + skipIf: (opts) => Boolean(opts.output), + }, action: async (options: { output?: string; additionalPackage?: string[] }) => { - const renderOpts = this.#renderOptions(); - - if (!options.output) { - renderCommandHeader( - { name: "info", description: "System and environment information." }, - renderOpts, - ); - } - - const info = await this.#getInfoOutput(options); - if (options.output) { - this.logger.raw(info); + this.logger.raw(await this.#getInfoOutput(options)); return; } - renderInfoOutput(info, renderOpts); + renderInfoOutput(await this.#getInfoOutput(options), this.#renderOptions()); }, }, configtest: { @@ -1913,6 +1938,10 @@ class WebpackCLI { const webpack = await this.loadWebpack(); return { webpack }; }, + ui: { + description: "Validating your webpack configuration.", + footer: "command", + }, action: async (configPath: string | undefined, _options: CommanderArgs, cmd) => { const { webpack } = cmd.context; const env: Env = {}; @@ -1944,11 +1973,6 @@ class WebpackCLI { process.exit(2); } - renderCommandHeader( - { name: "configtest", description: "Validating your webpack configuration." }, - renderOpts, - ); - const pathList = [...configPaths].join(", "); renderWarning(`Validating: ${pathList}`, renderOpts); @@ -1965,7 +1989,6 @@ class WebpackCLI { } renderSuccess("No validation errors found.", renderOpts); - renderCommandFooter(renderOpts); }, }, };