init
This commit is contained in:
21
vite.config.ts
Normal file
21
vite.config.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react-swc";
|
||||
import path from "path";
|
||||
import basicSsl from "@vitejs/plugin-basic-ssl";
|
||||
export default defineConfig({
|
||||
// plugins: [react()],
|
||||
plugins: [react(), basicSsl()],
|
||||
server: {
|
||||
https: {},
|
||||
port: 3000,
|
||||
host: "0.0.0.0",
|
||||
open: true,
|
||||
},
|
||||
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
"~": "/src",
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user