Migrated from Parcel to Vite

This commit is contained in:
2022-06-08 11:36:03 +02:00
parent 37d7551cd9
commit aa95cd7abc
6 changed files with 999 additions and 1422 deletions

17
vite.config.ts Normal file
View File

@@ -0,0 +1,17 @@
import ViteYaml from '@modyfi/vite-plugin-yaml';
import react from "@vitejs/plugin-react";
import { resolve } from 'path';
const config = {
plugins: [
ViteYaml(),
react(),
],
root: './frontend',
build: {
emptyOutDir: true,
outDir: resolve(__dirname, 'dist', 'frontend'),
}
}
export default config