Check for existing issues
Describe the feature
To allow plugins (with "type": "module"* in their plugin.json) to be ran as ESM without any transpilation steps. Currently, they are being loaded as a classic synchronous script (in a <script> element without type="module"), as seen in src/lib/loadPlugin.js.
*May be subject to change
If applicable, add mockups / screenshots to help present your vision of the feature

(Code shown may be subject to change)