chore(deps): upgrade tailwind to v4 via vite plugin
Replace @astrojs/tailwind with @tailwindcss/vite in the Astro config and lockfile to adopt Tailwind CSS v4 and simplify the build setup. Also update Markdown site content with current SpaghetAI/MarvinBlade infrastructure details.
This commit is contained in:
1 parent
ac545c4668
commit
3fef5d378e
26 files changed
+1822
-3548
No files matched your search
@@ -0,0 +1,24 @@
|
||||
// vitest.config.ts
|
||||
import { defineConfig } from "vitest/config"
|
||||
import { fileURLToPath } from "node:url"
|
||||
|
||||
// Mirrors the tsconfig path aliases so modules under test can import via @lib/...
|
||||
const src = fileURLToPath(new URL("./src", import.meta.url))
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
"@lib": `${src}/lib`,
|
||||
"@components": `${src}/components`,
|
||||
"@layouts": `${src}/layouts`,
|
||||
"@pages": `${src}/pages`,
|
||||
"@styles": `${src}/styles`,
|
||||
"@consts": `${src}/consts.ts`,
|
||||
"@types": `${src}/types.ts`,
|
||||
},
|
||||
},
|
||||
test: {
|
||||
environment: "node",
|
||||
include: ["src/**/__tests__/**/*.test.ts", "src/**/*.test.ts"],
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user