Skip to content

Commit

Permalink
Add changeset file and update library sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfagnani committed Mar 26, 2024
1 parent 0952ec9 commit 61496f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changeset/young-roses-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'lit-html': patch
'lit': patch
'lit-element': patch
---

Fix the lit-html marker length to be consistently 9 characters.
4 changes: 2 additions & 2 deletions scripts/check-size.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import * as fs from 'fs';
// it's likely that we'll ask you to investigate ways to reduce the size.
//
// In either case, update the size here and push a new commit to your PR.
const expectedLitCoreSize = 15438;
const expectedLitHtmlSize = 7253;
const expectedLitCoreSize = 15443;
const expectedLitHtmlSize = 7258;

const litCoreSrc = fs.readFileSync('packages/lit/lit-core.min.js', 'utf8');
const litCoreSize = fs.readFileSync('packages/lit/lit-core.min.js').byteLength;
Expand Down

0 comments on commit 61496f1

Please sign in to comment.