From ab9a8c8c0984482ad9fcde73909e834660adfd0a Mon Sep 17 00:00:00 2001 From: alexander-akait <4567934+alexander-akait@users.noreply.github.com> Date: Sun, 18 Oct 2026 00:47:40 +0000 Subject: [PATCH] docs: update --- OPTIONS.md | 99 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 78 insertions(+), 21 deletions(-) diff --git a/OPTIONS.md b/OPTIONS.md index 09cd345f41e..bdeed49170e 100644 --- a/OPTIONS.md +++ b/OPTIONS.md @@ -108,6 +108,8 @@ Options --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-lazy-compilation-test-glob A glob pattern matched against a path, using `/` as path separator on every OS; a `!` prefix excludes what it matches. + --experiments-lazy-compilation-test-glob-reset Clear all items provided in 'experiments.lazyCompilation.test.glob' configuration. A list of glob patterns. --experiments-source-import Enable experimental tc39 proposal https://github.com/tc39/proposal-source-phase-imports. This allows importing modules at source phase. --no-experiments-source-import Negative 'experiments-source-import' option. --experiments-sync-web-assembly Support WebAssembly as synchronous EcmaScript Module (outdated). @@ -144,7 +146,7 @@ Options --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-file A RegExp or a glob to select the origin file for the warning. A glob matching the origin file for the warning at any depth. --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. @@ -229,7 +231,7 @@ Options --no-module-generator-html-extract Negative 'module-generator-html-extract' option. --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 A regular expression, when matched the module is not parsed. An absolute path, when the module starts with this path it is not parsed. A glob, when it matches the module's resource path at any depth the module 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-as Configure how the CSS source is parsed: as a full stylesheet (default) or as a block's contents (e.g. the content of an HTML `style` attribute). @@ -417,6 +419,7 @@ Options --module-parser-css-module-url-hints-type Default `type` attribute (MIME). --module-parser-css-module-url-hints-reset Clear all items provided in 'module.parser.css/module.urlHints' configuration. URL-referenced-asset default hint rules for this parser (JavaScript `new URL(...)`, CSS `url(...)`, HTML `` / `` / `