From 2c6e43f4895f94aaee09fb5746ff54f62f00b6a0 Mon Sep 17 00:00:00 2001 From: jbristowe Date: Tue, 13 Apr 2021 12:53:23 +1000 Subject: [PATCH] chore: updated build task and distribution --- dist/index.js | 165 ++++++++++++++++++++++++++++++++++++++++++++++++-- package.json | 2 +- 2 files changed, 162 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index a6440a4e..ae579c8c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,4 +1,10 @@ -require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ 212: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ 283: @@ -5249,6 +5255,158 @@ module.exports = __nccwpck_require__(669);; /***/ 357: /***/ ((module) => { +"use strict"; +module.exports = __nccwpck_require__(357);; + +/***/ }), + +/***/ 129: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(129);; + +/***/ }), + +/***/ 417: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(417);; + +/***/ }), + +/***/ 614: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(614);; + +/***/ }), + +/***/ 747: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(747);; + +/***/ }), + +/***/ 605: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(605);; + +/***/ }), + +/***/ 211: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(211);; + +/***/ }), + +/***/ 631: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(631);; + +/***/ }), + +/***/ 87: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(87);; + +/***/ }), + +/***/ 622: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(622);; + +/***/ }), + +/***/ 413: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(413);; + +/***/ }), + +/***/ 16: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(16);; + +/***/ }), + +/***/ 669: +/***/ ((module) => { + +"use strict"; +module.exports = __nccwpck_require__(669);; + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __nccwpck_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 +/******/ var threw = true; +/******/ try { +/******/ __webpack_modules__[moduleId](module, module.exports, __nccwpck_require__); +/******/ threw = false; +/******/ } finally { +/******/ if(threw) delete __webpack_module_cache__[moduleId]; +/******/ } +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/compat */ +/******/ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module is referenced by other modules so it can't be inlined +/******/ var __webpack_exports__ = __nccwpck_require__(283); +/******/ module.exports = __webpack_exports__; +/******/ +/******/ })() +; + +/***/ }), + +/***/ 357: +/***/ ((module) => { + "use strict"; module.exports = require("assert");; @@ -5390,9 +5548,8 @@ module.exports = require("util");; /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module is referenced by other modules so it can't be inlined -/******/ var __webpack_exports__ = __nccwpck_require__(283); +/******/ var __webpack_exports__ = __nccwpck_require__(212); /******/ module.exports = __webpack_exports__; /******/ /******/ })() -; -//# sourceMappingURL=index.js.map \ No newline at end of file +; \ No newline at end of file diff --git a/package.json b/package.json index 48535b54..08a5bdef 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ }, "scripts": { "all": "npm run build && npm run format && npm run lint && npm run package && npm test", - "build": "tsc && ncc build out/main.js -o dist", + "build": "tsc && ncc build -o dist", "format": "prettier --write **/*.ts", "format-check": "prettier --check **/*.ts", "lint": "eslint src/**/*.ts",