Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@std/esm support? #1

Open
jdalton opened this issue Nov 23, 2017 · 1 comment
Open

@std/esm support? #1

jdalton opened this issue Nov 23, 2017 · 1 comment

Comments

@jdalton
Copy link

jdalton commented Nov 23, 2017

I saw your WIP livescript loader and wanted to give you a heads up that there's @std/esm which enables ESM in Node 4+ in much the same way as the --experimental-modules flag.

node -r @std/esm file.mjs

The @std/esm loader works with things like @babel/register which makes me think there's probably a way for a livescript transform to work with @std/esm too.

@bartosz-m
Copy link
Owner

Thanks for info, @std/esm looks really interesting, but I'm not familiar with its implementation and couldn't find relevant info in documentation so I've opened issue about integrating external loaders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants