From 78c9b3da2394881a3172209951a0d3d22803d531 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Wed, 26 Jan 2022 13:50:16 +0300 Subject: [PATCH] add sourceMap --- dist/index.js | 8 ++++---- tsconfig.json | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index 6b9be78dc..fab4a572c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1472,7 +1472,7 @@ exports.debug = debug; // for test Object.defineProperty(exports, "__esModule", { value: true }); const main_1 = __webpack_require__(198); main_1.run(); - +//# sourceMappingURL=setup-go.js.map /***/ }), @@ -2142,7 +2142,7 @@ function isGhes() { const ghUrl = new url_1.URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com'); return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM'; } - +//# sourceMappingURL=main.js.map /***/ }), @@ -5756,7 +5756,7 @@ function getArch() { return arch; } exports.getArch = getArch; - +//# sourceMappingURL=system.js.map /***/ }), @@ -6114,7 +6114,7 @@ function makeSemver(version) { return `${verPart}${prereleasePart}`; } exports.makeSemver = makeSemver; - +//# sourceMappingURL=installer.js.map /***/ }), diff --git a/tsconfig.json b/tsconfig.json index cbb3ddbe6..f2e370422 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -45,7 +45,8 @@ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + "sourceMap": true // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */