diff options
author | 2021-08-27 10:49:08 -0700 | |
---|---|---|
committer | 2021-08-27 13:49:08 -0400 | |
commit | 290f203279eecd590371412aad637a5a673ce604 (patch) | |
tree | 9f46bcef6420048e2669238cca190941f17f4f26 | |
parent | 3ab3115fbec9ed7f27e9a80d8e6357622b2b5fe3 (diff) | |
download | astro-290f203279eecd590371412aad637a5a673ce604.tar.gz astro-290f203279eecd590371412aad637a5a673ce604.tar.zst astro-290f203279eecd590371412aad637a5a673ce604.zip |
Fix knownEntrypoint warning for Fix __astro_hoisted_scripts.js (#1251)
* Add new internal module to the knownEntrypoints
* Adds a changeset
-rw-r--r-- | .changeset/cool-hats-sing.md | 5 | ||||
-rw-r--r-- | packages/astro/src/runtime.ts | 1 |
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) { |