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] do not generate unused-export-let inside <script context="module"> #7232

Merged
merged 1 commit into from Mar 3, 2022

Commits on Feb 7, 2022

  1. fix: do not generate unused-export-let inside <script context="module">

    Fixes sveltejs#7055
    
    I think this might be the best way to fix the linked issue, and I think it's a reasonable change. Since code inside <script context="module"> is basically just regular JS, warnings like this can be delegated to userland tools--I don't think it needs to be the Svelte compiler's business especially when these compiler warnings cannot be ignored inline.
    rgossiaux committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    626ad6d View commit details
    Browse the repository at this point in the history