summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2023-03-10 17:32:35 +0800
committerGravatar GitHub <noreply@github.com> 2023-03-10 17:32:35 +0800
commitabaf860af739c5e087eafed337105a89d29bc3e9 (patch)
tree440957af7356edc8b9a35f04927991c277dc0b81
parent0de08773f30cef0e131e42f2068ff56f826b41c0 (diff)
downloadastro-abaf860af739c5e087eafed337105a89d29bc3e9.tar.gz
astro-abaf860af739c5e087eafed337105a89d29bc3e9.tar.zst
astro-abaf860af739c5e087eafed337105a89d29bc3e9.zip
Add postbuild to build:ci command (#6498)
-rw-r--r--packages/astro/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/package.json b/packages/astro/package.json
index 07c621d7b..23410941c 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -93,7 +93,7 @@
"scripts": {
"prebuild": "astro-scripts prebuild --to-string \"src/runtime/server/astro-island.ts\" \"src/runtime/client/{idle,load,media,only,visible}.ts\"",
"build": "pnpm run prebuild && astro-scripts build \"src/**/*.ts\" && tsc && pnpm run postbuild",
- "build:ci": "pnpm run prebuild && astro-scripts build \"src/**/*.ts\"",
+ "build:ci": "pnpm run prebuild && astro-scripts build \"src/**/*.ts\" && pnpm run postbuild",
"dev": "astro-scripts dev --copy-wasm --prebuild \"src/runtime/server/astro-island.ts\" --prebuild \"src/runtime/client/{idle,load,media,only,visible}.ts\" \"src/**/*.ts\"",
"postbuild": "astro-scripts copy \"src/**/*.astro\" && astro-scripts copy \"src/**/*.wasm\"",
"test:unit": "mocha --exit --timeout 30000 ./test/units/**/*.test.js",