Skip to content

Commit

Permalink
Keep discoveredScripts
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed May 2, 2024
1 parent 9d90c4c commit 228063e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/astro/src/core/build/plugins/plugin-content.ts
Expand Up @@ -249,6 +249,7 @@ function vitePluginContent(
...oldManifest.clientEntries,
...internals.discoveredHydratedComponents.keys(),
...internals.discoveredClientOnlyComponents.keys(),
...internals.discoveredScripts,
]);
// Likewise, these are server modules that might not be referenced
// once the cached items are excluded from the build process
Expand Down

0 comments on commit 228063e

Please sign in to comment.