Merge pull request #7506 from betagouv/brutally_fix_dynamic_import
use vite_legacy_javascript to fix dynamic import for 60 <= ff < 67
This commit is contained in:
commit
6e5a445b98
1 changed files with 10 additions and 6 deletions
|
@ -15,10 +15,17 @@
|
|||
|
||||
= vite_client_tag
|
||||
= vite_react_refresh_tag
|
||||
|
||||
- if vite_legacy?
|
||||
= vite_legacy_javascript_tag 'application'
|
||||
- if administrateur_signed_in?
|
||||
= vite_legacy_javascript_tag 'track-admin'
|
||||
- else
|
||||
= vite_javascript_tag 'application'
|
||||
- if administrateur_signed_in?
|
||||
= vite_javascript_tag 'track-admin'
|
||||
|
||||
|
||||
= preload_link_tag(asset_url("Muli-Regular.woff2"))
|
||||
= preload_link_tag(asset_url("Muli-Bold.woff2"))
|
||||
|
||||
|
@ -43,9 +50,6 @@
|
|||
- if content_for?(:footer)
|
||||
= content_for(:footer)
|
||||
|
||||
- if vite_legacy?
|
||||
= vite_legacy_javascript_tag 'application'
|
||||
|
||||
= yield :charts_js
|
||||
|
||||
// Container for custom turbo-stream actions
|
||||
|
|
Loading…
Reference in a new issue