Skip to content

Instantly share code, notes, and snippets.

@johnstew
Created February 2, 2017 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnstew/9bff7bb4e1a69391e95f220e8ebd893f to your computer and use it in GitHub Desktop.
Save johnstew/9bff7bb4e1a69391e95f220e8ebd893f to your computer and use it in GitHub Desktop.
tree-shaking webpack index.bundle.js
([function(e, t, n) {
"use strict";
function r() {
console.log("foo called")
}
// NO MORE BAR :)
t.a = r
}, function(e, t, n) {
"use strict";
Object.defineProperty(t, "__esModule", {
value: !0
});
var r = n(0);
n.i(r.a)()
}])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment