rsnext/packages/next-swc/crates/next-core
Will Binns-Smith ed4bd62f2d Always mark styled-jsx as external to avoid duplicating with bundled copies (vercel/turbo#3386)
Fixes WEB-412.

Previously, references to styled-jsx inserted by the swc transform would be bundled, which duplicated the copy required by next, which is external. This marks the dependency is to be resolved as external always.

Test Plan: Verified in a small app that `<style jsx>` nodes result in a server-rendered response with the appropriate `<style>` tag in the head.
2023-01-20 04:23:26 +00:00
..
js add full next.js config (vercel/turbo#3343) 2023-01-19 21:54:47 +01:00
src Always mark styled-jsx as external to avoid duplicating with bundled copies (vercel/turbo#3386) 2023-01-20 04:23:26 +00:00
build.rs add basic next pages support (vercel/turbo#223) 2022-08-15 17:26:37 +00:00
Cargo.toml build(next/core): allow to specify tls backend for reqwest (vercel/turbo#2994) 2022-12-14 17:07:04 -08:00