diff --git a/package.json b/package.json index 671a0af..e708fb1 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/tsconfig.json b/tsconfig.json index 2116965..3c721be 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "jsx": "react-jsx", "jsxImportSource": "antihtml", + "sourceMap": true, "lib": ["es2023"], "target": "es2023", "module": "node16",