summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.changeset/wise-months-run.md5
-rw-r--r--packages/astro/src/runtime.ts8
2 files changed, 12 insertions, 1 deletions
diff --git a/.changeset/wise-months-run.md b/.changeset/wise-months-run.md
new file mode 100644
index 000000000..626d8ba3e
--- /dev/null
+++ b/.changeset/wise-months-run.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fixes warnings for Astro internals for fetch-content and slots
diff --git a/packages/astro/src/runtime.ts b/packages/astro/src/runtime.ts
index 8103d4bb9..03a4f3226 100644
--- a/packages/astro/src/runtime.ts
+++ b/packages/astro/src/runtime.ts
@@ -348,7 +348,13 @@ async function createSnowpack(astroConfig: AstroConfig, options: CreateSnowpackO
// Make sure that Snowpack builds our renderer plugins
const rendererInstances = await configManager.buildRendererInstances();
- const knownEntrypoints: string[] = ['astro/dist/internal/__astro_component.js', 'astro/dist/internal/element-registry.js'];
+ const knownEntrypoints: string[] = [
+ 'astro/dist/internal/__astro_component.js',
+ 'astro/dist/internal/element-registry.js',
+ 'astro/dist/internal/fetch-content.js',
+ 'astro/dist/internal/__astro_slot.js',
+ 'prismjs'
+ ];
for (const renderer of rendererInstances) {
knownEntrypoints.push(renderer.server);
if (renderer.client) {