Hi Andrea,
Thanks for finding that out. This is good news.
Unfortunately it's not that simple - I checked and the module loader is not
part of SpiderMonkey, it's part of the SpiderMonkey test shell. We don't
run that directly, so we can't simply pass the -m flag. However, the good
news is that
Hi Philip,
SpiderMonkey already supports ESM indeed, you just need to start the
project with a `-m` or `--module=PATH` flag.
If GJS would be so kind to pass along such flag when used, developers could
arbitrary decide to start GJS as module or not.
*Test case*
a.js
```
import {cwd} from
On Sat, Feb 3, 2018 at 5:00 AM Andrea Giammarchi <
andrea.giammar...@gmail.com> wrote:
> I know CGJS progress is quite slow, I've been busy with other projects,
> but I wonder if it's possible to know what's the actual ESM status in GJS
> in general.
>
> It would be awesome to be able to use just