how do I get the path url of the main file using ES6? like in nodejs we have require.main.filename does import have something like that?
require.main.filename