summary refs log tree commit diff
path: root/bundle/tsnode.tsconfig.json
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-03-06 17:18:35 +1100
committerGitHub <noreply@github.com>2022-03-06 09:18:35 +0300
commit68f6fe58d5266af4a38e86ed2f817df3638f2323 (patch)
tree86563efad824bdae646b091456daa9e83bee84fb /bundle/tsnode.tsconfig.json
parentdocument which field is which (diff)
downloadserver-ts-68f6fe58d5266af4a38e86ed2f817df3638f2323.tar.xz
Tsnode support (#580)
* ts-node support. debugging is slightly wonky as vscode will not allow breakpoints in modules that aren't bundle, yet.

* apparently ts-node compilerOptions.path wasn't needed? on windows I could've sworn it was.

* Cleaned up tsconfig.json a bit ( moved tsnode config to own file ).
Fixed breakpoints for all modules under tsnode

* Removed Microsoft Corp advert
* Remove one more Microsoft Corp. ad

Signed-off-by: Erkin Alp Güney <erkinalp9035@gmail.com>

* Added `tsnode` npm script

* Added `typescript-cached-transpile` package to help improve performance

Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
Diffstat (limited to 'bundle/tsnode.tsconfig.json')
-rw-r--r--bundle/tsnode.tsconfig.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/bundle/tsnode.tsconfig.json b/bundle/tsnode.tsconfig.json
new file mode 100644

index 00000000..422d336c --- /dev/null +++ b/bundle/tsnode.tsconfig.json
@@ -0,0 +1,15 @@ +{ + "extends": "./tsconfig.json", + "ts-node": { + "transpileOnly": true, + "preferTsExts": true, + "require": ["tsconfig-paths/register"], + "compiler": "typescript-cached-transpile", + }, + "compilerOptions": { + "rootDir": "../", + "baseUrl": "../", + "sourceRoot": "../", + "sourceMap": true, + } +} \ No newline at end of file