Skip to content

docs(config/node): add boolean to the type #3050

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 27, 2019
Merged

docs(config/node): add boolean to the type #3050

merged 2 commits into from
May 27, 2019

Conversation

foolip
Copy link
Contributor

@foolip foolip commented May 17, 2019

Follow up for #1317.

describe your changes...

  • Read and sign the CLA. PRs that haven't signed it won't be accepted.
  • Make sure your PR complies with the writer's guide.
  • Review the diff carefully as sometimes this can reveal issues.
  • Remove these instructions from your PR as they are for your eyes only.

@netlify
Copy link

netlify bot commented May 17, 2019

Preview is ready

Built with commit c327877

https://deploy-preview-3050--webpackjsorg-netlify.netlify.com

@@ -16,7 +16,7 @@ This feature is provided by webpack's internal [`NodeStuffPlugin`](https://githu

## `node`

`object`
`boolean | object`

This is an object where each property is the name of a Node global or module and each value may be one of the following...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update this too since it can accept bool :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The documentation of the false value is at the end:

Since webpack 3.0.0, the node option may be set to false to completely turn off the NodeStuffPlugin and NodeSourcePlugin plugins.

Would you like me to put that up front instead?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, missed that one, this looks good! ✨

@EugeneHlushko EugeneHlushko merged commit 56ccc3b into webpack:master May 27, 2019
@EugeneHlushko
Copy link
Member

Thanks

@foolip foolip deleted the patch-1 branch May 27, 2019 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants