Update examples, update README documentation (#772)

* chore(examples): update example set-ups

* chore: update readme docs
This commit is contained in:
Eric 2021-07-29 15:51:34 -07:00 committed by GitHub
commit 0315a17d4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
97 changed files with 6778 additions and 15821 deletions

View file

@ -0,0 +1,10 @@
import { svelte } from "@sveltejs/vite-plugin-svelte";
import { defineConfig } from "vite";
import { optimizeImports } from "carbon-preprocess-svelte";
export default defineConfig(({ mode }) => {
return {
plugins: [svelte({ preprocess: [optimizeImports()] })],
build: { minify: mode === "production" },
};
});