You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can not understand about this plugin's purpose, But strangely, when I used web-dev-server, my native HTML importmap function completely disappeared, so I was forced to install this plugin, and it worked, but when I opened the source code of the webpage, I was surprised to find below:
import { render } from 'https://ga.jspm.io/npm:[email protected]/index.js?wds-import-map=0';
It is wrong, it should be: " import { render } from 'lit1'"
I think my source code has been change with a wrong way by the plugin....
Could someone tell me what is might cause the problem , i just want the original HTML importmap funciton to work
`
I got an email notification with a suggestion to close this issue, but don't see anything in here. You can close it yourself as well if you figured how to solve it.
if not, please provide a repository with minimal reproduction of this and simple steps to run and see this behavior.
@bashmish Why does web-dev-server block the configuration of HTML importmap and make it not work? In addition, you provide the plugin dev-server-import-maps, and the processing mechanism of this plugin is also problematic, so I would like to ask, how can I make HTML importmap work properly?
I can not understand about this plugin's purpose, But strangely, when I used web-dev-server, my native HTML importmap function completely disappeared, so I was forced to install this plugin, and it worked, but when I opened the source code of the webpage, I was surprised to find below:
import { render } from 'https://ga.jspm.io/npm:[email protected]/index.js?wds-import-map=0';
It is wrong, it should be: " import { render } from 'lit1'"
I think my source code has been change with a wrong way by the plugin....
Could someone tell me what is might cause the problem , i just want the original HTML importmap funciton to work
<script type="importmap"> { "imports": { "lit1": "https://ga.jspm.io/npm:[email protected]/index.js" }, } } </script> <script type="module">`
import { render } from 'https://ga.jspm.io/npm:[email protected]/index.js?wds-import-map=0';
</script>
`
The text was updated successfully, but these errors were encountered: