Skip to content

Commit

Permalink
fix: try to get build passing
Browse files Browse the repository at this point in the history
- add parcel --no-cache
- ignore try catch type errors in tsconfig
  • Loading branch information
tom-power committed Nov 4, 2022
1 parent d83ea4e commit c9a2ede
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"clean": "shx rm -rf dist ./.parcel-cache",
"build.tsc": "tsc -p src/tsconfig.json",
"dev": "tsc --watch -p src/tsconfig.json",
"build": "cross-env NODE_ENV=production parcel build --target main ./src/terminal.ts",
"build": "cross-env NODE_ENV=production parcel build --target main ./src/terminal.ts --no-cache",
"build-commit": "npm run clean && build-commit -o dist",
"prepare": "npm run build"
},
Expand Down
3 changes: 2 additions & 1 deletion src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"module": "commonjs",
"moduleResolution": "node",
"importHelpers": false,
"outDir": "../dist"
"outDir": "../dist",
"useUnknownInCatchVariables": false
},
"compileOnSave": false
}

0 comments on commit c9a2ede

Please sign in to comment.