chore: only generate og images locally

This commit is contained in:
Cory Dransfeldt 2024-05-01 18:15:59 -07:00
parent 2cdded57a0
commit 362afdb588
No known key found for this signature in database
299 changed files with 31 additions and 23 deletions

View file

@ -48,6 +48,9 @@ export default async function (eleventyConfig) {
jsTruthy: true,
})
// watch ignores
eleventyConfig.watchIgnores.add('src/assets/social-preview/**/*')
// passthrough
eleventyConfig.addPassthroughCopy('src/assets')
eleventyConfig.addPassthroughCopy('_redirects')
@ -74,7 +77,7 @@ export default async function (eleventyConfig) {
})
eleventyConfig.addPassthroughCopy({
'node_modules/@daviddarnes/mastodon-post/mastodon-post.js': 'assets/scripts/components/mastodon-post.js'
})
})
// enable merging of tags
eleventyConfig.setDataDeepMerge(true)