From 071cfd33592df56ab2e32cd5a2bb6cd0b9eca385 Mon Sep 17 00:00:00 2001 From: VitaliPri Date: Mon, 2 Feb 2026 16:26:57 -0500 Subject: [PATCH] fix(preview): run build before deploy-preview to generate CSS The preview script was missing the `yarn build` step, so `build:deploy-preview` found no CSS files to inject. Fixes #631 Co-Authored-By: Claude Opus 4.5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5223f94fe..dca09754c 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "build:deploy-preview": "gulp build:deploy-preview", "build:cdn": "rimraf cdn && yarn build && node ./scripts/generate-cdn.js && webpack --config webpack.config.js", "unicodes": "node ./scripts/parse-unicodes.js", - "preview": "rimraf public dist && yarn build:deploy-preview && node ./public/preview.js", + "preview": "rimraf public dist && yarn build && yarn build:deploy-preview && node ./public/preview.js", "precommit": "lint-staged", "prettier": "prettier --write \"**/*.{scss}\"", "prepare": "husky install",