Replies: 1 comment 5 replies
-
Hello. Question for you. This meta tag: <meta name='importmap-type' content='systemjs-importmap' /> Are you adding it? If yes, are you adding it because it is required by |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
Today I stumbled across a strange problem. When I use the plugin, the import-map and the import-map-overrides are added for me in the index.html as a script at the very beginning. However, import-map-overrides does not work correctly because the modules from the import-map are not displayed. If I now add the same script tag for import-map-overrides to the index.html again, the modules are displayed! Does anyone have an explanation for this?
Have two script blocks which imports import-map-overrides results in an error in the browser console. That's kind of ugly and suggests, that something isn't working properly, which is not the case.
My vitePluginSingleSpa config:
My index.html head looks like this:
What I can't understand is that the two script tags, which are loading import-map-overrides, are completely indentical. I copied the script tag, which was created by the plugin and past it into the index.html. But as I said, it only works, if I have the second script for importing import-map-overrides in there. Am I missing something?
I doubt myself, not the plugin!
I am grateful for any advice.
Beta Was this translation helpful? Give feedback.
All reactions