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

Updating packages and output config #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

j-bernardi
Copy link

I tried to use this template and received a bunch of security warnings for out of date packages. On updating next, I was told that "next export" has been deprecated in favour of next.config.js.

This change changes the build config and package versions to be up to date with current next.js versions.

I'm fairly new to next js, so do check this, but it seems to be working for the app I'm developing at the moment.

Thanks for making this template, it was a big help!

Details:
https://nextjs.org/docs/pages/building-your-application/deploying/static-exports

Copy link
Owner

@pondorasti pondorasti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @j-bernardi! You almost got it, the build script also needs to be updated to omit next export.

"build": "next build && npm run lint:build"

@j-bernardi
Copy link
Author

Good spot! Done now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants