Skip to content

Commit

Permalink
Split CSS, JS and media in size-limit report
Browse files Browse the repository at this point in the history
  • Loading branch information
meduzen committed Nov 18, 2023
1 parent 57192d3 commit d55d9dc
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@
"path": "public"
},
{
"name": "Assets",
"path": ["public/assets"],
"brotli": true
"name": "Assets (excluding CSS and JS)",
"path": ["public/assets", "!*{public/assets/**/*.css,public/assets/**/*.js}"]
},
{
"name": "CSS",
"path": ["public/**/*.css"]
},
{
"name": "JavaScript",
"path": ["public/**/*.js"]
},
{
"name": "Articles",
Expand All @@ -16,6 +23,10 @@
"name": "Notes",
"path": ["public/notes"]
},
{
"name": "Media for articles and notes",
"path": ["public/content"]
},
{
"name": "Feeds",
"path": ["public/feed.xml"]
Expand Down

0 comments on commit d55d9dc

Please sign in to comment.