| 123456789101112131415161718192021 |
- import { defineConfig } from "vite"
- import solidPlugin from "vite-plugin-solid"
- import tailwindcss from "@tailwindcss/vite"
- import path from "path"
- export default defineConfig({
- resolve: {
- alias: {
- "@": path.resolve(__dirname, "./src"),
- },
- },
- plugins: [tailwindcss(), solidPlugin()] as any,
- server: {
- host: "0.0.0.0",
- allowedHosts: true,
- port: 3000,
- },
- build: {
- target: "esnext",
- },
- })
|