next.config.js 371 B

12345678910111213141516171819202122
  1. /** @type {import('next').NextConfig} */
  2. const config = {
  3. images: {
  4. remotePatterns: [
  5. {
  6. hostname: "*",
  7. },
  8. ],
  9. },
  10. experimental: {
  11. typedRoutes: false,
  12. },
  13. // used in the Dockerfile
  14. output:
  15. process.env.NEXT_OUTPUT === "standalone"
  16. ? "standalone"
  17. : process.env.NEXT_OUTPUT === "export"
  18. ? "export"
  19. : undefined,
  20. };
  21. export default config;