mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Since we compile global server CSS imports into a special module with a checksum of the original content, it should always accept HMR updates. This fixes `Fast Refresh had to perform a full reload` errors.
6 lines
85 B
JavaScript
6 lines
85 B
JavaScript
import './global.css'
|
|
|
|
export default function Page() {
|
|
return <div>hello!</div>
|
|
}
|