Skip to content

Commit 7ae56f0

Browse files
committed
(wip)
1 parent 70a5422 commit 7ae56f0

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed

bin/index.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"rollup-plugin-node-externals": "^4.1.1",
2929
"rollup-plugin-sourcemaps": "^0.6.3",
3030
"rollup-plugin-terser": "^7.0.2",
31-
"rollup-plugin-typescript2": "^0.35.0"
31+
"rollup-plugin-typescript2": "^0.35.0",
32+
"source-map-support": "^0.5.21"
3233
}
3334
}

rollup.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ export default {
3333
terser(),
3434
typescript({
3535
useTsconfigDeclarationDir: true,
36-
sourceMap: true,
37-
inlineSources: true,
3836
}),
3937
json(),
4038
],

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ const iconEquals = getInput("icon-equals") || ":stop_button:";
4949
const iconIncreased = getInput("icon-increased") || ":arrow_up_small:";
5050
const iconDecreased = getInput("icon-decreased") || ":arrow_down_small:";
5151
const iconNew = getInput("icon-new") || ":new:";
52+
import { install } from "source-map-support";
53+
install();
5254

5355
const comment = async (
5456
cStats: Stats,

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"declaration": false,
33
"compilerOptions": {
4-
"esModuleInterop": true
4+
"esModuleInterop": true,
5+
"sourceMap": true
56
}
67
}

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ source-map-resolve@^0.6.0:
755755
atob "^2.1.2"
756756
decode-uri-component "^0.2.0"
757757

758-
source-map-support@~0.5.20:
758+
source-map-support@^0.5.21, source-map-support@~0.5.20:
759759
version "0.5.21"
760760
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
761761
integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==

0 commit comments

Comments
 (0)