Skip to content

Commit

Permalink
Merge branch 'main' of github.com:joriswitstok/joriswitstok.github.io
Browse files Browse the repository at this point in the history
  • Loading branch information
joriswitstok committed Oct 28, 2024
2 parents 46d7d05 + ceb2985 commit a849811
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 112 deletions.
81 changes: 45 additions & 36 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,42 +24,51 @@ const whenExternalScripts = (items: (() => AstroIntegration) | (() => AstroInteg
export default defineConfig({
output: 'static',

integrations: [tailwind({
applyBaseStyles: false,
}), sitemap(), mdx(), icon({
include: {
tabler: ['*'],
'flat-color-icons': [
'template',
'gallery',
'approval',
'document',
'advertising',
'currency-exchange',
'voice-presentation',
'business-contact',
'database',
],
},
}), ...whenExternalScripts(() =>
partytown({
config: { forward: ['dataLayer.push'] },
})
), compress({
CSS: true,
HTML: {
'html-minifier-terser': {
removeAttributeQuotes: false,
integrations: [
tailwind({
applyBaseStyles: false,
}),
sitemap(),
mdx(),
icon({
include: {
tabler: ['*'],
'flat-color-icons': [
'template',
'gallery',
'approval',
'document',
'advertising',
'currency-exchange',
'voice-presentation',
'business-contact',
'database',
],
},
},
Image: false,
JavaScript: true,
SVG: false,
Logger: 1,
}),
astrowind({
config: './src/config.yaml',
}),
}),

...whenExternalScripts(() =>
partytown({
config: { forward: ['dataLayer.push'] },
})
),

compress({
CSS: true,
HTML: {
'html-minifier-terser': {
removeAttributeQuotes: false,
},
},
Image: false,
JavaScript: true,
SVG: false,
Logger: 1,
}),

astrowind({
config: './src/config.yaml',
}),
],

image: {
Expand All @@ -78,4 +87,4 @@ export default defineConfig({
},
},
},
});
});
142 changes: 68 additions & 74 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
"astro-icon": "^1.1.1",
"limax": "4.1.0",
"lodash.merge": "^4.6.2",
"unpic": "^3.18.0",
"vanilla-cookieconsent": "^3.0.1"
"unpic": "^3.18.0"
},
"devDependencies": {
"@astrojs/check": "^0.9.3",
Expand Down

0 comments on commit a849811

Please sign in to comment.