Closed Schmale97 closed 9 months ago
This is way too niche for anything I'm familiar with, but if you can send a PR and tests, I can look at it after Sept. 8.
Too be honest I am not 100% familiar with this either, however I will take a look and see what I can do
Closed as this has no reproduction and is stale.
I have a pretty niche use case where I want all code in a single file but it also needs to support browser version outside of the defaults supported by vite. The intended solution was to use a vite config similar to this
However, this fails to the legacy code getting loaded into the root index.html via System.import, the resulting index.html looks like this:
As can be seen, the index.html is still referencing an external file in the script tag with "vite-legacy-entry" the plugin has also deleted the file that it is being referenced as expected.
The desired behaviour is that both the vite legacy plugin and vite single file plugin can be used together