Open javier-godoy opened 2 months ago
JSONDigger is a dependency that was added in the base library since version 3.4.0. I tried to add this dependency in the add-on using @NpmPackage(value = "json-digger", version = "2.0.2")
and @JsModule("json-digger/dist/json-digger.js")
but that's not enough as the import of JSONDigger object is missing in the core component. Tried adding it in the fc-orgchart.js file but a lot of webpack errors appears when trying to run the demo app in vaadin 14, like
If I run profile v24 then I get a different error
One other aproach I tried was to donwgrade the library dependency to one that is not using JsonDigger, like 3.2.0, It works but some styling break on the drag/drog example that would need fixing.
Describe the bug
Expected behavior
No response
Minimal reproducible example
Add-on Version
5.0.1
Vaadin Version
24.4.1
Additional information
No response