Created
June 10, 2020 14:46
-
-
Save Joe1220/6a613a3a4c1cd49e4a299dfde00a8d70 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const tsConfigPathFile = require("./tsconfig.paths.json") | |
const tsConfig = require("./tsconfig.json") | |
const tsConfigPaths = require("tsconfig-paths") | |
tsConfigPaths.register({ | |
baseUrl: tsConfig.compilerOptions.outDir, | |
paths: tsConfigPathFile.compilerOptions.paths | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment