Mermaid 9.2.0 fails to require properly with Webpack #3754
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
We've been using Mermaid without issue for some time now and the latest version (9.2.0) breaks our application. We're utilizing webpack to bundle our application and requiring and initializing mermaid with:
After updating to 9.2.0, we are getting the following warnings from webpack:
And
mermaid.initialize
fails with the following error in the browser:It seems like there may have been changes to the bundled artifact as part of the 9.2.0 release, however, I would not expected any breaking changes as a result of a minor version change.
Steps to reproduce
Require Mermaid 9.2.0 with Webpack using CommonJS syntax.
Screenshots
No response
Code Sample
No response
Setup
Desktop
Additional Context
No response
The text was updated successfully, but these errors were encountered: