Skip to content

Commit

Permalink
feat: modules.mode callback function
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-Bernardito committed Apr 6, 2020
1 parent 813a03b commit 92b7809
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -574,11 +574,9 @@ module.exports = {

###### `Function`

Allows set different values modules.mode based on filename
Allows set different values for the `mode` option based on a filename

Possible return values:

`local`, `global`, `pure`
Possible return values - `local`, `global` and `pure`

**webpack.config.js**

Expand Down

0 comments on commit 92b7809

Please sign in to comment.