This commit is contained in:
bluwy 2024-03-18 16:15:19 +08:00
parent 67d2d69587
commit 7a39704540

View File

@ -2686,9 +2686,6 @@ async function compileLightningCSS(
? !!config.build.sourcemap
: config.css?.devSourcemap,
analyzeDependencies: true,
cssModules: cssModuleRE.test(id)
? config.css?.lightningcss?.cssModules ?? true
: undefined,
})
let css = res.code.toString()