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
Separated ecmascript-compiler from ecmascript #6824
Conversation
@benjamn, it would be great if this could go into 1.3.2. |
Pleaseee, merge this. |
@benjamn: or 1.3.3. I have https://github.com/peerlibrary/meteor-util package being blocked on that and some apps cannot migrate to 1.3 without this. |
Please! |
But really, the most important is this one, @benjamn. |
I think what you're really getting at here is that you want a version of I'm also going to check out the reproduction for #6680, because I suspect this solution is overkill… |
Thanks for digging into this problem, but I believe it's fixable on |
As I wrote in the pull request you made (and thank you for it!) I do not find the switch to NPM module you are proposing acceptable. It really changes compatibility of client and server side and I do not want to chase bugs because one implementation is different than another (require util vs. require meteor/util vs client-side). I do not see what is problem with accepting this pull request? It is backwards compatible, it nicely splits compiler from runtime, which was also something done for Blaze (#5903).
I do not understand this, if it still compiles module syntax, why it does then work for me? Because my code uses |
Commented in the pull request, but also summarizing here: you can use whatever implementation of the Until we exhaust that line of investigation, I have to be honest with you: Meteor is not going to provide a version of the If you really really want to, you are also welcome to fork the |
If I understand correctly, your easier proposals are: use unmaintained NPM module, or copy node.js file over and modify it? Any other I missed?
Doesn't my pull request here support modules? You were suggesting to remove them. :-) I have nicely split it into compiler and runtime. And then I just provide an "alternative runtime" which has a bit special |
Addressing the regression in Meteor 1.3. Meteor 1.3 implies
modules
when usingecmascript
, but previously this was not so. This prevent compiling.js
files usingecmascript
package when you do not want to usemodules
at the same time.By splitting compiler into its own package one can use just the compiler part and not also the
modules
part.Fixes: #6680