diff --git a/package.json b/package.json index 47c1033..e208dc7 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,7 @@ "@types/node": "^15.12.3", "@types/rimraf": "^3.0.0", "@types/sinon": "^10.0.2", + "@types/source-map-support": "^0", "@typescript-eslint/eslint-plugin": "^4.27.0", "@typescript-eslint/parser": "^4.27.0", "@typescript-eslint/typescript-estree": "^4.27.0", @@ -91,6 +92,7 @@ "rollup-plugin-multi-input": "^1.3.1", "rollup-plugin-terser": "^7.0.2", "sinon": "^11.1.1", + "source-map-support": "^0.5.19", "standard-version": "^9.3.0", "ts-node": "^10.0.0", "tsconfig-paths": "^3.9.0", diff --git a/tsconfig.json b/tsconfig.json index 54b6b0d..bfb3393 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -49,6 +49,9 @@ "preserveConstEnums": true, "resolveJsonModule": true, "traceResolution": false, + "sourceMap": true, + "inlineSourceMap": true, + "inlineSources": true, "baseUrl": ".", "plugins": [ { diff --git a/yarn.lock b/yarn.lock index 0b70ef6..96cfc34 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1001,6 +1001,15 @@ __metadata: languageName: node linkType: hard +"@types/source-map-support@npm:^0": + version: 0.5.3 + resolution: "@types/source-map-support@npm:0.5.3" + dependencies: + source-map: ^0.6.0 + checksum: 96eabd19d1640e5921d9830f075d832d16febb0e0d5131c58f47338afcc0070d3fa74f73052d7529906c17c7ba979920a0c660ca845d9d29ae3534f28b91896d + languageName: node + linkType: hard + "@types/tinycolor2@npm:*, @types/tinycolor2@npm:^1.4.0": version: 1.4.2 resolution: "@types/tinycolor2@npm:1.4.2" @@ -1549,6 +1558,7 @@ __metadata: "@types/node": ^15.12.3 "@types/rimraf": ^3.0.0 "@types/sinon": ^10.0.2 + "@types/source-map-support": ^0 "@typescript-eslint/eslint-plugin": ^4.27.0 "@typescript-eslint/parser": ^4.27.0 "@typescript-eslint/typescript-estree": ^4.27.0 @@ -1580,6 +1590,7 @@ __metadata: rollup-plugin-terser: ^7.0.2 sinon: ^11.1.1 sodium: ^3.0.2 + source-map-support: ^0.5.19 standard-version: ^9.3.0 terminal-link: ^3.0.0 ts-node: ^10.0.0 @@ -6868,7 +6879,7 @@ __metadata: languageName: node linkType: hard -"source-map-support@npm:^0.5.17, source-map-support@npm:~0.5.19": +"source-map-support@npm:^0.5.17, source-map-support@npm:^0.5.19, source-map-support@npm:~0.5.19": version: 0.5.19 resolution: "source-map-support@npm:0.5.19" dependencies: