diff --git a/.changeset/cool-hats-sing.md b/.changeset/cool-hats-sing.md new file mode 100644 index 0000000000..c0713f00fc --- /dev/null +++ b/.changeset/cool-hats-sing.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fix knownEntrypoint warning for \_\_astro_hoisted_scripts.js diff --git a/packages/astro/src/runtime.ts b/packages/astro/src/runtime.ts index a1627912b8..e1770d6e90 100644 --- a/packages/astro/src/runtime.ts +++ b/packages/astro/src/runtime.ts @@ -301,6 +301,7 @@ async function createSnowpack(astroConfig: AstroConfig, options: CreateSnowpackO 'astro/dist/internal/element-registry.js', 'astro/dist/internal/fetch-content.js', 'astro/dist/internal/__astro_slot.js', + 'astro/dist/internal/__astro_hoisted_scripts.js', 'prismjs', ]; for (const renderer of rendererInstances) {