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

Module context scripts look for the wrong attribute #72

Closed
ekhaled opened this issue Aug 26, 2021 · 0 comments · Fixed by #73
Closed

Module context scripts look for the wrong attribute #72

ekhaled opened this issue Aug 26, 2021 · 0 comments · Fixed by #73
Labels
bug Something isn't working
Milestone

Comments

@ekhaled
Copy link
Contributor

ekhaled commented Aug 26, 2021

According to Svelte docs module scripts are to be marked with context="module".

Instead we look for scope="module".

This is incorrect, and therefore does not mark static variables and methods properly when <script context="module"> is used.

@alexprey alexprey added the bug Something isn't working label Aug 27, 2021
@alexprey alexprey added this to the 4.0.0 milestone Aug 27, 2021
alexprey added a commit that referenced this issue Aug 27, 2021
fix #72: Use of "context" instead of "scope" when parsing module scripts
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 a pull request may close this issue.

2 participants