After reading the documentation I still can't understand what is_entry_return_. I have an example
var MyLibrary = _entry_return_;
// In a separate script...
MyLibrary.doSomething();
I compiled my code, with these output properties
output: {
library: 'abc',
libraryTarget: 'assign',
libraryExport: 'default',
filename: 'abc.js',
path: path.resolve(__dirname, 'distN'),
},
how da heck can i access to my function exported as
export default function run() {console.log('nothing')}
Am I doing something wrong? as I understood I already must have this variable as a global one, but I have not. I want to use it inside my node.js Thanks in advance!