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: fixed checking for tsx support #416

Merged
merged 2 commits into from
Jul 1, 2024
Merged

fix: fixed checking for tsx support #416

merged 2 commits into from
Jul 1, 2024

Conversation

AhsokaT
Copy link
Contributor

@AhsokaT AhsokaT commented Jul 1, 2024

Added

  • function checkPreloadModulesSubstring

Small fix for TS environment support. tsx has to be searched as a substring when it's present in process._preload_modules as the string takes a form similar to:

['path_to_project_or_npm/node_modules/tsx/dist/preflight.cjs']

Function may be used in the future by modules similarly loaded like this.

@favna favna merged commit 3e3a404 into sapphiredev:main Jul 1, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants