rsnext/packages/create-next-app/templates
Lee Robinson c037473531
Move create-next-app public/ assets from local folder→ remote URL (#66931)
To reduce the number of files cloned during `create-next-app`, this PR
shifts the SVG assets placed in the `public/` folder to instead by
consumed from the Next.js site.

Since these are SVG files (vector images), the Image component does
_not_ optimize them with image optimization. Image optimization only
applies to raster images (like `.png` or `.jpg`). This means it's
effectively similar to using the `unoptimized` prop on the `Image`
component, which means you don't need to add `remotePatterns` to
`next.config.js` – which would be midly annoying for the
`create-next-app` starter.

I also renamed `file-text.svg` to `file.svg` so the URL is shorter.
These assets will be live on .org any minute now.
2024-06-16 11:42:27 -07:00
..
app Move create-next-app public/ assets from local folder→ remote URL (#66931) 2024-06-16 11:42:27 -07:00
app-empty fix(create-next-app): Update CNA templates' .gitignore files for parity with Yarn recommendations (#65823) 2024-05-26 17:06:24 -07:00
app-tw Move create-next-app public/ assets from local folder→ remote URL (#66931) 2024-06-16 11:42:27 -07:00
app-tw-empty chore: update empty template tailwindcss config (#66173) 2024-05-27 00:18:46 +00:00
default Move create-next-app public/ assets from local folder→ remote URL (#66931) 2024-06-16 11:42:27 -07:00
default-empty fix(create-next-app): Update CNA templates' .gitignore files for parity with Yarn recommendations (#65823) 2024-05-26 17:06:24 -07:00
default-tw Move create-next-app public/ assets from local folder→ remote URL (#66931) 2024-06-16 11:42:27 -07:00
default-tw-empty fix(create-next-app): Update CNA templates' .gitignore files for parity with Yarn recommendations (#65823) 2024-05-26 17:06:24 -07:00
.prettierrc.json chore(examples): use default prettier for examples/templates (#60530) 2024-01-11 16:01:44 -07:00
index.ts Update React from f994737d14 to 1df34bdf62 (19.0.0-rc.0) (#66533) 2024-06-10 12:06:38 +00:00
types.ts feat: Add option to enable Turbopack with create-next-app (#65926) 2024-05-20 20:34:24 +00:00