Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(paths): Allow usage of TSConfig Paths #76

Merged
merged 8 commits into from
May 26, 2020
Prev Previous commit
lint(index): Fix lint errrors on unused imports
EntraptaJ committed May 26, 2020
commit d7a248182c53724269c28743343c995bd9fac0c6
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
// src/index.ts
import { createRequire } from 'module';
import { basename, dirname, resolve as resolvePath, relative } from 'path';
import { basename, dirname, resolve as resolvePath } from 'path';
import ts, { CompilerOptions } from 'typescript';
import { fileURLToPath, pathToFileURL } from 'url';
import { findFiles } from './findFiles';
import {
DynamicInstantiateResponse,
GetFormatResponse,
ModuleFormat,
ResolveContext,
ResolveResponse,
Source,
TransformContext,
TransformResponse,
DynamicInstantiateResponse,
GetFormatResponse,
} from './types';
import { getTSConfig } from './Utils';