diff --git a/packages/astro/src/core/app/dev.ts b/packages/astro/src/core/app/dev.ts index 303da2c78..a59884a97 100644 --- a/packages/astro/src/core/app/dev.ts +++ b/packages/astro/src/core/app/dev.ts @@ -50,11 +50,15 @@ export class DevApp extends App { }, pageMap: new Map(), renderers: [], - entryModules: new Proxy({}, { - get(target, key) { - return key; - } - }), + // Temporary hack + entryModules: new Proxy({}, { + has() { + return true; + }, + get(target, key) { + return key; + } + }), assets: new Set(), propagation: new Map(), trailingSlash: userConfig?.trailingSlash ?? 'ignore'