Initial commit

This commit is contained in:
Micha Albert 2024-07-26 08:54:39 -07:00
commit 5ad56fac3f
No known key found for this signature in database
GPG key ID: 33149159A417BBCE
21 changed files with 808 additions and 0 deletions

View file

@ -0,0 +1,18 @@
import { defineConfig } from 'vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';
import { viteSingleFile } from 'vite-plugin-singlefile';
export default defineConfig(({ command }) => ({
plugins: [
svelte({
/* plugin options */
}),
command === 'build' &&
viteSingleFile({
removeViteModuleLoader: true
})
],
build: {
minify: true
}
}));