release: WRNexusJS 0.2.51

This commit is contained in:
2026-07-19 13:38:23 +05:30
parent 17dc7c1a06
commit df4c1d3e7d
203 changed files with 1713 additions and 237 deletions
+2 -2
View File
@@ -54,10 +54,10 @@ const config: AppConfig = {
// Real Tailwind v4 build. Runs once at dev-serve time (cached, re-run on a
// restart) and at `wrnexus build`. `@tailwindcss/cli` writes to stdout by
// default, so we just capture and return the final CSS string.
process: async ({ entryPath, mode }) => {
process: async ({ entryPath, appRoot, mode }) => {
const args = ["@tailwindcss/cli", "-i", entryPath!];
if (mode === "production") args.push("--minify");
return await Bun.$`bunx ${args}`.text();
return await Bun.$.cwd(appRoot)`bunx ${args}`.text();
},
},