Remove redundant .npmrc (shamefully hoisting dependencies is no longer needed)
Update default port: 3000 => 4321
Update image endpoints to return new Response(body: string) instead of { body: string } and update types as per migration guide. Notably also requires setting a Content-Type header on the Response so that images render correctly in dev — Astro did this for you when using the { body: string } format.
astro
and@astrojs/tailwind
.npmrc
(shamefully hoisting dependencies is no longer needed)new Response(body: string)
instead of{ body: string }
and update types as per migration guide. Notably also requires setting aContent-Type
header on theResponse
so that images render correctly in dev — Astro did this for you when using the{ body: string }
format.