Luke Haas

Results 268 comments of Luke Haas

Yep, this will come eventually, it's just dependent on upstream dependencies getting updated to support this.

@backspaces RunJS is Electron based which is where it gets its Node integration from. To move to Deno would require Electron to integrate Deno. There's a discussion here about that:...

@5tormTrooper some updates on this can be found here: https://github.com/electron/electron/issues/21457

@vladyn no that's not related, this is about importing ES Modules.

@vladyn no, each tab is a sandboxed playground. You could use the 'Set Working Directory' feature to point RunJS to a directory and import files from there.

@vladyn RunJS treats your code as a script, not a module so export is not supported.

ES modules are now supported. Just enable bundling via the preferences.

Thanks, I'll take a look into this.

Yes, it would be good to have support for this in RunJS 👍

This is an interesting idea, thanks for raising it. Will give it some thought 👍