chore: pagefind component

This commit is contained in:
Cory Dransfeldt 2024-01-07 09:12:58 -08:00
parent 2b6e9b23c2
commit 00b501d185
No known key found for this signature in database
5 changed files with 36 additions and 102 deletions

View file

@ -54,6 +54,9 @@ export default async function (eleventyConfig) {
// passthrough
eleventyConfig.addPassthroughCopy('src/assets')
eleventyConfig.addPassthroughCopy('_redirects')
eleventyConfig.addPassthroughCopy({
'node_modules/@zachleat/pagefind-search/pagefind-search.js': 'assets/scripts/pagefind-search.js',
})
// enable merging of tags
eleventyConfig.setDataDeepMerge(true)