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

SystemJS support #53

Closed
sebmck opened this issue Jan 13, 2015 · 3 comments
Closed

SystemJS support #53

sebmck opened this issue Jan 13, 2015 · 3 comments

Comments

@sebmck
Copy link

sebmck commented Jan 13, 2015

Currently esperanto can't compile to SystemJS. It's the only module loader that supports circular dependencies, live bindings etc. Without these it's impossible to replicate ES6 modules exactly.

Reference: https://github.com/ModuleLoader/es6-module-loader/wiki/System.register-Explained

@Rich-Harris
Copy link
Contributor

Thanks for the link. I hadn't really looked into it - in my head SystemJS was kinda like AMD except with System.register instead of define...

Agree that it would be worth supporting.

@eventualbuddha
Copy link
Contributor

As mentioned in #51 a bundle of ES6 modules can also support ES6 module spec fully. That said, SystemJS would be good to support.

EDIT: And by "fully" I mean "as far as static imports and exports are concerned".

@Rich-Harris
Copy link
Contributor

Closing this in favour of rollup/rollup#83, as I'm planning to abandon Esperanto in favour of Rollup. For one-to-one transformations I'm recommending people use Babel

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

No branches or pull requests

3 participants