diff --git a/astro.config.ts b/astro.config.ts index 509b117..f6250bd 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -1,5 +1,5 @@ import svelte from "@astrojs/svelte"; -import { optimizeImports } from "carbon-preprocess-svelte"; +import { optimizeCss, optimizeImports } from "carbon-preprocess-svelte"; import { defineConfig } from "astro/config"; import pkg from "./package.json" assert { type: "json" }; @@ -18,6 +18,7 @@ export default defineConfig({ prefetchAll: true, }, vite: { + plugins: [optimizeCss()], optimizeDeps: { exclude: ["carbon-components-svelte"], }, diff --git a/bun.lockb b/bun.lockb index 26cff23..a9d5b13 100755 Binary files a/bun.lockb and b/bun.lockb differ