diff --git a/bundle/.vscode/launch.json b/bundle/.vscode/launch.json index ad91751f..d7129ed8 100644 --- a/bundle/.vscode/launch.json +++ b/bundle/.vscode/launch.json @@ -17,6 +17,7 @@ "internalConsoleOptions": "openOnSessionStart", "env": { "TS_NODE_PROJECT": "${workspaceFolder}/tsnode.tsconfig.json", + "TS_NODE_COMPILER": "typescript-cached-transpile" }, "resolveSourceMapLocations": null, /* allow breakpoints in modules other than bundle */ }, diff --git a/bundle/package-lock.json b/bundle/package-lock.json index e8b99037..294dfe1f 100644 Binary files a/bundle/package-lock.json and b/bundle/package-lock.json differ diff --git a/bundle/package.json b/bundle/package.json index fa64ce6b..7dc9a776 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -93,6 +93,7 @@ "missing-native-js-functions": "^1.2.18", "morgan": "^1.10.0", "multer": "^1.4.2", + "nanocolors": "^0.2.12", "node-fetch": "^2.6.1", "node-os-utils": "^1.3.5", "patch-package": "^6.4.7", @@ -105,8 +106,8 @@ "tslib": "^2.3.1", "typeorm": "^0.2.37", "typescript": "^4.1.2", + "typescript-cached-transpile": "^0.0.6", "typescript-json-schema": "^0.50.1", - "ws": "^7.4.2", - "nanocolors": "^0.2.12" + "ws": "^7.4.2" } -} \ No newline at end of file +} diff --git a/bundle/tsnode.tsconfig.json b/bundle/tsnode.tsconfig.json index 841cc013..422d336c 100644 --- a/bundle/tsnode.tsconfig.json +++ b/bundle/tsnode.tsconfig.json @@ -3,7 +3,8 @@ "ts-node": { "transpileOnly": true, "preferTsExts": true, - "require": ["tsconfig-paths/register"] + "require": ["tsconfig-paths/register"], + "compiler": "typescript-cached-transpile", }, "compilerOptions": { "rootDir": "../",