node-xml2js icon indicating copy to clipboard operation
node-xml2js copied to clipboard

xml2js.bc.js file in npm package

Open StebanDev opened this issue 1 year ago • 3 comments

I discovered the xml2js.bc.js file in the lib folder of the installed npm package. It's not in the GitHub repository, leaving me curious about its origin and purpose. I've manually deleted it to reduce my project's bundle size, but I also wish to have it removed from the npm package.

CleanShot 2023-09-23 at 19 45 02

StebanDev avatar Sep 23 '23 23:09 StebanDev

It is the bytecode compiled version of the OCaml port, has been included in the npm package by accident.

Leonidas-from-XIV avatar Sep 23 '23 23:09 Leonidas-from-XIV

Cool, thanks for clarifying. Hope it gets removed in the next release 🚀

StebanDev avatar Sep 23 '23 23:09 StebanDev