Skip to content

Commit

Permalink
Add note about static tag aliasing for lit-all bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjk committed Jan 13, 2024
1 parent 493860b commit 8d2eef0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/lit-dev-content/site/docs/v2/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ are two types of bundles:
<code>all</code> exports everything in <code>core</code> plus
<a href="https://github.com/lit/lit/blob/main/packages/lit/src/index.all.ts">
most other modules in <code>lit</code></a>.
<br>
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.
</dd>
</dd>
</dl>
Expand Down
2 changes: 2 additions & 0 deletions packages/lit-dev-content/site/docs/v3/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ are two types of bundles:
<code>all</code> exports everything in <code>core</code> plus
<a href="https://github.com/lit/lit/blob/main/packages/lit/src/index.all.ts">
most other modules in <code>lit</code></a>.
<br>
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.
</dd>
</dd>
</dl>
Expand Down

0 comments on commit 8d2eef0

Please sign in to comment.