refactor: rename email-server-worker to email-worker
Rename directory from email-server-worker to email-worker for clarity and brevity. Update all references in CLAUDE.md documentation.
This commit is contained in:
36
email-worker/tsconfig.json
Normal file
36
email-worker/tsconfig.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2020", // https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true, // solves the problem regarding the default importa vs importa *
|
||||
"strict": true,
|
||||
"sourceMap": true, // please do create source maps
|
||||
"skipLibCheck": true, // don't verify typescript of 3rd party modules
|
||||
"rootDir": "src", // root directory under which source files are located - it's subtree will be mirrored in "outDir"
|
||||
"outDir": "build", // where the build files should be stored
|
||||
// "baseUrl" ---- se NE SMIJE koristiti
|
||||
// POJAŠNJENJE: ako zadamo "baseUrl" Intellisense će početi kod autocompletion-a (Ctrl+Space)
|
||||
// umjesto relativnih insertirati apsolutni path do modula,
|
||||
// a takav path nije dobar za build niti debugging
|
||||
// "baseUrl": "./", // set a base directory to resolve non-absolute module names - This must be specified if "paths" is used
|
||||
"paths": {
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
// Slijedeće je namijenjeno BUILD projekta
|
||||
// POJAŠNJENJE: build tadi `ttypescript`
|
||||
// koji ne zna interpretirati što je podešeno pod "path"
|
||||
// > to za njega rješava "typescript-transform-paths"
|
||||
"transform": "typescript-transform-paths"
|
||||
}
|
||||
]
|
||||
},
|
||||
"include": ["src/**/*"], // location of files which need to be compiled
|
||||
// Slijedeće je namijenjeno DEBUGGING servera u VS Code-u
|
||||
// POJAŠNJENJE: kod debugginga modul se pokreće pomoću `ts-node`,
|
||||
// koji ne zna sam interpretirati što je podešeno pod "paths"
|
||||
// > to za njega rješava "tsconfig-paths/register"
|
||||
"ts-node": {
|
||||
"require": ["tsconfig-paths/register"]
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user