Skip to content

Commit 7f33702

Browse files
Elliott Marquezcopybara-github
authored andcommitted
docs(catalog): include hydration-entrypoints/components in build
PiperOrigin-RevId: 538700579
1 parent bc02947 commit 7f33702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

catalog/esbuild.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ const jsFolder = DEV ? 'lib' : 'build';
2020
// you want to add SSR'd files here so that you can hydrate them later with
2121
// <lit-island import="js/components/element-definition.js"></lit-island>
2222
const tsEntrypoints = [
23-
// entrypoints for hydrating SSR'd components
24-
'./src/hydration-entrypoints/*.ts',
23+
// entrypoints for hydrating lit-islands
24+
'./src/hydration-entrypoints/**/*.ts',
2525
// also include a bundle for each individual page
2626
'./src/pages/*.ts',
2727
// SSR stuff

0 commit comments

Comments
 (0)