From d03dfb0641b97e3045ac1e5239411348c79cfaed Mon Sep 17 00:00:00 2001 From: Laupetin Date: Fri, 5 Jul 2024 18:43:43 +0200 Subject: [PATCH] Hydrate content before building --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5a401b24f..f2d1842d9 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "prepublishOnly": "npm run build:bin", "test": "jest --config=$(pwd)/../../jest.config.js", "start": "astro dev", - "build": "astro check --minimumSeverity error && astro build", + "build": "npm run scripts:hydrate-content && astro check --minimumSeverity error && astro build", "build:cd": "node scripts/build-ci.js && astro check --minimumSeverity error && astro build", "preview": "astro preview", "astro": "astro",