From dfc8f73d2bc6e81d6361360736cb28acc3b7afd3 Mon Sep 17 00:00:00 2001 From: Edmund Hung Date: Sun, 28 Apr 2024 22:58:12 +0200 Subject: [PATCH] chore(playground): ensure css is built before remix build (#614) --- playground/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playground/package.json b/playground/package.json index 9bd3d5bd..8c44d044 100644 --- a/playground/package.json +++ b/playground/package.json @@ -3,7 +3,8 @@ "private": true, "sideEffects": false, "scripts": { - "start": "pnpm run \"/^build:.*/\" && remix-serve build", + "start": "pnpm run build && remix-serve build", + "build": "pnpm run build:style && pnpm run build:remix", "build:style": "cross-env NODE_ENV=production tailwindcss -i ./styles.css -o ./app/styles.css --minify", "build:remix": "remix build", "dev": "pnpm run \"/^dev:.*/\"",