Skip to content

Commit

Permalink
docs(config): fix defaults in node (#1537)
Browse files Browse the repository at this point in the history
Per the following file, the default value of `node.__filename` 
and `node.__dirname` are `"mock"`, not `true`:

https://github.com/webpack/webpack/blob/aaa6eea68f42517ac8af0f4aa454951cddfcef62/lib/WebpackOptionsDefaulter.js#L77
  • Loading branch information
mcav authored and skipjack committed Aug 25, 2017
1 parent afa690d commit 39cc0e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/configuration/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ See [the source](https://github.com/webpack/webpack/blob/master/buildin/global.j

`boolean | "mock"`

Default: `true`
Default: `"mock"`

Options:

Expand All @@ -87,7 +87,7 @@ Options:

`boolean | "mock"`

Default: `true`
Default: `"mock"`

Options:

Expand Down

0 comments on commit 39cc0e2

Please sign in to comment.