fix(node-dev): fix the custom node build command (#4148)

* fix(node-dev): fix the custom node build command

also
* wait for the build command to finish before logging the success message
* use module relative paths for looking up `tsconfig` and `tsc` using `require.resolve`

* copy over svg files as well

* copy over the static files before the compilation step

this makes sure that these files are also copied over with `--watch`
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-09-21 09:36:44 +02:00
committed by GitHub
parent e20982442b
commit 4d8c380bef
5 changed files with 51 additions and 285 deletions

View File

@@ -1,10 +1,18 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"strict": true,
"module": "commonjs",
"moduleResolution": "node",
"target": "es2019",
"lib": ["es2019", "es2020"],
"importHelpers": true,
"esModuleInterop": true,
"declaration": true,
"incremental": true,
"sourceMap": true
},
"include": [
"*.credentials.ts",
"*.node.ts"
"**/*.credentials.ts",
"**/*.node.ts"
]
}