Link bookmarking tool built on aproto (early alpha)
at main 620 B view raw
1import { defineConfig } from "@solidjs/start/config" 2import tailwindcss from "@tailwindcss/vite" 3 4import { dirname, resolve } from "node:path" 5import { fileURLToPath } from "node:url" 6 7const __filename = fileURLToPath(import.meta.url) 8const __dirname = dirname(__filename) 9 10export default defineConfig({ 11 middleware: "src/middleware/protected.ts", 12 vite: { 13 plugins: [tailwindcss()], 14 build: { target: "esnext" }, 15 resolve: { 16 alias: { 17 "@": resolve(__dirname, "./src"), 18 }, 19 }, 20 }, 21 server: { esbuild: { options: { target: "esnext" } } }, 22})