Closed vlin closed 6 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
running-page | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 21, 2023 4:21am |
@frostming did something similar but seems will break some vercel preview
Is there anything else you need my help with? I can’t see the error details during Vercel deployment, It should be because I don’t have permission.
@yihong0618 Would you share the Vercel deployment logs? That would help troubleshoot the cause of the failure.
@yihong0618 Would you share the Vercel deployment logs? That would help troubleshoot the cause of the failure.
maybe vercel problem, will also check it
Cannot install with "frozen-lockfile" on build
Maybe pnpm error, can you deleting the old lockfile(pnpm-lock.yaml
) and running pnpm install to generate a new one.
@vlin
Cannot install with "frozen-lockfile" on build Maybe pnpm error, can you deleting the old lockfile(
pnpm-lock.yaml
) and running pnpm install to generate a new one. @vlin
@orionna319 thx~
@yihong0618 all checks have passed. let's go ahead.
nice
plugin:react/jsx-runtime
in.eslintrc.js
, no longer have to importReact
to write JSX.perf: reduce SVG file size during build Use 'vite-plugin-svgr' to optimize all the SVG files, make them smaller.
Both
After:
Here(https://react-svgr.com/playground/) are more info about
github.svg
andgrid.svg
are packed in the index.js Before:svgr
.github.svg
andgrid.svg
fromindex.js
into separate packages during the build. Only import them asynchronously when rendering theTotal
view, in order to reduce resources loaded on the initial page.