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.
optimizeImports
1 parent 130412a commit 3a41d68Copy full SHA for 3a41d68
fotobox/frontend-app/svelte.config.js
@@ -1,7 +1,12 @@
1
import adapter from '@sveltejs/adapter-node';
2
+import { optimizeImports } from 'carbon-preprocess-svelte';
3
4
/** @type {import('@sveltejs/kit').Config} */
5
const config = {
6
+ preprocess: [
7
+ // Optimize Carbon imports for faster development and build times.
8
+ optimizeImports()
9
+ ],
10
kit: {
11
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
12
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
0 commit comments