Debian Codegraph @

test/cases/es-named-and-default-export/expected/main.js

raw
1 /******/ (() => { // webpackBootstrap
2 /******/ "use strict";
3 /******/ var __webpack_modules__ = ([
4 /* 0 */,
5 /* 1 */
6 /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
7
8 __webpack_require__.r(__webpack_exports__);
9 /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10 /* harmony export */ "a-class": () => (/* binding */ _1),
11 /* harmony export */ b__class: () => (/* binding */ _2),
12 /* harmony export */ cClass: () => (/* binding */ _3),
13 /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
14 /* harmony export */ });
15 // extracted by mini-css-extract-plugin
16 var _1 = "foo__style__a-class";
17 var _2 = "foo__style__b__class";
18 var _3 = "foo__style__cClass";
19
20 /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ "a-class": _1, "b__class": _2, "cClass": _3 });
21
22
23 /***/ })
24 /******/ ]);
25 /************************************************************************/
26 /******/ // The module cache
27 /******/ var __webpack_module_cache__ = {};
28 /******/
29 /******/ // The require function
30 /******/ function __webpack_require__(moduleId) {
31 /******/ // Check if module is in cache
32 /******/ var cachedModule = __webpack_module_cache__[moduleId];
33 /******/ if (cachedModule !== undefined) {
34 /******/ return cachedModule.exports;
35 /******/ }
36 /******/ // Create a new module (and put it into the cache)
37 /******/ var module = __webpack_module_cache__[moduleId] = {
38 /******/ // no module.id needed
39 /******/ // no module.loaded needed
40 /******/ exports: {}
41 /******/ };
42 /******/
43 /******/ // Execute the module function
44 /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
45 /******/
46 /******/ // Return the exports of the module
47 /******/ return module.exports;
48 /******/ }
49 /******/
50 /************************************************************************/
51 /******/ /* webpack/runtime/define property getters */
52 /******/ (() => {
53 /******/ // define getter functions for harmony exports
54 /******/ __webpack_require__.d = (exports, definition) => {
55 /******/ for(var key in definition) {
56 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
57 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
58 /******/ }
59 /******/ }
60 /******/ };
61 /******/ })();
62 /******/
63 /******/ /* webpack/runtime/hasOwnProperty shorthand */
64 /******/ (() => {
65 /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
66 /******/ })();
67 /******/
68 /******/ /* webpack/runtime/make namespace object */
69 /******/ (() => {
70 /******/ // define __esModule on exports
71 /******/ __webpack_require__.r = (exports) => {
72 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
73 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
74 /******/ }
75 /******/ Object.defineProperty(exports, '__esModule', { value: true });
76 /******/ };
77 /******/ })();
78 /******/
79 /************************************************************************/
80 var __webpack_exports__ = {};
81 // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
82 (() => {
83 __webpack_require__.r(__webpack_exports__);
84 /* harmony import */ var _style_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
85
86
87 // eslint-disable-next-line no-console
88 console.log({ css: _style_css__WEBPACK_IMPORTED_MODULE_0__["default"], aClass: _style_css__WEBPACK_IMPORTED_MODULE_0__["a-class"], bClass: _style_css__WEBPACK_IMPORTED_MODULE_0__.b__class, cClass: _style_css__WEBPACK_IMPORTED_MODULE_0__.cClass });
89
90 })();
91
92 /******/ })()
93 ;