Hi,
I try to embed bpmn-to-image package to react.js project. After installing package I get errors connected to polyfills for node.js and errors connected to fs and child_process package. Is there somebody who has the same problem. Is there a way how to solve it ?
Steps how to reproduce error
Create react project named test by command : npx create-react-app test
Install bpm-to-image by command: npm install bpmn-to-image
Add button to react
Add click handler on button with code from bpm-to-image readme
Strat project by command: npm start
*Expected Behaviour***
Start app without errors
Enviroment
Host: bpm-to-image 0.6.1, Google Chrome, webpack 5.74.0
Hi, I try to embed bpmn-to-image package to react.js project. After installing package I get errors connected to polyfills for node.js and errors connected to fs and child_process package. Is there somebody who has the same problem. Is there a way how to solve it ?
Steps how to reproduce error
*Expected Behaviour***
Start app without errors
Enviroment