diff --git a/vite.config.js b/vite.config.js index f91e29e46..fd52da010 100644 --- a/vite.config.js +++ b/vite.config.js @@ -244,7 +244,7 @@ export default defineConfig(({ command, mode }) => { resolve: { alias: { '@map': resolve(__dirname, 'library') }, }, - // COLD `bun run dev` (rega, all 40 dev pages): the first load of every page got "504 (Outdated Optimize + // COLD `bun run dev` (measured on all 40 dev pages): the first load of every page got "504 (Outdated Optimize // Dep)" on vue.js / pinia.js, because Vite discovered them mid-request, re-optimised, and invalidated the // page before it mounted. Naming the bare packages the leaves import makes Vite pre-bundle them at // startup. These are EVERY bare runtime import in library/ and plugin-designs/ (vue, vue-i18n, pinia)