refactor: Update webpack configuration to improve git commit hash retrieval and enhance lazy loading of components for better performance

This commit is contained in:
sebseb7
2026-03-28 17:56:12 +01:00
parent ab55761411
commit 52c9888a6a
11 changed files with 129 additions and 128 deletions

View File

@@ -7,6 +7,8 @@ const generateHomepageMetaTags = (baseUrl, config) => {
const canonicalUrl = baseUrl.endsWith('/') ? baseUrl.slice(0, -1) : baseUrl;
return `
<link rel="preload" as="image" href="/assets/images/konfigurator.avif" fetchpriority="high">
<!-- SEO Meta Tags -->
<meta name="description" content="${description}">
<meta name="keywords" content="${keywords}">
@@ -233,4 +235,4 @@ const generateHomepageJsonLd = (baseUrl, config, categories = []) => {
module.exports = {
generateHomepageMetaTags,
generateHomepageJsonLd,
};
};