You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if it might be possible, as a first step towards #959 to update Esprima in r.js?
Totally guessing here, but given that you can already tell r.js not to Uglify, then one can run Uglify-es separately without r.js crashing on ES6 code?
Ha! It totally works 💃🕺 I just set "optimize" to "none" and then manually ran the code through Uglyfy-ES. So excited about this, @jrburke! Can't wait for it to hit RequireJS upstream now.
Activity
jrburke commentedon Jul 20, 2017
I ran out of time tonight to release a tagged version of 2.3.4 with this change, but this master snapshot can be used for now:
https://raw.githubusercontent.com/requirejs/r.js/master/dist/r.js
and I should get the tagged release out before next week, ideally tomorrow.
marcoscaceres commentedon Jul 21, 2017
Ha! It totally works 💃🕺 I just set "optimize" to "none" and then manually ran the code through Uglyfy-ES. So excited about this, @jrburke! Can't wait for it to hit RequireJS upstream now.
jrburke commentedon Jul 21, 2017
Just published requirejs 2.3.4 with this fix.