Skip to content

Commit 7f85f94

Browse files
authored
docs: fix grammar and punctuation in loaders and optimization documentation (#8081)
1 parent 75aed0d commit 7f85f94

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/content/api/loaders.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ T> Loaders were originally designed to also work as Babel transforms. Therefore,
651651
652652
## Webpack specific properties
653653
654-
The loader interface provides all module relate information. However in rare cases you might need access to the compiler api itself.
654+
The loader interface provides all module relate information. However, in rare cases you might need access to the compiler API itself.
655655
656656
W> Please note that using these webpack specific properties will have a negative impact on your loaders compatibility.
657657

src/content/concepts/loaders.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default {
4444
};
4545
```
4646

47-
T> While in the previous examples we used a loader to load CSS files, webpack has an experimental option ([`experiments.css`](https://webpack.js.org/configuration/experiments/)) that allows Webpack to process CSS and automatically inject the styles into the webpage.
47+
T> While in the previous examples we used a loader to load CSS files, webpack has an experimental option ([`experiments.css`](https://webpack.js.org/configuration/experiments/)) that allows webpack to process CSS and automatically inject the styles into the webpage.
4848

4949
## Using Loaders
5050

src/content/configuration/optimization.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export default {
152152
};
153153
```
154154

155-
W> The `optimization.avoidEntryIife` option can negatively affect build performance, if you prioritize build performance over these optimizations, consider disabling this option.
155+
W> The `optimization.avoidEntryIife` option can negatively affect build performance. If you prioritize build performance over these optimizations, consider disabling this option.
156156

157157
## optimization.flagIncludedChunks
158158

@@ -378,7 +378,7 @@ export default {
378378
};
379379
```
380380

381-
`deterministic` option is useful for long term caching, but still results in smaller bundles compared to `hashed`. Length of the numeric value is chosen to fill a maximum of 80% of the id space. By default a minimum length of 3 digits is used when `optimization.moduleIds` is set to `deterministic`. To override the default behaviour set `optimization.moduleIds` to `false` and use the `webpack.ids.DeterministicModuleIdsPlugin`.
381+
The `deterministic` option is useful for long term caching, but still results in smaller bundles compared to `hashed`. Length of the numeric value is chosen to fill a maximum of 80% of the id space. By default a minimum length of 3 digits is used when `optimization.moduleIds` is set to `deterministic`. To override the default behaviour set `optimization.moduleIds` to `false` and use the `webpack.ids.DeterministicModuleIdsPlugin`.
382382

383383
**webpack.config.js**
384384

0 commit comments

Comments
 (0)