diff --git a/.swcrc b/.swcrc index a1f4516..f0fe391 100644 --- a/.swcrc +++ b/.swcrc @@ -1,4 +1,5 @@ { + "sourceMaps": true, "jsc": { "parser": { "syntax": "typescript", diff --git a/package.json b/package.json index 4c15cae..2e1ee97 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "main": "build/index.js", "bin": "build/index.js", "scripts": { - "start": "node build/index.js", + "start": "node --enable-source-maps build/index.js", "build": "rimraf ./build && swc ./cli --out-dir ./build", "build:dev": "swc ./src --out-dir ./build --watch", "build:typescript": "tsc",