Hello,
I’m currently trying to add bpmn-js as a dependency in a typescript library for customizing.
I can’t import the bpmn-navigated-viewer.production.min.js from the dist folder because it requires a window object, which is not available in node, and frankly not needed for extension purposes either.
if i try a default import like “import from ‘bpmn-js’” it complains that it cannot use an import statement outside of a module.
In addition to this, it would be great if typescript support could be added and maintained for the project. If required I can make the required contribution. Just need to know if you guys wanna maintain it in the repo or at DefinitelyTyped.
Regards