Skip to content

Commit

Permalink
fix(#115): do not include vendor chunk in hydrateBindings
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Feb 24, 2021
1 parent e0a784a commit 8add7bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/microsite/src/cli/microsite-build.ts
Expand Up @@ -411,7 +411,7 @@ async function bundlePagesForSSR(paths: string[]) {
)) {
if (
file.startsWith("_hydrate/") &&
!(file.endsWith("_vendor.js") || file.endsWith("_static_shared.js"))
!(file.endsWith("_vendor/index.js") || file.endsWith("_static_shared.js"))
) {
hydrateBindings = Object.assign(hydrateBindings, {
[file]: exports,
Expand Down

0 comments on commit 8add7bf

Please sign in to comment.