From ca88c3f1460d30e6a376518cb71a557bd86ab64c Mon Sep 17 00:00:00 2001 From: Adriano Ferrari Date: Mon, 11 Mar 2024 21:24:45 -0400 Subject: [PATCH] fix tailwindcss issues with newbuild process --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 21c392de..aafc75bd 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "test:web": "playwright test tests/web", "test:firefox": "cypress run --browser firefox", "build": "webpack", - "newbuild": "bun esbuild.mjs && cp -r src/static/. web/ && elm-watch make --optimize && bun run minifyelm", + "newbuild": "bun esbuild.mjs && cp -r src/static/. web/ && bunx tailwindcss -i src/static/style.css -o web/style.css && elm-watch make --optimize && bun run minifyelm", "minifyjs": "bunx esbuild web/doc.js --minify --bundle --outfile=web/doc.js --allow-overwrite", "minifyelm": "bunx uglifyjs web/elm.js --compress 'pure_funcs=[F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9],pure_getters,keep_fargs=false,unsafe_comps,unsafe' | bunx uglifyjs --mangle --output web/elm.js", "newwatch": "bunx run-pty % bun run watch:static % elm-watch hot % bun run watch:js",