Upgrade from tailwind v3 to v4

Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-03-02 09:24:05 +01:00
parent cf12d3966e
commit 45066a0095
26 changed files with 695 additions and 917 deletions

View File

@@ -6,7 +6,8 @@ import * as esbuild from "esbuild";
import fs from "node:fs/promises";
import http from "node:http";
import path from "node:path";
import tailwindcss from "tailwindcss";
import tailwindcssPlugin from "@tailwindcss/postcss";
async function copyRecursive(src, dest) {
await fs.mkdir(dest, { recursive: true });
@@ -147,7 +148,7 @@ const defaultOptions = {
relayPlugin,
hotReloading,
postCssPlugin({
plugins: [tailwindcss(), autoprefixer()],
plugins: [tailwindcssPlugin(), autoprefixer()],
}),
],
define: {