mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
1c67740676
We've supported `export const config = { ... }` to sepecify `runtime`
etc. configs for pages under `app/` for a while. This PR is going to
drop it and only support `export const [config name] = [config value]`
per config
Add a warning if the legacy usage is detectd
Closes NEXT-1016
6 lines
70 B
JavaScript
6 lines
70 B
JavaScript
'use client'
|
|
|
|
export default function foo() {
|
|
return 'foo.client'
|
|
}
|