Skip to content

Conversation

@thecrypticace
Copy link
Contributor

Fixes #1072

We already have tests to cover this case but vitest hooks into module loading which lets us load TypeScript during tests. I tested it by running the tests against the server running as a separate node process rather than importing the sources and running the server in-process.

The test harness is already set up for this so the only change needed to test this manually was this:
Screenshot 2024-10-25 at 15 43 28

@thecrypticace thecrypticace changed the title Transpile TypeScript plugins and configs for v4 projects Support loading TypeScript configs and plugins in v4 projects Oct 25, 2024
@RobinMalfait RobinMalfait merged commit cb0f305 into main Nov 8, 2024
@RobinMalfait RobinMalfait deleted the fix/v4-load-via-jiti branch November 8, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4 participants