chore(js): remove vite legacy build
This commit is contained in:
parent
659600adba
commit
d44822cc1c
10 changed files with 4 additions and 112 deletions
|
@ -48,12 +48,5 @@ Turbo.session.drive = false;
|
|||
// Expose globals
|
||||
window.DS = window.DS || DS;
|
||||
|
||||
// enable legacy mode of DSFR when vite is not detectde as modern browser
|
||||
window.addEventListener('load', function () {
|
||||
if (!window.__vite_is_modern_browser) {
|
||||
window.dsfr.internals.legacy.setLegacy();
|
||||
}
|
||||
});
|
||||
|
||||
import('../shared/track/matomo');
|
||||
import('../shared/track/sentry');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue