Closed zachsa closed 1 year ago
Seems to be hardcoded into the app: https://github.com/jspm/generator.jspm.io/blob/main/src/api.js#L32
Probably the page should be using the generator.injectHtml
API which automatically does latest lookup for the shim.
Did some hacky way in the recent vite-plugin-jspm
to solve this thing
https://github.com/jspm/vite-plugin-jspm/blob/main/plugin/src/index.ts#L16
There is in fact a PR to update the generator site to use the new CLI in https://github.com/jspm/generator.jspm.io/pull/6. I'm not sure if that PR handles ensuring es-module-shims is always updated.
But a generator bump should be done certainly there!
This should be resolved now with the auto update system in place.
https://generator.jspm.io/#U2NhYGBkDM0rySzJSU1hqEosKnIw0DPTMwQArVL7dRkA