-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: pnpm version 9, dependencies upgrades and esbuild 20.x #1958
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
{...(isRemoteImage | ||
? // biome-ignore format: design system keys | ||
{ | ||
"aria-hidden": true, | ||
as: "img", | ||
onLoad: setRemoteImageLoaded, | ||
src, | ||
} | ||
: { | ||
backgroundSize: 'cover', | ||
})} | ||
: { 'aria-hidden': true, as: 'img', src })} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
esbuild
20.x has a new way of bundling dataurl's with .svg
and .png
, which means we can use img
as of now instead of div and do backgroundImage: url(...)
site/package.json
Outdated
"next-sitemap": "^4.2.3" | ||
}, | ||
"scripts": { | ||
"dev": "next dev --port 3001", | ||
"build": "INIT_CWD=$PWD next build", | ||
"build": "contentlayer build && INIT_CWD=$PWD next build", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed since it has some problems on pages router. More context here
chore: configure new builds for rainbowkit and update esbuild package with pnpm 9.x chore: revert changes and add new changes for new esbuild builds chore: cleanup chore: edit package.json build file revert: removing prepare revert: remove prepare from scripts refactor: tsconfig.json chore: refactor chore: rename build.ts -
0799724
to
0027aa0
Compare
Changes
contentlayer
/next-contentlayer
to0.3.4
- (site -> package.json)@vanilla-extract/css
to1.15.1
- (site -> package.json)@vanilla-extract/next-plugin
to2.4.0
- (site -> package.json)@vanilla-extract/recipes
to^0.5.2
- (site -> package.json)@vanilla-extract/esbuild-plugin
to^2.3.5
- (package.json)@vanilla-extract/vite-plugin
to^4.0.9
- (package.json)esbuild
to^0.20.2
- (package.json)/packages/*
folder to include the newestesbuild
featuresWhat to test
pnpm install
andpnpm run dev
across all packages / examples without having any crashesesbuild
bundles them correctly as it did in0.14.39
version