chore(cli): enable source maps for easier debugging

This commit is contained in:
theoludwig committed 2023-07-02 17:32:11 +02:00
1 parent 1c1c55088f
commit 9c5c2ee48b
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
{
"sourceMaps": true,
"jsc": {
"parser": {
"syntax": "typescript",
+1 -1
View File
@@ -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",