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

fix: do not import typescript outside of config/project loading #1433

Merged
merged 1 commit into from Aug 18, 2021

Commits on Aug 17, 2021

  1. fix: be completely independent from typescript

    Or: to resolve typescript module correctly.
    
    The current code still has a "hard" top-level requiring for typescript, which may cause issues when installing ts-node globally and installing typescript locally (i.e. you have to install them both globally or both locally). Since we've already resolving typescript smartly in the code using `loadCompiler`, why not resolving `ScriptTarget` from the resolved one?
    Songkeys committed Aug 17, 2021
    Copy the full SHA
    ff003eb View commit details
    Browse the repository at this point in the history