Files
Donny/강동윤andGitHub 76824e7556 fix(turbopack): Apply import_map option of swc_emotion correctly (#71776)
### What?

Preserve the `import_map` config specified by the user

### Why?

The default mode (webpack mode) supports the `import_map` config, so turbopack should also support it.

### How?

Closes https://github.com/vercel/next.js/issues/71408
2025-04-08 09:48:26 +02:00

16 lines
234 B
JavaScript

'use client'
import { styledCss } from 'import-map-test'
const red = styledCss`
color: red;
`
export default function Page() {
return (
<>
<h1 css={{ color: 'blue' }}>Blue</h1>
<p css={red}>Red</p>
</>
)
}