Question · Next.js course · Module 3: Styling and Visual Optimization

Next.js Configuration

In which file do you define the main configuration of a Next.js application?

Answer options

  • next.config.js
  • package.json
  • tsconfig.json
  • .env.local

You can check the correct answer by solving this task in the CodeWorlds game.