3db878629e
### What Fix bad detection of dynamic route of sitemap metadata route, the swc AST check should process when the text are detected. But prevuious if there's text with `generateSitemap` such as comment but not the actual export it will fail. ### How Add both checks on metadata loader side and detection helper side * Only call `generateSitemaps` helper when the export existed * Fix the helper detection logic (major part of this PR) Fixes #59698 Closes #60344 Closes NEXT-2007 |
||
---|---|---|
.. | ||
create-next-app | ||
eslint-config-next | ||
eslint-plugin-next | ||
font | ||
next | ||
next-bundle-analyzer | ||
next-codemod | ||
next-env | ||
next-mdx | ||
next-plugin-storybook | ||
next-polyfill-module | ||
next-polyfill-nomodule | ||
next-swc | ||
react-dev-overlay | ||
react-refresh-utils | ||
third-parties |