feat: use vite

This commit is contained in:
GyDi
2021-12-08 23:34:23 +08:00
parent f320d515d5
commit efc1669b3e
4 changed files with 18 additions and 15 deletions

8
vite.config.ts Normal file
View File

@@ -0,0 +1,8 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/
export default defineConfig({
root: "src",
plugins: [react()],
});