mirror of
https://github.com/shishantbiswas/bknd-examples.git
synced 2026-03-01 04:31:16 +00:00
initial commit
This commit is contained in:
23
app.config.ts
Normal file
23
app.config.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { defineConfig } from "@solidjs/start/config";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { type InlineConfig } from "vite";
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
||||
const app = defineConfig({
|
||||
middleware: "src/middleware/index.ts",
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
} as InlineConfig,
|
||||
});
|
||||
|
||||
|
||||
export default app;
|
||||
Reference in New Issue
Block a user