Rollup is a module bundler for javascript only. I added a plunging to also bundle my external modules (xml2js being one of them) into the file as well for browsers but rollup can know what the this context is, it breaks the code. This happens on the xml2js.js file
Let me also say that I'm using rollup-plugin-polyfill-node which is 3 years old. Altho there is an actively maintained fork of this package it can't fully shim fs :(
Rollup is a module bundler for javascript only. I added a plunging to also bundle my external modules (
xml2js
being one of them) into the file as well for browsers but rollup can know what thethis
context is, it breaks the code. This happens on thexml2js.js
fileIDK what to do
P.S: I'll add the error later