-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Implement features needed by Esperanto #66
Conversation
By "remove all bundling logic from Esperanto", what do you intend the main use case for Esperanto to be? |
Ultimately, it doesn't really need to exist at all. The bundling has been superseded by Rollup, and the one-to-one conversion can be done by Babel (Esperanto is faster, because it does less, but the reality is most people using ES6 modules are probably using other ES6 features anyway, so would need Babel regardless). But enough people depend on Esperanto that I'd prefer not to completely shut off support – this is just a way of achieving that, by using Rollup internally rather than Esperanto's existing bundler (the API for Esperanto users would be pretty much unaffected). |
@Victorystick how far along do you reckon #71 is? We have merge conflicts unfortunately... trying to work out whether it's better to merge this, or wait for that. I've opened a new bundle-scopes branch based off of yours which resolves those conflicts, in case that's useful |
I'm officially on vacation, and probably won't be able to get as much work done this week as I would like. I think it might be best to merge what you've got, and let me continue as soon as I can. Your work on fixing the current set of merge conflicts is much appreciated. 😃 Do you see how I intend for BundleScope to work? |
Implement features needed by Esperanto
Esperanto is continuing to rack up issues, but it doesn't make sense to maintain two projects doing basically the same thing. I'm planning to remove all the bundling logic from Esperanto and just use Rollup instead. Before that's possible, we need to reach feature parity (and fix some bugs exposed by Esperanto):
exports.default
withexports['default']
imports
andexports
in exposed bundle object['myModule']
->'myModule'
)'use strict'
optional (options.useStrict = false
)banner
andfooter
options