#javascript module idea: browserify transform to transpile CommonJS modules to ES6 modules. use in production piped to rollupify, #winning.
-
-
still statically analyzable, otherwise browserify wouldn't be able to traverse the require tree. as opposed to `require(stuff)`
-
you could pull it out as a top-level ES6 module import to a variable, then replace require with the var, and it'd be the same.
- 3 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.