question about packages/dev-server-import-maps
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.
importmap-test.zip This is the simplest code, importmap does not work
@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?