/absolute-paths

An effective hack to have absolute path support in TypeScript and Node

Primary LanguageTypeScript

Absolute paths

  • A simple way to get absolute paths working with TypeScript and Node

Commands

  • yarn dev: Runs the dev server using ts-node-dev.

  • yarn build: Builds the Express app and updates the module resolution

  • yarn start: Start the express server via Node with absolute path support