Skip to content
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/loaders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ T> Loaders were originally designed to also work as Babel transforms. Therefore,

## Webpack specific properties

The loader interface provides all module relate information. However in rare cases you might need access to the compiler api itself.
The loader interface provides all module relate information. However, in rare cases you might need access to the compiler API itself.

W> Please note that using these webpack specific properties will have a negative impact on your loaders compatibility.

Expand Down
2 changes: 1 addition & 1 deletion src/content/concepts/loaders.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default {
};
```

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.
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.

## Using Loaders

Expand Down
4 changes: 2 additions & 2 deletions src/content/configuration/optimization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default {
};
```

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

## optimization.flagIncludedChunks

Expand Down Expand Up @@ -378,7 +378,7 @@ export default {
};
```

`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`.
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`.

**webpack.config.js**

Expand Down
Loading