File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
packages/vite/src/node/plugins Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -973,18 +973,18 @@ export function cssPostPlugin(config: ResolvedConfig): Plugin {
973
973
}
974
974
return null
975
975
} ,
976
- }
977
- : { } ) ,
978
976
979
- augmentChunkHash ( chunk ) {
980
- if ( chunk . viteMetadata ?. importedCss . size ) {
981
- let hash = ''
982
- for ( const id of chunk . viteMetadata . importedCss ) {
983
- hash += id
977
+ augmentChunkHash ( chunk ) {
978
+ if ( chunk . viteMetadata ?. importedCss . size ) {
979
+ let hash = ''
980
+ for ( const id of chunk . viteMetadata . importedCss ) {
981
+ hash += id
982
+ }
983
+ return hash
984
+ }
985
+ } ,
984
986
}
985
- return hash
986
- }
987
- } ,
987
+ : { } ) ,
988
988
989
989
async generateBundle ( opts , bundle ) {
990
990
// to avoid emitting duplicate assets for modern build and legacy build
You can’t perform that action at this time.
0 commit comments