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

Support esm #6

Open
ericclemmons opened this issue Jan 11, 2019 · 4 comments
Open

Support esm #6

ericclemmons opened this issue Jan 11, 2019 · 4 comments

Comments

@ericclemmons
Copy link
Owner

https://github.com/standard-things/esm can be supported via polydev -r esm (as if we were running Node), or perhaps via NODE_OPTIONS.

@ericclemmons
Copy link
Owner Author

This can work just as it does in #7 .

@ericclemmons
Copy link
Owner Author

Noticed that https://github.com/sidorares/hot-module-replacement doesn't work with:

NODE_OPTIONS="--require esm" polydev

@ericclemmons
Copy link
Owner Author

Hate to be pedantic or naive here but... what if people just used TypeScript (#7)? 🤔

@ericclemmons
Copy link
Owner Author

Support has been added:

https://twitter.com/jdalton/status/1090687528112287745

👏

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

1 participant