Sarthak Batrablog.srthk.com·Apr 18, 2024Modern tsconfig template [2024]In this blog, I am keeping a draft example of the modern tsconfig file that works for me in the projects that I am making. { "compilerOptions": { "target": "ESNext", "experimentalDecorators": false, "module": "commonjs", "rootDir": ...rapidcoding
Moniquectrlaltmonique.hashnode.dev·Feb 23, 2024Resolving "Paths Cannot Find Module" Error in tsconfig.jsonRelative imports can quickly clutter up your codebase, making it difficult to maintain and understand. That's where aliasing comes in handy, allowing you to simplify your import statements and keep your code clean. However, as I recently discovered, ...typescript paths
le jackunpacker.hashnode.dev·Jan 5, 2024Setting tsconfig alias pathsIntroduction When importing certain components or files, the deeper the path goes, the longer the relative path can be, depending on the location of the file you want to import. // e.g. sample import deep from '../../../../../../../A/B/C/file.js'; /...3 likes·599 readstsconfig.json