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

Passing a custom path to TypeScript #290

Open
3 tasks done
DiFuks opened this issue Dec 25, 2023 · 1 comment · May be fixed by #296
Open
3 tasks done

Passing a custom path to TypeScript #290

DiFuks opened this issue Dec 25, 2023 · 1 comment · May be fixed by #296

Comments

@DiFuks
Copy link

DiFuks commented Dec 25, 2023

Is your feature request related to a problem? Please describe.

Some libraries like ts-patch or ttypescript provide the ability to write plugins for TypeScript, for example, to add custom diagnostics

Similar plugins for webpack, such as fork-ts-checker and ts-loader, allow passing a custom path to TypeScript. This feature is greatly needed in vite-plugin-checker

Describe the solution you'd like

Something like:

export default {
  plugins: [checker({ typescript: { compiler: 'ts-patch/compiler' } })],
}

Describe alternatives you've considered

No response

Additional context

I'm ready to implement this feature myself and submit a pull request if you think it's a good idea

Validations

  • Read the docs.
  • Read the Contributing Guidelines.
  • Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.
@DiFuks DiFuks linked a pull request Jan 18, 2024 that will close this issue
@DiFuks
Copy link
Author

DiFuks commented Jan 18, 2024

I've opened a pull request: #296

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant