Why library files of node modules dependencies are empty in release version of Kibana

I want to know why library files of node modules are empty of some external dependencies.

I am placing the build of my plugin inside plugin folder in release version of Kibana and running it but the dependencies are not working inside Kibana and throwing error of dependency not defined. I am using xml2js dependency in my plugin but it is throwing error but when i am working in development version it is working fine but when placing the plugin folder in the Kibana release version it is throwing error.

kibana-7.6.0-windows-x86_64\kibana-7.6.0-windows-x86_64\node_modules\xml2js\lib\xml2.js

Could you clarify what error you're getting?

xml2js is not defined is the error we are getting

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.