vercel / next.js

The React Framework
https://nextjs.org
MIT License
126.84k stars 26.96k forks source link

Turbopack: respect a project’s browserslist config in both dev and build #63430

Open wbinnssmith opened 7 months ago

wbinnssmith commented 7 months ago

Right now the devserver uses a fixed browserlist that’s the latest versions of evergreen browsers. Instead, we should respect what the user has configured (browserslist field in package.json, .browserslistrc, etc.), like Next.js with webpack does.

PACK-2882

wbinnssmith commented 7 months ago

Related: https://github.com/vercel/next.js/issues/57718