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

feat: support for deno.jsonc in vite plugin #253

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

ryuapp
Copy link
Contributor

@ryuapp ryuapp commented Jan 14, 2025

Related: #249

#249 supported for deno.json, but not deno.jsonc. This PR will support for that.

I removed the errors from console.warn, but I will add it if necessary.
There are too many errors to display, so we need some ingenuity.

@ryuapp ryuapp changed the title fix: support for deno.jsonc in vite plugin feat: support for deno.jsonc in vite plugin Jan 14, 2025
} catch {}
}
if (!tsConfigRaw) {
console.warn('Cannot find tsconfig.json or deno.json(c)')
Copy link
Member

Choose a reason for hiding this comment

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

I think this console.warn() is okay!

@yusukebe
Copy link
Member

Hi @ryuapp

Looks good!

There are too many errors to display, so we need some ingenuity.

Does this mean the errors are still being displayed?

@ryuapp
Copy link
Contributor Author

ryuapp commented Jan 15, 2025

There are too many errors to display, so we need some ingenuity.

Does this mean the errors are still being displayed?

No. It is not displayed now.
In other words, I'll do my best if you ask.

I also think that the current simple warning text is good.

Copy link
Member

@yusukebe yusukebe left a comment

Choose a reason for hiding this comment

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

LGTM!

@yusukebe
Copy link
Member

@ryuapp

Okay! Looks good. I'll merge this and release a new version. Thank you!

@yusukebe yusukebe merged commit bfd1b3f into honojs:main Jan 16, 2025
2 checks passed
@ryuapp ryuapp deleted the support-for-deno-jsonc branch January 16, 2025 11:01
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.

2 participants