Created
November 7, 2023 06:40
-
-
Save IWANABETHATGUY/1ee8aa4c2889a9246d19d7be0ac75bb7 to your computer and use it in GitHub Desktop.
webpack export_star output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******/ (function() { // webpackBootstrap | |
/******/ "use strict"; | |
/******/ var __webpack_modules__ = ({ | |
/***/ "../rspack/crates/rspack/tests/tree-shaking/export_star/bar.js": | |
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { | |
/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
/* harmony export */ b: function() { return /* binding */ b; }, | |
/* harmony export */ bar: function() { return /* reexport module object */ _foo__WEBPACK_IMPORTED_MODULE_0__; }, | |
/* harmony export */ c: function() { return /* reexport safe */ _result__WEBPACK_IMPORTED_MODULE_1__.c; } | |
/* harmony export */ }); | |
/* harmony import */ var _foo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../rspack/crates/rspack/tests/tree-shaking/export_star/foo.js"); | |
/* harmony import */ var _result__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../rspack/crates/rspack/tests/tree-shaking/export_star/result.js"); | |
function b() {} | |
/***/ }), | |
/***/ "../rspack/crates/rspack/tests/tree-shaking/export_star/foo.js": | |
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { | |
__webpack_require__.r(__webpack_exports__); | |
/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
/* harmony export */ a: function() { return /* binding */ a; }, | |
/* harmony export */ b: function() { return /* reexport safe */ _bar__WEBPACK_IMPORTED_MODULE_0__.b; }, | |
/* harmony export */ bar: function() { return /* reexport safe */ _bar__WEBPACK_IMPORTED_MODULE_0__.bar; }, | |
/* harmony export */ c: function() { return /* reexport safe */ _bar__WEBPACK_IMPORTED_MODULE_0__.c; }, | |
/* harmony export */ foo: function() { return /* binding */ foo; } | |
/* harmony export */ }); | |
/* harmony import */ var _bar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../rspack/crates/rspack/tests/tree-shaking/export_star/bar.js"); | |
/* harmony import */ var _result__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../rspack/crates/rspack/tests/tree-shaking/export_star/result.js"); | |
const a = 3; | |
const foo = 3; | |
/***/ }), | |
/***/ "../rspack/crates/rspack/tests/tree-shaking/export_star/result.js": | |
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) { | |
/* harmony export */ __webpack_require__.d(__webpack_exports__, { | |
/* harmony export */ c: function() { return /* binding */ c; } | |
/* harmony export */ }); | |
/* harmony import */ var _foo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../rspack/crates/rspack/tests/tree-shaking/export_star/foo.js"); | |
/* harmony import */ var _bar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("../rspack/crates/rspack/tests/tree-shaking/export_star/bar.js"); | |
const c = 103330; | |
/***/ }) | |
/******/ }); | |
/************************************************************************/ | |
/******/ // The module cache | |
/******/ var __webpack_module_cache__ = {}; | |
/******/ | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ // Check if module is in cache | |
/******/ var cachedModule = __webpack_module_cache__[moduleId]; | |
/******/ if (cachedModule !== undefined) { | |
/******/ return cachedModule.exports; | |
/******/ } | |
/******/ // Create a new module (and put it into the cache) | |
/******/ var module = __webpack_module_cache__[moduleId] = { | |
/******/ // no module.id needed | |
/******/ // no module.loaded needed | |
/******/ exports: {} | |
/******/ }; | |
/******/ | |
/******/ // Execute the module function | |
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); | |
/******/ | |
/******/ // Return the exports of the module | |
/******/ return module.exports; | |
/******/ } | |
/******/ | |
/************************************************************************/ | |
/******/ /* webpack/runtime/define property getters */ | |
/******/ !function() { | |
/******/ // define getter functions for harmony exports | |
/******/ __webpack_require__.d = function(exports, definition) { | |
/******/ for(var key in definition) { | |
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | |
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | |
/******/ } | |
/******/ } | |
/******/ }; | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/hasOwnProperty shorthand */ | |
/******/ !function() { | |
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } | |
/******/ }(); | |
/******/ | |
/******/ /* webpack/runtime/make namespace object */ | |
/******/ !function() { | |
/******/ // define __esModule on exports | |
/******/ __webpack_require__.r = function(exports) { | |
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | |
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | |
/******/ } | |
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | |
/******/ }; | |
/******/ }(); | |
/******/ | |
/************************************************************************/ | |
var __webpack_exports__ = {}; | |
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. | |
!function() { | |
/* harmony import */ var _foo__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("../rspack/crates/rspack/tests/tree-shaking/export_star/foo.js"); | |
_foo__WEBPACK_IMPORTED_MODULE_0__.bar.a; | |
(0,_foo__WEBPACK_IMPORTED_MODULE_0__.c)(); | |
}(); | |
/******/ })() | |
; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment