next.js
4b8240b8 - Support unnamed default export expression (#46888

Commit
3 years ago
Support unnamed default export expression (#46888 This PR adds the support for unnamed default export expression support `export default async function () {}` in a "use server" entry, with corresponding test. Also fixed an existing bug that the default exported action's name should be aligned with the export name, which is `"default"`. Closes NEXT-769.
Author
Parents
Loading