mirror of
https://github.com/zhigang1992/hasura-backend-plus.git
synced 2026-01-12 22:47:51 +08:00
9 lines
306 B
JavaScript
9 lines
306 B
JavaScript
const tsConfig = require('./tsconfig.json')
|
|
const tsConfigPaths = require('tsconfig-paths')
|
|
|
|
const baseUrl = './dist' // Either absolute or relative path. If relative it's resolved to current working directory.
|
|
const cleanup = tsConfigPaths.register({
|
|
baseUrl,
|
|
paths: tsConfig.compilerOptions.paths
|
|
})
|