init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { fileURLToPath, URL } from "node:url";
|
||||
import { defineConfig } from "vite";
|
||||
import solidPlugin from "vite-plugin-solid";
|
||||
|
||||
export default defineConfig({
|
||||
server: {
|
||||
host: "localhost",
|
||||
port: 3080,
|
||||
hmr: false,
|
||||
},
|
||||
build: { target: "esnext" },
|
||||
plugins: [solidPlugin()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"#/": fileURLToPath(new URL("./", import.meta.url)),
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user