Skip to content

Commit

Permalink
docs: add resolve.fallback config related flags (#1826)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 authored Sep 24, 2020
1 parent 134c77a commit e2f43c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/webpack-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ yarn add webpack-cli --dev
--resolve-extensions string[] Extension added to the request when trying to find the file.
--resolve-extensions-reset Clear all items provided in configuration. Extensions added to the request
when trying to find the file.
--resolve-fallback-alias string[] Ignore request (replace with empty module). New request.
--resolve-fallback-name string[] Request to be redirected.
--resolve-fallback-only-module Redirect only exact matching request.
--resolve-fallback-reset Clear all items provided in configuration. Redirect module requests.
--resolve-fully-specified Treats the request specified by the user as fully specified, meaning no
extensions are added and the mainFiles in directories are not resolved (This
doesn't affect requests from mainFields, aliasFields or aliases).
Expand Down

0 comments on commit e2f43c2

Please sign in to comment.