We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
astro
0.23.0-next.5
npm
Mac
Importing via a relative path in a hoisted script does not work, for example:
<script type="module" hoist> import "../scripts/foo.js"; </script>
This is related to use of query params for the module ids. We fix this for CSS and can probably do the same for hoisted scripts.
https://stackblitz.com/edit/github-zttdry-lduwsk?file=src%2Fpages%2Findex.astro&on=stackblitz
The text was updated successfully, but these errors were encountered:
matthewp
Successfully merging a pull request may close this issue.
What version of
astro
are you using?0.23.0-next.5
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
Importing via a relative path in a hoisted script does not work, for example:
This is related to use of query params for the module ids. We fix this for CSS and can probably do the same for hoisted scripts.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-zttdry-lduwsk?file=src%2Fpages%2Findex.astro&on=stackblitz
The text was updated successfully, but these errors were encountered: