Workbench icon indicating copy to clipboard operation
Workbench copied to clipboard

Import ES module

Open sonnyp opened this issue 4 years ago • 0 comments

Being sandboxed, there is no easy way to import an ES module.

import foo from 'file:///home/sonny/foo.js' won't work.

Maybe we can add a file picker and automatically add an import statement at the beginning of the file ? Or just give a path.

Importing a URL would be neat too

sonnyp avatar Mar 28 '22 08:03 sonnyp