mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
18 lines
416 B
TypeScript
18 lines
416 B
TypeScript
import path from "path";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
define: {
|
|
"import.meta.env.VITE_BUILD_TIME": JSON.stringify(Date.now()),
|
|
},
|
|
});
|