Update Astro config to fix builds#883
Conversation
to fix Astro build issues
There was a problem hiding this comment.
Pull request overview
Updates Astro configuration and related dependencies to address build issues, alongside a routine refresh of cached Google Maps stats artifacts.
Changes:
- Remove
experimental.preserveScriptOrderfromastro.config.ts. - Refresh cached Google Maps “lastUpdated” timestamps in TS + JSON.
- Update
package-lock.jsonwith newer versions of Astro/Vite/ecosystem dependencies.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
astro.config.ts |
Removes an experimental Astro config flag. |
package-lock.json |
Updates locked dependency graph (Astro/Vite/Tailwind/ESLint/etc.). |
src/utils/googleMapsCache.ts |
Regenerates cached stats timestamp for the TS cache export. |
src/data/google-maps-stats.json |
Regenerates cached stats timestamp for the JSON data source. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| optimizeDeps: { | ||
| exclude: ["@resvg/resvg-js"], | ||
| }, | ||
| }, | ||
| experimental: { | ||
| preserveScriptOrder: true, | ||
| }, | ||
| }); |
There was a problem hiding this comment.
The PR title/description says this is an Astro config change to fix builds, but the diff also includes a large dependency/lockfile update and Google Maps stats cache refresh. Please update the PR description to reflect the dependency changes (or split into separate PRs) so reviewers can assess build-impacting version bumps independently.
Update Astro build issue.