introduced millionjs compiler

This commit is contained in:
2024-01-16 13:24:08 +01:00
parent 3d9a7e9810
commit c78b3ae174
3 changed files with 963 additions and 273 deletions

View File

@@ -1,10 +1,12 @@
import react from '@vitejs/plugin-react-swc'
import million from 'million/compiler'
import ViteYaml from '@modyfi/vite-plugin-yaml'
import { defineConfig } from 'vite'
export default defineConfig(() => {
return {
plugins: [
million.vite({ auto: true }),
react(),
ViteYaml(),
],