fix: CSS missing after build (#3217)

closes #3216
pull/3219/head
翠 / green 1 year ago committed by GitHub
parent 2c6a7cbd01
commit da73b58c79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -346,6 +346,10 @@ export async function createVitePressPlugin(
bundle[name + '-lean'] = {
...chunk,
fileName: chunk.fileName.replace(/\.js$/, '.lean.js'),
preliminaryFileName: chunk.preliminaryFileName.replace(
/\.js$/,
'.lean.js'
),
code: chunk.code.replace(staticStripRE, `""`)
}

Loading…
Cancel
Save