Skip to content

docs: fix typos in content/ #5320

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 1 commit into from
Aug 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/api/hot-module-replacement.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The `errorHandler` is fired when the evaluation of this module (or dependencies)
- `moduleId`: the current module id.
- `module`: the current module instance.
- `module.hot`: allow to use the HMR API of the errored module instance. A common scenario is to self accept it again. It also makes sense to add a dispose handler to pass data along. Note that the errored module might be already partially executed, so make sure to not get into a inconsistent state. You can use `module.hot.data` to store partial state.
- `module.exports`: can be overriden, but be careful since property names might be mangled in production mode.
- `module.exports`: can be overridden, but be careful since property names might be mangled in production mode.

### `decline`

Expand Down
2 changes: 1 addition & 1 deletion src/content/awesome-webpack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ _People passionate about Webpack (In no particular order)_
- [SystemJS Webpack](https://github.com/guybedford/systemjs-webpack-plugin) - Webpack bundling for SystemJS. -- _Maintainer_: `Guy Bedford` [![Github][githubicon]](https://github.com/guybedford) [![Twitter][twittericon]](https://twitter.com/guybedford)
- [Gulp Webpack Stream](https://github.com/shama/webpack-stream) - Run webpack through a stream interface. -- _Maintainer_: `Kyle Robinson Young` [![Github][githubicon]](https://github.com/shama) [![Twitter][twittericon]](https://twitter.com/shamakry)
- [Webpack Blocks](https://github.com/andywer/webpack-blocks) - Configure webpack using functional feature blocks. -- _Maintainer_: `Andy Wermke` [![Github][githubicon]](https://github.com/andywer) [![Twitter][twittericon]](https://twitter.com/andywritescode)
- [Webpacker](https://github.com/rails/webpacker) - Offical webpack gem for integration into ruby on rails projects. -- _Maintainer_: `Rails` [![Github][githubicon]](https://github.com/rails)
- [Webpacker](https://github.com/rails/webpacker) - Official webpack gem for integration into ruby on rails projects. -- _Maintainer_: `Rails` [![Github][githubicon]](https://github.com/rails)
- [WebpackAspnetMiddleware](https://github.com/frankwallis/WebpackAspnetMiddleware) - Development middleware for ASP.NET 5. -- _Maintainer_: `Frank Wallis` [![Github][githubicon]](https://github.com/frankwallis)
- [Consul Key/Value Webpack](https://github.com/marlonmleite/consul-env-webpack-plugin): Compiles environment variables into your bundle via [Consul KV-store](https://www.consul.io/api/kv.html). -- _Maintainer_: `Marlon Maxwel` [![Github][githubicon]](https://github.com/marlonmleite)

Expand Down
2 changes: 1 addition & 1 deletion src/content/configuration/experiments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Compile entrypoints and dynamic `import`s only when they are in use. It can be u

`boolean`

Once enabled, webpack will ouput ECMAScript module syntax whenever possible. For instance, `import()` to load chunks, ESM exports to expose chunk data, among others.
Once enabled, webpack will output ECMAScript module syntax whenever possible. For instance, `import()` to load chunks, ESM exports to expose chunk data, among others.

```js
module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion src/content/configuration/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ module.exports = {
minChunks: 1,
// minimum number of chunks a module must be in
enforceSizeThreshold: 100000,
// ignore when following criterias when size of modules
// ignore when following criteria when size of modules
// is above this threshold
minSize: 20000,
// size of modules must be above this threshold
Expand Down