-
Notifications
You must be signed in to change notification settings - Fork 27.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next export broken in 13.3.1 (app dir) #48711
Comments
Just making sure: in I.e. this does not work: /** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
appDir: true,
output: 'export',
},
}
module.exports = nextConfig This does work for me: ```tsx
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
experimental: {
appDir: true,
},
}
module.exports = nextConfig |
@samulisuomi outside of experimental. It works for |
Hmm... Very strange. I'm on That's what I get after changing my config and running I do encounter other issues with the Just a long shot but what if you upgrade to the later next version and run |
@samulisuomi perhaps it is related to dynamic routes. Due to i18n all my routes are in dynamic segments / |
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 Binaries: Node: 20.0.0 npm: 9.4.0 pnpm: 8.3.1 Relevant packages: next: 13.3.1 react: 18.2.0 react-dom: 18.2.0
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true), Static HTML Export (output: "export")
Link to the code that reproduces this issue
N/A
To Reproduce
next build
Describe the Bug
html files are missing from the output
Expected Behavior
html files should be present (works if degrade to 13.3.0)
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
The text was updated successfully, but these errors were encountered: