Skip to content

Commit

Permalink
chore: enable source maps for easier debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
theoludwig committed Jul 2, 2023
1 parent eb970f1 commit c7bf821
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .swcrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"sourceMaps": true,
"jsc": {
"parser": {
"syntax": "typescript",
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"bin": "build/index.js",
"files": [
"build",
"!**/*.test.js"
"!**/*.test.js",
"!**/*.map"
],
"publishConfig": {
"access": "public",
Expand All @@ -37,13 +38,14 @@
"scripts": {
"build": "rimraf ./build && swc ./src --out-dir ./build",
"build:typescript": "tsc",
"start": "node --enable-source-maps build/index.js",
"lint:commit": "commitlint",
"lint:editorconfig": "editorconfig-checker",
"lint:markdown": "markdownlint-cli2",
"lint:eslint": "eslint . --ignore-path .gitignore",
"lint:prettier": "prettier . --check --ignore-path .gitignore",
"lint:staged": "lint-staged",
"test": "node --test build/",
"test": "node --enable-source-maps --test build/",
"release": "semantic-release"
},
"dependencies": {
Expand Down

0 comments on commit c7bf821

Please sign in to comment.