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(deno): avoid Node-style import resolution #249

Merged
merged 1 commit into from
Nov 10, 2023
Merged

fix(deno): avoid Node-style import resolution #249

merged 1 commit into from
Nov 10, 2023

Conversation

BastiDood
Copy link
Contributor

@BastiDood BastiDood commented Nov 10, 2023

This PR fixes the Deno version of this library by preferring *.ts imports rather than relying on the more implicit Node module resolution algorithm. Please do let me know if I missed out on other imports.

Copy link

netlify bot commented Nov 10, 2023

Deploy Preview for valibot canceled.

Name Link
🔨 Latest commit 587d719
🔍 Latest deploy log https://app.netlify.com/sites/valibot/deploys/654dca27e541a50008a7c414

@fabian-hiller
Copy link
Owner

Thank you for noticing that. Normally we should have an ESLint rule that checks this so that it doesn't happen in the first place. I'll have to check what's going on.

@fabian-hiller fabian-hiller self-assigned this Nov 10, 2023
@fabian-hiller fabian-hiller added the bug Something isn't working label Nov 10, 2023
@fabian-hiller fabian-hiller merged commit fbb4ee2 into fabian-hiller:main Nov 10, 2023
10 checks passed
@BastiDood BastiDood deleted the fix-deno-import branch November 10, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants