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
Is it supported to use <script type="importmap"> within a component during development?
I always get An import map is added after module script load was triggered. in the browser console while running in dev mode. Import maps seem to expect to be loaded before everything else on the page and fresh_dev_client.js is always the very first script being loaded.
<scripttype="importmap"dangerouslySetInnerHTML={{__html: '{ "imports": { "a": "/a.js"} }',}}/><scripttype="module"dangerouslySetInnerHTML={{__html: ` import { a } from "a"; `,}}/>
The text was updated successfully, but these errors were encountered:
Is it supported to use
<script type="importmap">
within a component during development?I always get
An import map is added after module script load was triggered.
in the browser console while running in dev mode. Import maps seem to expect to be loaded before everything else on the page andfresh_dev_client.js
is always the very first script being loaded.The text was updated successfully, but these errors were encountered: