Using ES6 modules during development I wonder that the only way to access the elements inside modules (functions, variables) is via workarounds:
- Either manually add them to the global window object or
- via dynamic import: import('mod1.js').then(m => { mod1 = m })
Wouldn't it be nice to have module access without those?