Initial Setup for Nile

This commit is contained in:
Dunemask 2022-09-09 16:23:24 -04:00
commit ca9280f324
36 changed files with 2668 additions and 0 deletions

24
vite.config.js Normal file
View file

@ -0,0 +1,24 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import path from "node:path";
export default () => {
return defineConfig({
host: "0.0.0.0",
port: process.env.VITE_DEV_PORT ?? 5173,
plugins: [react()],
server: {
host: "0.0.0.0",
hmr: {
protocol: process.env.VITE_DEV_PROTOCOL ?? "ws",
},
},
build: {
outDir: "./dist",
},
resolve: {
alias: {
"@": path.resolve("./src"),
},
},
});
};