microstudio icon indicating copy to clipboard operation
microstudio copied to clipboard

Support ES Modules

Open iacore opened this issue 2 years ago • 0 comments

The ECMAScript module system helps with code organization.

Currently, all JS scripts are loaded in "script mode". If they are ES Modules (loaded with type="module"), they can use other ES Modules as well.

Most notably, esm.sh lets you load browser-compatible ES modules from npm.

import X from "https://esm.sh/xxxx"

iacore avatar Feb 17 '23 20:02 iacore