chore: only generate og images locally
This commit is contained in:
parent
2cdded57a0
commit
362afdb588
299 changed files with 31 additions and 23 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue