N.B. I tested the rendering and it works for correct graph, but it does not render parsing errors.
I'm very new to node.js, so not sure if my changes are correct.
Any pointers on how to fix this would be appreciated.
Also:
I've bumped the version of css-loader to resolve the major version conflict with webpack.
I've added npm-run-all as a dev dependency to make vscode:prepublish task run on Windows correctly. (Powershell does not recognize ; as a command delimiter )
Mermaid version 10.0.0 is the latest, but it has some breaking API changes.
I had to change the
mermaid.render
call as it no longer accepts a callback. see https://github.com/mermaid-js/mermaid/blob/master/CHANGELOG.md#1000N.B. I tested the rendering and it works for correct graph, but it does not render parsing errors. I'm very new to node.js, so not sure if my changes are correct. Any pointers on how to fix this would be appreciated.
Also:
css-loader
to resolve the major version conflict with webpack.npm-run-all
as a dev dependency to makevscode:prepublish
task run on Windows correctly. (Powershell does not recognize;
as a command delimiter )