React hooks with bpmn-js, how to edit the BPMN-JS library without having files outside of node_modules?

I am creating a project with the help of the BPMN_JS editor, when disabling palette options or other style changes, I must override the library, any way to override the library without having the files outside of node_modules?

Can you maybe explain this? Why do you have to override the library? The library is designed that you can modify certain modules individually, for example, the palette: https://github.com/bpmn-io/bpmn-js-example-custom-controls

1 Like