Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

bundlesize check #183

Closed
wants to merge 16 commits into from
2 changes: 2 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ jobs:
run: npm run lint
- name: test
run: npm run test:run
- name: bundlesize
run: npm run bundlesize
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ node_modules
.DS_Store

# Built files
dist
dist/*
8 changes: 8 additions & 0 deletions config/bundlesize.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"files": [
{
"path": "./dist/assets/article.js",
"maxSize": "100 kB"
}
]
}
Loading