Skip to content

Commit 8114fa3

Browse files
committed
chore: update size-limit configuration to include additional paths and exclude specific assets
1 parent 5270481 commit 8114fa3

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

package.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,23 @@
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": "pages",
84+
"path": [
85+
"!dist/**/index-*.js",
86+
"!dist/**/*.css"
87+
]
7288
}
7389
]
7490
}

0 commit comments

Comments
 (0)