Skip to content

Commit f545649

Browse files
committed
Setup size-limit
1 parent 61521eb commit f545649

File tree

4 files changed

+802
-6
lines changed

4 files changed

+802
-6
lines changed

.github/workflows/check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ jobs:
2525
- run: npm run tsc
2626
- run: npm run test
2727
- run: npm run build
28+
- run: npm run size
2829
- run: npm run storybook:test

.size-limit.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[
2+
{
3+
"name": "useAnimation",
4+
"path": "lib/index.mjs",
5+
"import": "{ useAnimation }",
6+
"limit": "1.5 kB"
7+
},
8+
{
9+
"name": "useAnimationFunction",
10+
"path": "lib/index.mjs",
11+
"import": "{ useAnimationFunction }",
12+
"limit": "1.5 kB"
13+
},
14+
{
15+
"name": "useTransitionAnimation",
16+
"path": "lib/index.mjs",
17+
"import": "{ useTransitionAnimation }",
18+
"limit": "1.5 kB"
19+
},
20+
{
21+
"name": "TransitionGroup",
22+
"path": "lib/index.mjs",
23+
"import": "{ TransitionGroup }",
24+
"limit": "1.5 kB"
25+
}
26+
]

0 commit comments

Comments
 (0)