Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e6b4eda

Browse files
docs(Configuration): Replace whitelist with allowlist where possible (#6486)
* docs: replace `whitelist` with `allowlist` * docs: add GitHub username to contributors list
1 parent e371d6a commit e6b4eda

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎src/content/configuration/dev-server.mdx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ contributors:
2121
- anikethsaha
2222
- snitin315
2323
- Biki-das
24+
- SaulSilver
2425
---
2526

2627
[webpack-dev-server](https://github.com/webpack/webpack-dev-server) can be used to quickly develop an application. See the [development guide](/guides/development/) to get started.
@@ -96,7 +97,7 @@ See the related [API documentation for `webpack-dev-server`](/api/webpack-dev-se
9697

9798
`'auto' | 'all'` `[string]`
9899

99-
This option allows you to whitelist services that are allowed to access the dev server.
100+
This option allows you to allowlist services that are allowed to access the dev server.
100101

101102
**webpack.config.js**
102103

‎src/content/configuration/externals.mdx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ contributors:
1818
- pranshuchittora
1919
- kinetifex
2020
- anshumanv
21+
- SaulSilver
2122
---
2223

2324
The `externals` configuration option provides a way of excluding dependencies from the output bundles. Instead, the created bundle relies on that dependency to be present in the consumer's (any end-user application) environment. This feature is typically most useful to **library developers**, however there are a variety of applications for it.
@@ -164,7 +165,7 @@ This syntax is used to describe all the possible ways that an external library c
164165
- `function ({ context, request, contextInfo, getResolve }, callback)`
165166
- `function ({ context, request, contextInfo, getResolve }) => promise` <Badge text='5.15.0+' />
166167

167-
It might be useful to define your own function to control the behavior of what you want to externalize from webpack. [webpack-node-externals](https://www.npmjs.com/package/webpack-node-externals), for example, excludes all modules from the `node_modules` directory and provides options to whitelist packages.
168+
It might be useful to define your own function to control the behavior of what you want to externalize from webpack. [webpack-node-externals](https://www.npmjs.com/package/webpack-node-externals), for example, excludes all modules from the `node_modules` directory and provides options to allowlist packages.
168169

169170
Here're arguments the function can receive:
170171

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /