mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
chore(examples): bump deps [ci skip]
This commit is contained in:
parent
035c563a26
commit
e3f98cde4b
15 changed files with 1860 additions and 1857 deletions
|
@ -1,8 +1,11 @@
|
|||
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
||||
import { defineConfig } from "vite";
|
||||
import { optimizeImports } from "carbon-preprocess-svelte";
|
||||
|
||||
export default defineConfig(({ mode }) => ({
|
||||
plugins: [svelte({ preprocess: [optimizeImports()] })],
|
||||
build: { minify: mode === "production" },
|
||||
}));
|
||||
/** @type {import('vite').UserConfig} */
|
||||
export default {
|
||||
plugins: [
|
||||
svelte({
|
||||
preprocess: [optimizeImports()],
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue