next.js
a9d62b0d - fix(turbopack): Pass correct browserslist to `styled-jsx` (#83334)

Commit
152 days ago
fix(turbopack): Pass correct browserslist to `styled-jsx` (#83334) ### What? Pass the correct browserslist query to `lightningcss` in `styled-jsx`. ### Why? To fix an issue with `styled-jsx`. #### Testing instruction: 1. `git clone https://github.com/kdy1/repro-next-styled-jsx-526 ~/projects/repro-next-styled-jsx-526` 2. `pnpm pack-next -p ~/projects/repro-next-styled-jsx-526 && (cd repro-next-styled-jsx-526 && pnpm i && pnpm build && pnpm start` ### How? Closes https://github.com/swc-project/plugins/issues/526
Author
Parents
Loading