Use source maps

Enable source map output and use it to get better line reporting.
This commit is contained in:
Hornwitser 2025-01-22 07:16:43 +01:00
parent fed46dbb4a
commit 7aa937a7e9
2 changed files with 2 additions and 1 deletions

View file

@ -6,7 +6,7 @@
"main": "build/node/index.js",
"scripts": {
"prepare": "tsc",
"build": "node build/node/cli.js",
"build": "node --enable-source-maps build/node/cli.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {

View file

@ -7,6 +7,7 @@
"jsx": "react-jsx",
"jsxImportSource": "antihtml",
"sourceMap": true,
"lib": ["es2023"],
"target": "es2023",
"module": "node16",