Skip to content

Commit c2d1082

Browse files
docs: use enforce post for CSS metadata (#22467)
1 parent 85a0eff commit c2d1082

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/guide/api-plugin.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ Example:
526526
function outputMetadataPlugin(): Plugin {
527527
return {
528528
name: 'output-metadata-plugin',
529+
enforce: 'post',
529530
generateBundle(_, bundle) {
530531
for (const output of Object.values(bundle)) {
531532
const css = output.viteMetadata?.importedCss

0 commit comments

Comments
 (0)