Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/stackblitz-rolldown-wasm-binding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fixes Astro on StackBlitz and other WebContainer environments
3 changes: 3 additions & 0 deletions knip.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ export default {
// Optional peer dep: dynamically imported in config validation for the legacy
// remark/rehype pipeline. Knip flags it because it's referenced from source.
'@astrojs/markdown-remark',
// Not imported directly: pins a minimum version of Vite's rolldown dependency
// (>=1.2.10 fixes WebContainers). Remove once Vite requires it.
'rolldown',
],
},
'packages/astro-prism': {
Expand Down
1 change: 1 addition & 0 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
"package-manager-detector": "^1.6.0",
"piccolore": "^0.1.3",
"picomatch": "^4.0.4",
"rolldown": "^1.2.10",
"shiki": "^4.0.2",
"smol-toml": "^1.8.0",
"svgo": "^4.1.0",
Expand Down
147 changes: 75 additions & 72 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ minimumReleaseAgeExclude:
- '@flue/*'
- '@astrojs/*'
- '@cloudflare/*'
- rolldown
- '@rolldown/*'
- '@oxc-project/types'
# Docs smoke test (smoke/docs) installs @lunariajs/core from withastro/docs
- '@lunariajs/*'
- workerd
Expand Down
Loading