Skip to content

Commit

Permalink
Include sourcemaps for TS line adresses
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Jul 27, 2023
1 parent 22418ac commit 053507f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"test": "jest",
"build": "tsc",
"start": "node build/index.js",
"start": "node --enable-source-maps build/index.js",
"dev": "ts-node-dev src/index.ts",
"test:ci": "jest --ci --coverage"
},
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"target": "ESNext",
"module": "commonjs",
"strict": true,
"outDir": "build"
"outDir": "build",
"sourceMap": true
},
"include": ["src", "typedefs"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit 053507f

Please sign in to comment.