UNPKG

2.61 kBJavaScriptView Raw
1(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2'use strict';
3
4var val = require('./dep').a;
5
6console.log(val);
7
8},{"./dep":2}],2:[function(require,module,exports){
9'use strict';
10
11Object.defineProperty(exports, "__esModule", {
12 value: true
13});
14const a = exports.a = something();
15const b = /* common-shake removed: exports.b = */ whatever;
16
17function something() {
18 return 'abc';
19}
20
21throw 'something';
22
23function whatever() {
24 return 'xyz';
25}
26
27},{}]},{},[1])
28//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJ0ZXN0L3NvdXJjZS1tYXAvYXBwLmpzIiwidGVzdC9zb3VyY2UtbWFwL2RlcC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7O0FDQUEsSUFBSSxHQUFBLEdBQ0YsT0FBQSxDQUFRLE9BQVIsQ0FBQSxDQUFpQixDQURuQixDQUFBOztBQUdBLE9BQUEsQ0FBUSxHQUFSLENBQ0UsR0FERixDQUFBLENBQUE7Ozs7Ozs7O0FDSE8sTUFBTSxDQUFBLEdBQUEsT0FBQSxDQUFBLENBQUEsR0FBSSxTQUFBLEVBQVYsQ0FBQTtBQUNBLE1BQU0sQ0FBQSxHQUFBLHdDQUFJLFFBQVYsQ0FBQTs7QUFFUCxTQUFTLFNBQVQsR0FBc0I7RUFDcEIsT0FBTyxLQUFQLENBQUE7Q0FDRDs7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