[ci] format
This commit is contained in:
parent
f53d97d56b
commit
57ea549e11
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ export function rollupPluginAstroBuildCSS(options: PluginOptions): VitePlugin[]
|
||||||
if (output.type === 'asset') {
|
if (output.type === 'asset') {
|
||||||
if (output.name?.endsWith('.css') && typeof output.source === 'string') {
|
if (output.name?.endsWith('.css') && typeof output.source === 'string') {
|
||||||
const cssTarget = settings.config.vite.build?.cssTarget;
|
const cssTarget = settings.config.vite.build?.cssTarget;
|
||||||
const minify = settings.config.vite.build?.minify !== false
|
const minify = settings.config.vite.build?.minify !== false;
|
||||||
const { code: minifiedCSS } = await esbuild.transform(output.source, {
|
const { code: minifiedCSS } = await esbuild.transform(output.source, {
|
||||||
loader: 'css',
|
loader: 'css',
|
||||||
minify,
|
minify,
|
||||||
|
|
Loading…
Reference in a new issue