main.buddle.js 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
  3. * This devtool is neither made for production nor for readable output files.
  4. * It uses "eval()" calls to create a separate source file in the browser devtools.
  5. * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
  6. * or disable the default devtool with "devtool: false".
  7. * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
  8. */
  9. /******/ (() => { // webpackBootstrap
  10. /******/ var __webpack_modules__ = ({
  11. /***/ "./src/main.js":
  12. /*!*********************!*\
  13. !*** ./src/main.js ***!
  14. \*********************/
  15. /***/ (() => {
  16. eval("console.log('hello, world.');\n\nlet promise = new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve(1);\n }, 1000);\n});\n\npromise\n .then((result) => {\n console.log(result);\n })\n .catch((err) => {\n console.error(err);\n });\n\n\n//# sourceURL=webpack://webpack_project/./src/main.js?");
  17. /***/ })
  18. /******/ });
  19. /************************************************************************/
  20. /******/
  21. /******/ // startup
  22. /******/ // Load entry module and return exports
  23. /******/ // This entry module can't be inlined because the eval devtool is used.
  24. /******/ var __webpack_exports__ = {};
  25. /******/ __webpack_modules__["./src/main.js"]();
  26. /******/
  27. /******/ })()
  28. ;