Glitchtip
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user