Fix knownEntrypoint warning for Fix __astro_hoisted_scripts.js (#1251)

* Add new internal module to the knownEntrypoints

* Adds a changeset
This commit is contained in:
Matthew Phillips 2021-08-27 10:49:08 -07:00 committed by GitHub
parent 3ab3115fbe
commit 290f203279
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Fix knownEntrypoint warning for \_\_astro_hoisted_scripts.js

View file

@ -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) {