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:
parent
1c1c55088f
commit
9c5c2ee48b
1
.swcrc
1
.swcrc
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"sourceMaps": true,
|
||||||
"jsc": {
|
"jsc": {
|
||||||
"parser": {
|
"parser": {
|
||||||
"syntax": "typescript",
|
"syntax": "typescript",
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"bin": "build/index.js",
|
"bin": "build/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node build/index.js",
|
"start": "node --enable-source-maps build/index.js",
|
||||||
"build": "rimraf ./build && swc ./cli --out-dir ./build",
|
"build": "rimraf ./build && swc ./cli --out-dir ./build",
|
||||||
"build:dev": "swc ./src --out-dir ./build --watch",
|
"build:dev": "swc ./src --out-dir ./build --watch",
|
||||||
"build:typescript": "tsc",
|
"build:typescript": "tsc",
|
||||||
|
Loading…
Reference in New Issue
Block a user