Skip to content

Commit

Permalink
add performance budget to spotlight app
Browse files Browse the repository at this point in the history
  • Loading branch information
ethangardner committed Dec 17, 2024
1 parent d692905 commit f2a026f
Show file tree
Hide file tree
Showing 2 changed files with 1,148 additions and 199 deletions.
15 changes: 14 additions & 1 deletion apps/spotlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,33 @@
"build": "astro build",
"clean": "rimraf dist tsconfig.tsbuildinfo coverage",
"dev": "astro dev",
"preview": "astro preview"
"preview": "astro preview",
"size": "pnpm build && size-limit"
},
"size-limit": [
{
"path": "dist/_astro/*.css",
"limit": "50 kB"
},
{
"path": "dist/_astro/*.js",
"limit": "425 kB"
}
],
"dependencies": {
"@astrojs/react": "^3.6.1",
"@atj/common": "workspace:*",
"@atj/design": "workspace:*",
"@atj/forms": "workspace:*",
"@size-limit/preset-app": "^11.1.6",
"astro": "^4.13.2",
"qs": "^6.13.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-error-boundary": "^4.0.13",
"react-router-dom": "^6.26.0",
"sharp": "^0.33.5",
"size-limit": "^11.1.6",
"zustand": "^4.5.4"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit f2a026f

Please sign in to comment.