Glitchtip

This commit is contained in:
2026-11-30 12:33:49 +01:00
parent 3b288c2578
commit 519433fdf1
12 changed files with 1871 additions and 3 deletions
+2
View File
@@ -11,6 +11,7 @@ function leshed_page_attachments_alter(&$page) {
// $page['#attached']['library'][] = 'http://localhost:5173/@vite/client';
// $attachments['#attached']['html_head'][] = [['src' => 'http://localhost:5173/assets/js/main.js', 'type' => 'module'],'vite-main'];
// $page['#attached']['library'][] = 'http://localhost:5173/assets/js/main.js';
$page['#attached']['library'][] = 'leshed/sentry_hmr';
$page['#attached']['library'][] = 'leshed/vitehmr';
$page['#attached']['library'][] = 'leshed/titles_hmr';
// CSS compilée en <link> render-blocking : sans elle, la page se peint
@@ -20,6 +21,7 @@ function leshed_page_attachments_alter(&$page) {
// dessus sur les égalités.
$page['#attached']['library'][] = 'leshed/base_css';
}else{
$page['#attached']['library'][] = 'leshed/sentry';
$page['#attached']['library'][] = 'leshed/global';
$page['#attached']['library'][] = 'leshed/titles';