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

References to checker plugin in production build #112

Closed
Grisu118 opened this issue Feb 11, 2022 · 1 comment
Closed

References to checker plugin in production build #112

Grisu118 opened this issue Feb 11, 2022 · 1 comment

Comments

@Grisu118
Copy link

The new version 0.4.0 adds the following line to the index.html

<script type="module">import { inject } from "/@vite-plugin-checker-runtime"; inject();</script>

This is done also for a production build, in my eyes this is wrong and should only happen for dev builds.

@fi3ework
Copy link
Owner

@Grisu118 Sorry for my stupid mistake 😅. I made a hotfix and published 0.4.1. I'll add a test case for this issue later. Thanks for your good catch! Please upgrade to 0.4.1 🤗. https://github.com/fi3ework/vite-plugin-checker/blob/main/packages/vite-plugin-checker/CHANGELOG.md#041-2022-02-11

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

No branches or pull requests

2 participants