chore: add size-limit to precommit checks
This commit is contained in:
parent
6d05547ed5
commit
3e896ada83
2 changed files with 3 additions and 6 deletions
|
@ -1,2 +1,3 @@
|
|||
npm run lint --cache
|
||||
npm run test
|
||||
npm run test
|
||||
npx size-limit
|
||||
|
|
|
@ -78,16 +78,12 @@
|
|||
"size-limit": [
|
||||
{
|
||||
"path": "./dist/WebComponent.js",
|
||||
"limit": "1.5 KB"
|
||||
"limit": "1.1 KB"
|
||||
},
|
||||
{
|
||||
"path": "./dist/html.js",
|
||||
"limit": "0.6 KB"
|
||||
},
|
||||
{
|
||||
"path": "./dist/attach-effect.js",
|
||||
"limit": "0.1 KB"
|
||||
},
|
||||
{
|
||||
"path": "./dist/utils/create-element.js",
|
||||
"limit": "0.5 KB"
|
||||
|
|
Loading…
Reference in a new issue