1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-10-29 22:17:23 +01:00

chore(cli): enable source maps for easier debugging

This commit is contained in:
Théo LUDWIG 2023-07-02 17:32:11 +02:00
parent 1c1c55088f
commit 9c5c2ee48b
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
2 changed files with 2 additions and 1 deletions

1
.swcrc
View File

@ -1,4 +1,5 @@
{
"sourceMaps": true,
"jsc": {
"parser": {
"syntax": "typescript",

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",