@escape-game-over/atlas 0.1.63 → 0.1.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@escape-game-over/atlas",
3
- "version": "0.1.63",
3
+ "version": "0.1.64",
4
4
  "type": "module",
5
5
  "description": "Typed, data-driven machinery for static multi-locale, multi-deployment Astro sites.",
6
6
  "private": false,
@@ -287,7 +287,20 @@ export function siteRoutes(options: SiteRoutesOptions): AstroIntegration {
287
287
  // plugin prints as noise.
288
288
  updateConfig({
289
289
  ...config,
290
- vite: { plugins: [noClientRouter()] },
290
+ vite: {
291
+ plugins: [noClientRouter()],
292
+ // Atlas ships TypeScript source. Pre-bundled, `astro
293
+ // dev` finds the client entry late, re-bundles it and
294
+ // serves pages a stale copy (504 Outdated Optimize Dep),
295
+ // so every client script fails to load. Served as
296
+ // source, it behaves like the project's own files.
297
+ optimizeDeps: {
298
+ exclude: [
299
+ "@escape-game-over/atlas",
300
+ "@escape-game-over/atlas/client",
301
+ ],
302
+ },
303
+ },
291
304
  });
292
305
  // Said out loud: a setting changed from under you is worth a
293
306
  // line, and reading `astro.config.ts` would otherwise leave you