bfd6c3ea2e
Support top-level `robots.[ext]` and `sitemap.[ext]` with dynamic api routes * Use isAppRoute to determine api routes and metadata routes as metadata routes are normalized as `<metadata>/route` * Normalize path to auto append extension to pathname for sitemap.js and robots.js * Add typings `SitemapFile` and `RobotsFile` * move the normalize logic together, reuse the `absolutePathToPage`. Changes less when touching both dev-server/hot-reloader and next-server, use the same utils to handle paths Closes NEXT-262 --------- |
||
---|---|---|
.. | ||
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 |