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

Vite inject "/@vite/client" script element above importmap element #9334

Closed
7 tasks done
tarnishablec opened this issue Jul 24, 2022 · 0 comments · Fixed by #9392
Closed
7 tasks done

Vite inject "/@vite/client" script element above importmap element #9334

tarnishablec opened this issue Jul 24, 2022 · 0 comments · Fixed by #9392
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)

Comments

@tarnishablec
Copy link

tarnishablec commented Jul 24, 2022

Describe the bug

Vite inject "/@vite/client" script element above importmap element.
causing error in console "An import map is added after module script load was triggered."
image

Reproduction

https://stackblitz.com/edit/vitejs-vite-jyk9ha?file=index.html&terminal=dev

System Info

System:
    OS: Windows 10 10.0.22000
    CPU: (16) x64 Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz
    Memory: 20.36 GB / 31.83 GB
  Binaries:
    Node: 16.15.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.15 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 8.12.0 - ~\AppData\Roaming\npm\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.62)
    Internet Explorer: 11.0.22000.120

Used Package Manager

yarn

Logs

No response

Validations

@haoqunjiang haoqunjiang added bug p3-minor-bug An edge case that only affects very specific usage (priority) and removed pending triage labels Jul 25, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants