My next config is:
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
distDir: "out",
images: {
unoptimized: true,
},
};
When I run npm run build I get:
Route (app) Size First Load JS
┌ ○ / 43.4 kB 142 kB
└ ○ /_not-found 875 B 88 kB
- First Load JS shared by all 87.1 kB
├ chunks/23-93bd7f4baad7a8e2.js 31.6 kB
├ chunks/fd9d1056-360e5dd5b3902a99.js 53.7 kB
└ other shared chunks (total) 1.89 kB
○ (Static) prerendered as static content
Yet, it does not produce a folder with html/css/javascript files in the specific "out" directory. What's weird though is that when I run npm run start, my website will pop up. I thought that npm run start would be using the files from the build step, so what gives???? (My next version is: "14.2.13")