Merge pull request #7508 from betagouv/revert_brutally_fix

Revert "pull request #7506 from  brutally_fix_dynamic_import"
This commit is contained in:
LeSim 2022-06-29 19:23:45 +02:00 committed by GitHub
commit 3a16905d79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,16 +15,9 @@
= vite_client_tag = vite_client_tag
= vite_react_refresh_tag = vite_react_refresh_tag
= vite_javascript_tag 'application'
- if vite_legacy? - if administrateur_signed_in?
= vite_legacy_javascript_tag 'application' = vite_javascript_tag 'track-admin'
- 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-Regular.woff2"))
= preload_link_tag(asset_url("Muli-Bold.woff2")) = preload_link_tag(asset_url("Muli-Bold.woff2"))
@ -50,6 +43,9 @@
- if content_for?(:footer) - if content_for?(:footer)
= content_for(:footer) = content_for(:footer)
- if vite_legacy?
= vite_legacy_javascript_tag 'application'
= yield :charts_js = yield :charts_js
// Container for custom turbo-stream actions // Container for custom turbo-stream actions