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
Right now, {{ importmap() }} is adding this automatically:
<!-- ES Module Shims: Import maps polyfill for modules browsers without import maps support --><scriptasyncsrc="https://ga.jspm.io/npm:es-module-shims@1.7.2/dist/es-module-shims.js"></script>
I think there should be a way to disable loading this file.
Example
ImportMapRenderer has a constructor argument to disable this; I just couldn't find a way to set this from importmap().
In the end, it could look something like:
{{ importmap({shim: true}) }}
I even suggest to exclude it by default for two reasons:
Loading any external resources needs to be a conscious decision of the developer (security, privacy, etc.). In Germany, there's some fuss about webmasters getting sued for including Google Fonts like this!
Over time, the shim will become less important
The text was updated successfully, but these errors were encountered:
Description
Right now,
{{ importmap() }}
is adding this automatically:I think there should be a way to disable loading this file.
Example
ImportMapRenderer has a constructor argument to disable this; I just couldn't find a way to set this from
importmap()
.In the end, it could look something like:
I even suggest to exclude it by default for two reasons:
The text was updated successfully, but these errors were encountered: