#NextJs assets resolution

4 messages · Page 1 of 1 (latest)

thorn shore
#

Hey!
I'm working on a visual IDE for React and trying to add support for NextJs.
I'd really appreciate it if someone could explain how NextJs resolves its assets.

e.g. when creating a new project with create-next-app a public folder is being created with vercel.svg inside. I'm trying to figure out what's the process that resolves /public/vercel.svg to /_next/image/vercel.svg

wary eagle
#

Hi! I don't really get it what do you mean about what's the process that resolves /public/vercel.svg to /_next/image/vercel.svg

but if you mean, how the transformation happened? Its from Next compiler that will automatically runs when your code get updated

thorn shore
wary eagle