Skip to content

Commit e2f43c2

Browse files
authored
docs: add resolve.fallback config related flags (#1826)
1 parent 134c77a commit e2f43c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/webpack-cli/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,10 @@ yarn add webpack-cli --dev
350350
--resolve-extensions string[] Extension added to the request when trying to find the file.
351351
--resolve-extensions-reset Clear all items provided in configuration. Extensions added to the request
352352
when trying to find the file.
353+
--resolve-fallback-alias string[] Ignore request (replace with empty module). New request.
354+
--resolve-fallback-name string[] Request to be redirected.
355+
--resolve-fallback-only-module Redirect only exact matching request.
356+
--resolve-fallback-reset Clear all items provided in configuration. Redirect module requests.
353357
--resolve-fully-specified Treats the request specified by the user as fully specified, meaning no
354358
extensions are added and the mainFiles in directories are not resolved (This
355359
doesn't affect requests from mainFields, aliasFields or aliases).

0 commit comments

Comments
 (0)