We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
optimizeCss
1 parent a1d2193 commit 95fb9e6Copy full SHA for 95fb9e6
fotobox/frontend-app/vite.config.js
@@ -1,6 +1,12 @@
1
import { sveltekit } from '@sveltejs/kit/vite';
2
import { defineConfig } from 'vite';
3
+import { optimizeCss } from 'carbon-preprocess-svelte';
4
5
export default defineConfig({
- plugins: [sveltekit()]
6
+ plugins: [
7
+ sveltekit(),
8
+
9
+ // Optimize CSS from `carbon-components-svelte` when building for production.
10
+ optimizeCss()
11
+ ]
12
});
0 commit comments