From 31a7c8477035e7db955414adb5c527e234bb7758 Mon Sep 17 00:00:00 2001 From: Jonas Kello Date: Thu, 30 Sep 2021 07:04:37 +0200 Subject: [PATCH] Clarify bootstrapping --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 826ac1b..35369cb 100644 --- a/README.md +++ b/README.md @@ -87,6 +87,8 @@ The following is an example configuration for the `.vscode/launch.json`. If you want more granular control over tsconfig-paths you can bootstrap it. This can be useful if you for instance have compiled with `tsc` to another directory where `tsconfig.json` doesn't exists. +For example, create a wrapper script called `tsconfig-paths-bootstrap.js` with the contents below: + ```javascript const tsConfig = require("./tsconfig.json"); const tsConfigPaths = require("tsconfig-paths");