-
Notifications
You must be signed in to change notification settings - Fork 10
Upgrade dependencies - May 2021 #225
Comments
Notable upgrades:
|
Apply this fix: next transpile hack. next-transpile-modules fixed this issue with release 7.1.0, so this wasn't needed. |
|
Switch from Update: Perform this switch as part of the next upgrade. We are targeting 9.0.x in this upgrade, which doesn't provide the new rescript-cli, IIRC. |
|
|
All of these tasks will be done as part of #354, with the exception of upgrading mdast-util-to-string. I will deal with mdast-util-to-string in a follow-up PR. |
Review the following release notes:
|
|
VS Code appears to upgrade this automatically. Currently, we don't specify the version in our vscode configuration. |
The error encountered when upgrading mdast-util-to-string is:
I've started refreshing on the different module systems to understand why this is occurring, as well as looking for quick fixes that other people may have already come up with. |
The offending line of code is:
It occurs in the generated "[tutorial].js" (located at |
My understanding of this error is still weak, but the next place to research might be figuring out how to tweak the webpack build configuration to convert mdast-util-to-string into common js format. I'm surprised that this is the first library encountering this error. Are all other libraries distributed in common js format originally? |
This open issue may be relevant: vercel/next.js#9607. |
I am not making any progress. It might be best to regroup and start from a small nextjs site, trace through everything that is happening during the build, and then add back the offending library. My concern is that even if I have a smaller reproducing example, I may not have a solution to the better understood problem. |
I am moving discussion of troubleshooting mdast-util-to-string to #298. |
mdast-util-to-string was upgraded in PR #358. |
Uh oh!
There was an error while loading. Please reload this page.
time box: 2 days
The text was updated successfully, but these errors were encountered: