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

Feature: Add support for JIT mode for testing #368

Closed
2 tasks
brandonroberts opened this issue May 4, 2023 · 0 comments · Fixed by #374
Closed
2 tasks

Feature: Add support for JIT mode for testing #368

brandonroberts opened this issue May 4, 2023 · 0 comments · Fixed by #374
Labels
enhancement New feature or request

Comments

@brandonroberts
Copy link
Member

Which scope/s are relevant/related to the feature request?

vite-plugin-angular

Information

Currently when running tests, the TypeScript files are compiled with AOT using the plugin. Angular compilation supports JIT mode also which could be faster in terms of compilation, but would require the @angular/compiler to be imported.

This would add an option to the plugin for enableJit that is enabled when process.env['NODE_ENV'] === 'test'

Describe any alternatives/workarounds you're currently using

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant