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/compiler warnings #45

Merged
merged 6 commits into from
Jun 5, 2021
Merged

Fix/compiler warnings #45

merged 6 commits into from
Jun 5, 2021

Conversation

dominikg
Copy link
Member

compiler warnings were not logged because plugin-context wasn't passed to compile call. this fixes it

@dominikg
Copy link
Member Author

unfortunately the handleHotUpdate hook of vite does not offer PluginContext as "this". so using 'warn' isn't going to work there.

Either provide a custom 'onwarn' option that delegates back to vite somehow or completely handle it ourselves?

@dominikg dominikg merged commit 673cf61 into main Jun 5, 2021
@dominikg dominikg deleted the fix/compiler-warnings branch June 5, 2021 12:46
@github-actions github-actions bot mentioned this pull request Jun 5, 2021
@github-actions github-actions bot mentioned this pull request Jul 13, 2022
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.

1 participant