Skip to content

Commit c8d1cbd

Browse files
authored
docs: remove obselete webpack v4 notes (#7155)
1 parent a6d818c commit c8d1cbd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/content/api/stats.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ Each `assets` object represents an `output` file emitted from the compilation. T
8383
}
8484
```
8585

86-
T> Asset's `info` property is available since webpack v4.40.0
87-
8886
### Chunk Objects
8987

9088
Each `chunks` object represents a group of modules known as a [chunk](/glossary/#c). Each object follows the following structure:

src/content/configuration/module.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ Include all modules that pass test assertion. If you supply a `Rule.test` option
11341134

11351135
Possible values: `'javascript/auto' | 'javascript/dynamic' | 'javascript/esm' | 'json' | 'webassembly/sync' | 'webassembly/async' | 'asset' | 'asset/source' | 'asset/resource' | 'asset/inline' | 'css/auto'`
11361136

1137-
`Rule.type` sets the type for a matching module. This prevents defaultRules and their default importing behaviors from occurring. For example, if you want to load a `.json` file through a custom loader, you'd need to set the `type` to `javascript/auto` to bypass webpack's built-in json importing. (See [v4.0 changelog](https://github.com/webpack/webpack/releases/tag/v4.0.0) for more details)
1137+
`Rule.type` sets the type for a matching module. This prevents defaultRules and their default importing behaviors from occurring. For example, if you want to load a `.json` file through a custom loader, you'd need to set the `type` to `javascript/auto` to bypass webpack's built-in json importing.
11381138

11391139
**webpack.config.js**
11401140

0 commit comments

Comments
 (0)