diff --git a/package.json b/package.json index c7036a7761..73d20185d4 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "watch-js-main": "nodemon --watch js/src/ --ext js --exec \"npm-run-all js-lint js-compile\"", "watch-js-docs": "nodemon --watch site/assets/js/ --ext js --exec \"npm run js-lint\"", "astro-dev": "astro dev --root site-new", - "astro-build": "astro build --root site-new", + "astro-build": "astro build --root site-new && rm -rf _site && cp -r site-new/dist _site", "astro-preview": "astro preview --root site-new", "astro-lint": "prettier --config site-new/.prettierrc.json -c --cache site-new && astro check --root site-new && tsc -p site-new --noEmit" },