mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Since the static metadata routes should always be static that can be optimized, they should be marked as default runtime (or basically no runtime). This PR change the runtime detection, if it's a static metadata route file, its runtime will be erased. So that it won't be picked up by `edge-app-route-loader` and then by `next-image-loader` which emits the unexpected static file Fixes NEXT-1238
4 lines
66 B
JavaScript
4 lines
66 B
JavaScript
export default function page() {
|
|
return <div>hello edge</div>
|
|
}
|