Skip to content
Merged
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
8 changes: 8 additions & 0 deletions src/content/configuration/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ module.exports = {
```


## `output.charset`

`boolean = true`

Tells webpack to add `charset="utf-8"` to the HTML `<script>` tag.

T> Although `charset` attribute for `<script>` tag was [deprecated](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#Deprecated_attributes), webpack still adds it by default for compatibility with non-modern browsers.

## `output.chunkFilename`

`string = '[id].js'`
Expand Down