Ubah modul menjadi non modul

You can a module into a non module by removing the export (default) part and then wrapping the code in a self invoking function
For example

let x = "XXX";
export default x;


becomes

(function(){
const x = "XXXX";
export default x;
})()
Javasper