Unverified Commit 18be41b3 authored by ytreister's avatar ytreister Committed by GitHub

Fixed typo in documentation (#74254)

There is a bug in the documentation. The code sample sets the `distDir
`to `'./build'`, but the comment says `'./dist'`.
parent cb9265e5
...@@ -64,7 +64,7 @@ Create a `next.config.mjs` at the root of your project. This file will hold your ...@@ -64,7 +64,7 @@ Create a `next.config.mjs` at the root of your project. This file will hold your
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: 'export', // Outputs a Single-Page Application (SPA). output: 'export', // Outputs a Single-Page Application (SPA).
distDir: './build', // Changes the build output directory to `./dist`. distDir: './build', // Changes the build output directory to `./build`.
} }
export default nextConfig export default nextConfig
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment