Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // index.js
- import { foo } from './module-tree-shaking.js';
- foo();
- // module-tree-shaking.js
- export const foo = function foo() {
- bar();
- };
- export const bar = function bar() {
- console.log('bar');
- };
- // result
- webpackJsonp([1, 2], {
- GO9H: function(n, e, t) {
- "use strict";
- t.d(e, "a", function() {
- return o
- });
- var o = function() {
- c()
- },
- c = function() {
- console.log("bar")
- }
- },
- lVK7: function(n, e, t) {
- "use strict";
- Object.defineProperty(e, "__esModule", {
- value: !0
- });
- var o = t("GO9H");
- t.i(o.a)()
- }
- }, ["lVK7"]);
- //# sourceMappingURL=app.4d3f37edbaf954d8f825.prod.js.map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement