#javascript module idea: browserify transform to transpile CommonJS modules to ES6 modules. use in production piped to rollupify, #winning.
haha, but only if you have fat deps :p - could prob save some bytes, but https://github.com/yoshuawuyts/choo/blob/master/examples/mailbox/client.js … would prob not work in ES6 :(
-
-
why wouldn't it work? the point would be to remove unnecessary module closures (38+ bytes per module) and unused module exports
-
Oh, I meant the inline require() statements in the example I linked
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.