News for hackers. Stuff that matters.
Re:Introducing smap.js, a forward polyfill for ES6 Maps by ajanuary on Friday November 09, 2012 @01:35PM (#4764096)
Couldn't you build it into the minifier rather than polluting the original source?
Re:Introducing smap.js, a forward polyfill for ES6 Maps by jackmoore on Friday November 09, 2012 @02:49PM (#4764442)
Yes, stuff like this shouldn't be in the source. UglifyJS and Closure compiler make this optimization, but I've used other js minifiers that did not.