import { defineConfig } from "vite";

export default defineConfig((env) => ({
	base: "/",
	root: "./src",
	envDir: "..",
	publicDir: "../public",
	build: {
		outDir: "../dist",
		emptyOutDir: true,
		sourcemap: true
	},
	server: {
		port: 1234,
		open: false
	},
	preview: {
		port: 1234,
		open: false
	}
}));
