Skip to content

Commit c194218

Browse files
committed
build: apply optimizeCss plugin
1 parent 8ac0078 commit c194218

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

astro.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import svelte from "@astrojs/svelte";
2-
import { optimizeImports } from "carbon-preprocess-svelte";
2+
import { optimizeCss, optimizeImports } from "carbon-preprocess-svelte";
33
import { defineConfig } from "astro/config";
44
import pkg from "./package.json" assert { type: "json" };
55

@@ -18,6 +18,7 @@ export default defineConfig({
1818
prefetchAll: true,
1919
},
2020
vite: {
21+
plugins: [optimizeCss()],
2122
optimizeDeps: {
2223
exclude: ["carbon-components-svelte"],
2324
},

bun.lockb

-13.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)