Skip to content
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

The plugin system prevents static NextJS builds #102

Open
Mike-Dax opened this issue Mar 30, 2023 · 0 comments
Open

The plugin system prevents static NextJS builds #102

Mike-Dax opened this issue Mar 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Mike-Dax
Copy link

Mike-Dax commented Mar 30, 2023

Describe the bug
With a static NextJS build, using output: 'export',, the redirects configuration causes a build error:

Error: Specified "redirects" cannot but used with "output: export". See more info here: https://nextjs.org/docs/advanced-features/static-html-export

To Reproduce
Steps to reproduce the behavior:

  • Download and install the starter blog. Upgrade to NextJS 13.2.4
  • Set output: 'export'
  • Try to build.

Expected behavior
I'd expect to be able to build a static site, even if I manually need to run some commands to have the 'watch mode' work with contentlayer

@Mike-Dax Mike-Dax added the bug Something isn't working label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant