rehype-stringify 10.0.0 does not compile #149
Labels
📦 area/deps
This affects dependencies
🙋 no/question
This does not need any changes
👎 phase/no
Post cannot or will not be acted on
Initial checklist
Affected packages and versions
rehype-stringify v10.0.0
Link to runnable example
No response (FYI stackblitz would not run your MWE template for me)
Steps to reproduce
Using the following snippet
Expected behavior
The code should run and compile the HTML to a string.
Actual behavior
The code has the following runtime error:
Error [TypeError]: Cannot 'process' without 'Compiler'
and does not compile anything.
Downgrading the package to 9.0.4 fixes the issue.
Runtime
Node.js v20.5.1
Package manager
NPM 9.8.1
OS
Linux
Build and bundle tools
Next.js
The text was updated successfully, but these errors were encountered: