Skip to content

Commit 2721abd

Browse files
committed
chore: update size-limit configuration to include additional paths and exclude specific assets
1 parent f2f4fd2 commit 2721abd

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,20 @@
6868
},
6969
"size-limit": [
7070
{
71-
"path": "dist/**/*.js"
71+
"name": "html",
72+
"path": "dist/index.html"
73+
},
74+
{
75+
"name": "css",
76+
"path": "dist/**/*.css"
77+
},
78+
{
79+
"name": "bundle",
80+
"path": "dist/**/index-*.js"
81+
},
82+
{
83+
"name": "others(pages, hooks, etc)",
84+
"path": "dist/**/!(index-*.js|*.css)"
7285
}
7386
]
7487
}

0 commit comments

Comments
 (0)