mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### 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
16 lines
234 B
JavaScript
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>
|
|
</>
|
|
)
|
|
}
|