chore: Test Docusaurus webpack 5 support#1826
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nextauthjs/next-auth/F6HN2tFBGdYkp5BKaKK3ib7Ktdvs |
|
@slorber thank you for this, I'm interested in how it will go! |
|
@slorber just curious, what should we expect from this PR? Is it faster builds, anything else? What is the status and your intent here? Is this something you plan to work on, or was just a test of some kind? 😊 |
|
@balazsorban44 unfortunately out of 20 similar PR, this one is the only one blocked by an issue in the lunr search plugin you use: praveenn77/docusaurus-lunr-search#52 Waiting for the author to answer, unless you are willing to use a fork or patch-package. |
|
No rush, I was just curious if there was activity here 🙂 Happy to wait! |
# Conflicts: # www/package-lock.json
|
Ready for review :) |
There was a problem hiding this comment.
Checked it locally, and it seems it also fixed the #1935 problem, but I would like @lluia to have a look as well!
LGTM!
0ubbe
left a comment
There was a problem hiding this comment.
Looks good from my side too 💚 , just a small suggestion about the scripts 👍🏽
|
@slorber Something is not right... I merged it to |
This reverts commit c823016.
|
@balazsorban44 do you have the url of the failing deployment? If this happens, it is possibly due to a network error or the CDN cache temporarily returning an error |
|
I don't think I can share the actual deployment from Vercel, but here is the build log:
So you suggest that it was only temporary? |
|
Normally you have a unique deploy url from Vercel. Yes I think it is temporary (or a bad CDN cache config if you have any?). |
|
@slorber you were right, it might have been some kind of temporary issue. I reverted my reverted commit, and now everything looks fine on https://next-auth.js.org/ 🎉 |
|
Great! Will improve the banner message to mention it is possibly a network or CDN error |
* upgrade * upgrade * fix lunr plugin bug Co-authored-by: Lluis Agusti <[email protected]>

Use an unreleased version of Docusaurus to test the webpack5 support works for this site.
See also facebook/docusaurus#4089