porsager/flems.io

support editing external esm dependencies

fuzetsu opened this issue ยท 2 comments

The feature that lets you edit/patch external dependencies is awesome ๐Ÿ‘

Unfortunately it does not really work for esm deps. Importing an esm dep from the sidebar results in the error: Unexpected token export

Importing from inside one of the JS files works fine of course (import b from 'bss'), but there's no way to edit this dep.

Maybe it's not super feasible, or worthwhile to implement, but I've found myself wanting it a few times so I figured I'd file an issue.

Ah yeah, this is related. porsager/flems#62

Let's continue the discussion there as most of this is in flems core ;)

Oh sorry.. Not nearly related enough :D reopening