KlimaDAO / klimadao

Monorepo for the official KlimaDAO site, dApp, components and design system.
https://klimadao.finance
MIT License
90 stars 71 forks source link

Remove declarations from API builds #2275

Closed biwano closed 4 months ago

biwano commented 4 months ago

Description

Remove declarations from API builds This aims to reduce the bundle size and reduce API cold start time.

Note that that the function size displayed by Vercel did not change (4.75MB) So

Related Ticket

related to #2153

How to Test

  1. Check that the output no longer contains types here: https://vercel.com/klimadao/carbonmark-api/7tNypkZcW5MBZCnarjfBeibyQHQb/functions?name=api%2Fserverless
  2. Check that the API is working here: https://carbonmark-j1bd4osvs-klimadao.vercel.app/#/

Notes For QA

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
carbon ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2024 6:51am
carbonmark ✅ Ready (Inspect) Visit Preview Feb 19, 2024 6:51am
carbonmark-api ✅ Ready (Inspect) Visit Preview Feb 19, 2024 6:51am
demo-integration ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2024 6:51am
klimadao-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 19, 2024 6:51am
Atmosfearful commented 4 months ago

@biwano good to go when you update the version number.