Use typescript paths in cli scripts too

This commit is contained in:
Chocobozzz
2019-10-21 17:13:07 +02:00
parent 576ddf645f
commit 2aaa1a3fdc
23 changed files with 82 additions and 9 deletions

View File

@@ -1,3 +1,6 @@
import { registerTSPaths } from '../../server/helpers/register-ts-paths'
registerTSPaths()
import * as jsToXliff12 from 'xliff/jsToXliff12'
import { writeFile } from 'fs-extra'
import { join } from 'path'

View File

@@ -1,3 +1,6 @@
import { registerTSPaths } from '../../server/helpers/register-ts-paths'
registerTSPaths()
import * as xliff12ToJs from 'xliff/xliff12ToJs'
import { readFileSync, unlink, writeFile } from 'fs-extra'
import { join } from 'path'