Skip to content

fix(eval): return fallback value#326

Merged
pi0 merged 1 commit intounjs:mainfrom
webpro:fix/issue-324
Oct 7, 2024
Merged

fix(eval): return fallback value#326
pi0 merged 1 commit intounjs:mainfrom
webpro:fix/issue-324

Conversation

@webpro
Copy link
Copy Markdown
Contributor

@webpro webpro commented Oct 7, 2024

Resolve #324 (comment).

Seems to do the trick. Let me if know if you'd need extra tests.

Copy link
Copy Markdown
Member

@pi0 pi0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

(you can test with jiti-nightly after merge)

@pi0 pi0 changed the title Return fallback eval-ed module fix(eval): return fallback value Oct 7, 2024
@webpro
Copy link
Copy Markdown
Contributor Author

webpro commented Oct 7, 2024

(built, installed and tested with pnpm install ../jiti etc)

@pi0 pi0 merged commit dccce59 into unjs:main Oct 7, 2024
@webpro webpro deleted the fix/issue-324 branch October 7, 2024 16:34
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 this pull request may close these issues.

Regression when require(extensionless-ts) from JS

2 participants