feat: source-map

This commit is contained in:
mozzie 2023-02-22 07:24:30 +08:00
parent 8fde7ef976
commit 9726dc85c6
8 changed files with 94 additions and 93 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
@ -16,7 +16,7 @@
\***********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@backset/server/./view/page/home/index.less?");
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi92aWV3L3BhZ2UvaG9tZS9pbmRleC5sZXNzLmpzIiwibWFwcGluZ3MiOiI7QUFBQSIsInNvdXJjZXMiOlsid2VicGFjazovL0BiYWNrc2V0L3NlcnZlci8uL3ZpZXcvcGFnZS9ob21lL2luZGV4Lmxlc3M/YTVlMSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCB7fTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./view/page/home/index.less\n");
/***/ }),
@ -26,7 +26,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extr
\***********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@backset/server/./view/page/home/index.scss?");
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi92aWV3L3BhZ2UvaG9tZS9pbmRleC5zY3NzLmpzIiwibWFwcGluZ3MiOiI7QUFBQSIsInNvdXJjZXMiOlsid2VicGFjazovL0BiYWNrc2V0L3NlcnZlci8uL3ZpZXcvcGFnZS9ob21lL2luZGV4LnNjc3M/MmE1ZCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCB7fTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./view/page/home/index.scss\n");
/***/ }),
@ -36,7 +36,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extr
\*********************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n__webpack_require__(/*! ./index.less */ \"./view/page/home/index.less\");\n__webpack_require__(/*! ./index.scss */ \"./view/page/home/index.scss\");\nconsole.log('use ts wepack');\n// import { createPopper } from '@popperjs/core';\n// const popcorn = document.querySelector('#popcorn');\n// const tooltip = document.querySelector('#tooltip');\n// createPopper(popcorn, tooltip, {\n// placement: 'top',\n// });\nconst bootstrap_1 = __webpack_require__(/*! bootstrap */ \"../../node_modules/.pnpm/registry.npmmirror.com+bootstrap@5.2.3_@popperjs+core@2.11.6/node_modules/bootstrap/dist/js/bootstrap.esm.js\");\nconst tooltipTriggerList = document.querySelectorAll('[data-bs-toggle=\"tooltip\"]');\n[...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap_1.Tooltip(tooltipTriggerEl, { delay: 100 }));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi92aWV3L3BhZ2UvaG9tZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHdCQUFzQjtBQUN0Qix3QkFBc0I7QUFFdEIsT0FBTyxDQUFDLEdBQUcsQ0FBQyxlQUFlLENBQUMsQ0FBQztBQUU3QixpREFBaUQ7QUFDakQsc0RBQXNEO0FBQ3RELHNEQUFzRDtBQUN0RCxtQ0FBbUM7QUFDbkMsc0JBQXNCO0FBQ3RCLE1BQU07QUFFTix5Q0FJbUI7QUFFbkIsTUFBTSxrQkFBa0IsR0FBRyxRQUFRLENBQUMsZ0JBQWdCLENBQ2xELDRCQUE0QixDQUM3QixDQUFDO0FBQ0YsQ0FBQyxHQUFHLGtCQUFrQixDQUFDLENBQUMsR0FBRyxDQUN6QixnQkFBZ0IsQ0FBQyxFQUFFLENBQUMsSUFBSSxtQkFBTyxDQUFDLGdCQUFnQixFQUFFLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBRSxDQUFDLENBQ2xFLENBQUMifQ==\n\n//# sourceURL=webpack://@backset/server/./view/page/home/index.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n__webpack_require__(/*! ./index.less */ \"./view/page/home/index.less\");\n__webpack_require__(/*! ./index.scss */ \"./view/page/home/index.scss\");\nconsole.log('use ts wepack');\n// import { createPopper } from '@popperjs/core';\n// const popcorn = document.querySelector('#popcorn');\n// const tooltip = document.querySelector('#tooltip');\n// createPopper(popcorn, tooltip, {\n// placement: 'top',\n// });\nconst bootstrap_1 = __webpack_require__(/*! bootstrap */ \"../../node_modules/.pnpm/registry.npmmirror.com+bootstrap@5.2.3_@popperjs+core@2.11.6/node_modules/bootstrap/dist/js/bootstrap.esm.js\");\nconst tooltipTriggerList = document.querySelectorAll('[data-bs-toggle=\"tooltip\"]');\n[...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap_1.Tooltip(tooltipTriggerEl, { delay: 100 }));\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi92aWV3L3BhZ2UvaG9tZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHdCQUFzQjtBQUN0Qix3QkFBc0I7QUFFdEIsT0FBTyxDQUFDLEdBQUcsQ0FBQyxlQUFlLENBQUMsQ0FBQztBQUU3QixpREFBaUQ7QUFDakQsc0RBQXNEO0FBQ3RELHNEQUFzRDtBQUN0RCxtQ0FBbUM7QUFDbkMsc0JBQXNCO0FBQ3RCLE1BQU07QUFFTix5Q0FJbUI7QUFFbkIsTUFBTSxrQkFBa0IsR0FBRyxRQUFRLENBQUMsZ0JBQWdCLENBQ2xELDRCQUE0QixDQUM3QixDQUFDO0FBQ0YsQ0FBQyxHQUFHLGtCQUFrQixDQUFDLENBQUMsR0FBRyxDQUN6QixnQkFBZ0IsQ0FBQyxFQUFFLENBQUMsSUFBSSxtQkFBTyxDQUFDLGdCQUFnQixFQUFFLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBRSxDQUFDLENBQ2xFLENBQUMifQ==//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi92aWV3L3BhZ2UvaG9tZS9pbmRleC50cy5qcyIsIm1hcHBpbmdzIjoiQUFBYTtBQUNiLDhDQUE2QyxFQUFFLGFBQWEsRUFBQztBQUM3RCxtQkFBTyxDQUFDLGlEQUFjO0FBQ3RCLG1CQUFPLENBQUMsaURBQWM7QUFDdEI7QUFDQSxZQUFZLGVBQWU7QUFDM0I7QUFDQTtB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VyRWwsIHsgZGVsYXk6IDEwMCB9KSk7XG4vLyMgc291cmNlTWFwcGluZ1VSTD1kYXRhOmFwcGxpY2F0aW9uL2pzb247YmFzZTY0LGV5SjJaWEp6YVc5dUlqb3pMQ0ptYVd4bElqb2lhVzVrWlhndWFuTWlMQ0p6YjNWeVkyVlNiMjkwSWpvaUlpd2ljMjkxY21ObGN5STZXeUl1TGk4dUxpOHVMaTh1TGk5MmFXVjNMM0JoWjJVdmFHOXRaUzlwYm1SbGVDNTBjeUpkTENKdVlXMWxjeUk2VzEwc0ltMWhjSEJwYm1keklqb2lPenRCUVVGQkxIZENRVUZ6UWp0QlFVTjBRaXgzUWtGQmMwSTdRVUZGZEVJc1QwRkJUeXhEUVVGRExFZEJRVWNzUTBGQlF5eGxRVUZsTEVOQlFVTXNRMEZCUXp0QlFVVTNRaXhwUkVGQmFVUTdRVUZEYWtRc2MwUkJRWE5FTzBGQlEzUkVMSE5FUVVGelJEdEJRVU4wUkN4dFEwRkJiVU03UVVGRGJrTXNjMEpCUVhOQ08wRkJRM1JDTEUxQlFVMDdRVUZGVGl4NVEwRkpiVUk3UVVGRmJrSXNUVUZCVFN4clFrRkJhMElzUjBGQlJ5eFJRVUZSTEVOQlFVTXNaMEpCUVdkQ0xFTkJRMnhFTERSQ1FVRTBRaXhEUVVNM1FpeERRVUZETzBGQlEwWXNRMEZCUXl4SFFVRkhMR3RDUVVGclFpeERRVUZETEVOQlFVTXNSMEZCUnl4RFFVTjZRaXhuUWtGQlowSXNRMEZCUXl4RlFVRkZMRU5CUVVNc1NVRkJTU3h0UWtGQlR5eERRVUZETEdkQ1FVRm5RaXhGUVVGRkxFVkJRVVVzUzBGQlN5eEZRVUZGTEVkQlFVY3NSVUZCUlN4RFFVRkRMRU5CUTJ4RkxFTkJRVU1pZlE9PSJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./view/page/home/index.ts\n");
/***/ })

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
@ -16,7 +16,7 @@
\***************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack://@backset/server/./view/page/notFound/index.less?");
eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi92aWV3L3BhZ2Uvbm90Rm91bmQvaW5kZXgubGVzcy5qcyIsIm1hcHBpbmdzIjoiO0FBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AYmFja3NldC9zZXJ2ZXIvLi92aWV3L3BhZ2Uvbm90Rm91bmQvaW5kZXgubGVzcz9jYmVhIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IHt9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./view/page/notFound/index.less\n");
/***/ }),
@ -26,7 +26,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extr
\*************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n__webpack_require__(/*! ./index.less */ \"./view/page/notFound/index.less\");\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi92aWV3L3BhZ2Uvbm90Rm91bmQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx3QkFBc0IifQ==\n\n//# sourceURL=webpack://@backset/server/./view/page/notFound/index.ts?");
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n__webpack_require__(/*! ./index.less */ \"./view/page/notFound/index.less\");\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi92aWV3L3BhZ2Uvbm90Rm91bmQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx3QkFBc0IifQ==//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi92aWV3L3BhZ2Uvbm90Rm91bmQvaW5kZXgudHMuanMiLCJtYXBwaW5ncyI6IkFBQWE7QUFDYiw4Q0FBNkMsRUFBRSxhQUFhLEVBQUM7QUFDN0QsbUJBQU8sQ0FBQyxxREFBYztBQUN0QiwyQ0FBMkMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AYmFja3NldC9zZXJ2ZXIvLi92aWV3L3BhZ2Uvbm90Rm91bmQvaW5kZXgudHM/YWU3OCJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcbk9iamVjdC5kZWZpbmVQcm9wZXJ0eShleHBvcnRzLCBcIl9fZXNNb2R1bGVcIiwgeyB2YWx1ZTogdHJ1ZSB9KTtcbnJlcXVpcmUoXCIuL2luZGV4Lmxlc3NcIik7XG4vLyMgc291cmNlTWFwcGluZ1VSTD1kYXRhOmFwcGxpY2F0aW9uL2pzb247YmFzZTY0LGV5SjJaWEp6YVc5dUlqb3pMQ0ptYVd4bElqb2lhVzVrWlhndWFuTWlMQ0p6YjNWeVkyVlNiMjkwSWpvaUlpd2ljMjkxY21ObGN5STZXeUl1TGk4dUxpOHVMaTh1TGk5MmFXVjNMM0JoWjJVdmJtOTBSbTkxYm1RdmFXNWtaWGd1ZEhNaVhTd2libUZ0WlhNaU9sdGRMQ0p0WVhCd2FXNW5jeUk2SWpzN1FVRkJRU3gzUWtGQmMwSWlmUT09Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./view/page/notFound/index.ts\n");
/***/ })
@ -72,7 +72,7 @@ eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n__we
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module can't be inlined because the eval devtool is used.
/******/ // This entry module can't be inlined because the eval-source-map devtool is used.
/******/ var __webpack_exports__ = __webpack_require__("./view/page/notFound/index.ts");
/******/
/******/ })()

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
@import '~bootstrap/scss/bootstrap';
@import '~bootstrap/scss/bootstrap';

View File

@ -33,6 +33,7 @@ module.exports = {
filename: '[name].js',
chunkFilename: '[id].chunk.js?[hash:8]',
},
devtool: 'eval-source-map',
mode: isDev ? 'development' : 'production',
optimization: {
splitChunks: {