Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 609 Bytes

invalid-next-config.md

File metadata and controls

24 lines (16 loc) · 609 Bytes

Invalid next.config.js

Why This Error Occurred

In your next.config.js file you passed invalid options that either are the incorrect type or an unknown field.

Possible Ways to Fix It

Fixing the listed config errors will remove this warning. You can also leverage the NextConfig type by importing from next to help ensure your config is correct.

/**
 * @type {import('next').NextConfig}
 */
const nextConfig = {
  /* config options here */
}

module.exports = nextConfig

Useful Links