mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
Switch from svite to vite + vite-plugin-svelte. (#962)
Use cross-env to set environment variables platform independently in scripts.
This commit is contained in:
parent
406d8dca25
commit
1bc04c5b42
3 changed files with 250 additions and 2044 deletions
|
@ -1,6 +1,10 @@
|
|||
module.exports = {
|
||||
import { defineConfig } from "vite";
|
||||
import { svelte } from "@sveltejs/vite-plugin-svelte";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [svelte()],
|
||||
optimizeDeps: {
|
||||
include: ["clipboard-copy", "flatpickr/dist/plugins/rangePlugin"],
|
||||
exclude: ["@sveltech/routify"],
|
||||
},
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue