Skip to content

Commit 668598c

Browse files
authored
Add note about static tag aliasing for lit-all bundle (#1295)
1 parent 493860b commit 668598c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/lit-dev-content/site/docs/v2/getting-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ are two types of bundles:
9393
<code>all</code> exports everything in <code>core</code> plus
9494
<a href="https://github.com/lit/lit/blob/main/packages/lit/src/index.all.ts">
9595
most other modules in <code>lit</code></a>.
96+
<br>
97+
Note that <code>html</code> and <code>svg</code> exports from <code>lit/static-html.js</code> are aliased to <code>staticHtml</code> and <code>staticSvg</code>, respectively, to avoid collision.
9698
</dd>
9799
</dd>
98100
</dl>

packages/lit-dev-content/site/docs/v3/getting-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ are two types of bundles:
9393
<code>all</code> exports everything in <code>core</code> plus
9494
<a href="https://github.com/lit/lit/blob/main/packages/lit/src/index.all.ts">
9595
most other modules in <code>lit</code></a>.
96+
<br>
97+
Note that <code>html</code> and <code>svg</code> exports from <code>lit/static-html.js</code> are aliased to <code>staticHtml</code> and <code>staticSvg</code>, respectively, to avoid collision.
9698
</dd>
9799
</dd>
98100
</dl>

0 commit comments

Comments
 (0)