Skip to content

Commit ebda040

Browse files
authored
docs: add output.cssFilename & output.cssChunkFilename (#7146)
1 parent 3beb903 commit ebda040

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/content/configuration/output.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,22 @@ Tells webpack to enable [cross-origin](https://developer.mozilla.org/en/docs/Web
330330
- `'anonymous'` - Enable cross-origin loading **without credentials**
331331
- `'use-credentials'` - Enable cross-origin loading **with credentials**
332332

333+
## output.cssChunkFilename
334+
335+
`string` `function (pathData, assetInfo) => string`
336+
337+
This option determines the name of non-initial CSS output files on disk. See [`output.filename`](#outputfilename) option for details on the possible values.
338+
339+
You **must not** specify an absolute path here. However, feel free to include folders separated by `'/'`. This specified path combines with the [`output.path`](#outputpath) value to pinpoint the location on the disk.
340+
341+
## output.cssFilename
342+
343+
`string` `function (pathData, assetInfo) => string`
344+
345+
This option determines the name of CSS output files on disk. See [`output.filename`](#outputfilename) option for details on the possible values.
346+
347+
You **must not** specify an absolute path here. However, feel free to include folders separated by `'/'`. This specified path combines with the [`output.path`](#outputpath) value to pinpoint the location on the disk.
348+
333349
## output.devtoolFallbackModuleFilenameTemplate
334350

335351
`string` `function (info)`

0 commit comments

Comments
 (0)