summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/cool-hats-sing.md5
-rw-r--r--packages/astro/src/runtime.ts1
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/cool-hats-sing.md b/.changeset/cool-hats-sing.md
new file mode 100644
index 000000000..c0713f00f
--- /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 a1627912b..e1770d6e9 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) {