-
Notifications
You must be signed in to change notification settings - Fork 86
feat: merge next-on-netlify into the core plugin repo #106
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some small suggestions.
One thing that's not in the scope of this PR that I noticed:
https://github.com/netlify/netlify-plugin-nextjs/tree/merge-non#custom-netlify-functions
We're still stating that people need to set a Functions directory, but per the new note, they should be able to use the default location if they want.
Co-authored-by: rstavchansky <[email protected]>
Co-authored-by: rstavchansky <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets goo!!!
* fix: 10.0.8 changes loadConfig to be async * wip: make literally everything async bc loadConfig * wip: fix i18n bug, got 10.0.6 tests to pass * wip: NoN tests pass on 10.0.8 but plugin test chdir fixture issue * Fix bug with Jest * fix: delete TO-DO Co-authored-by: ehmicky <[email protected]>
This looks like a huge PR, but what's happening here is that we're merging the
next-on-netlify
repo into this build plugin for a few reasons:next-on-netlify
as a standalone package. Everything it does is handled by this plugin with less setup overhead, so moving forward we're making@netlify/plugin-nextjs
the Official Recommendation™ for how to build Next.js sites on NetlifyThe merge of the
next-on-netlify
package also paves the way for us to make the Next.js development experience on Netlify even more seamless through automatic installs for new Next.js sites. This does not have any effect on existing sites.Because that's a big change in behavior, we're going to treat this as a breaking change despite the fact that there are no actual breaking changes in the code.
Check out the updates to the changelog for more information on how this affects existing sites (tl;dr it doesn't unless you want it to) and how things will work with new sites going forward.
We're super excited about this change, and we hope you will be, too!