Closed AngelMunoz closed 2 years ago
I gave this another shot, I think when we add support for the test command (#75) we will also need a separate import map, I don't think we will be able to support both things without a separate import map
I will close this issue for the moment, and try to come back after that issue is done
Is your feature request related to a problem? Please describe.
Describe the solution you'd like Rather than keeping the import map a separate file we could write it directly into a script node inside the
index.html
file we actually do that at runtime when serving the index file so we could just skip that part and do it straight in the index fileDescribe alternatives you've considered Keep it as a separate file
Additional context Since browsers don't support external import maps (even with polyfills) it makes no sense to keep it as a separate file for now but in the eventuality external import maps are enabled we could look to either add support for both situations or revert back.