fix: consolidate passthroughs
This commit is contained in:
parent
49c6a67373
commit
c04c69fcbd
1 changed files with 2 additions and 12 deletions
14
.eleventy.js
14
.eleventy.js
|
@ -35,20 +35,10 @@ export default async function (eleventyConfig) {
|
||||||
eleventyConfig.addPassthroughCopy('_headers')
|
eleventyConfig.addPassthroughCopy('_headers')
|
||||||
eleventyConfig.addPassthroughCopy({
|
eleventyConfig.addPassthroughCopy({
|
||||||
'node_modules/@cdransf/api-text/api-text.js': 'assets/scripts/components/api-text.js',
|
'node_modules/@cdransf/api-text/api-text.js': 'assets/scripts/components/api-text.js',
|
||||||
})
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'node_modules/@daviddarnes/mastodon-post/mastodon-post.js': 'assets/scripts/components/mastodon-post.js'
|
|
||||||
})
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'node_modules/minisearch/dist/umd/index.js': 'assets/scripts/components/minisearch.js',
|
|
||||||
})
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'node_modules/@cdransf/select-pagination/select-pagination.js': 'assets/scripts/components/select-pagination.js',
|
'node_modules/@cdransf/select-pagination/select-pagination.js': 'assets/scripts/components/select-pagination.js',
|
||||||
})
|
|
||||||
eleventyConfig.addPassthroughCopy({
|
|
||||||
'node_modules/@cdransf/theme-toggle/theme-toggle.js': 'assets/scripts/components/theme-toggle.js',
|
'node_modules/@cdransf/theme-toggle/theme-toggle.js': 'assets/scripts/components/theme-toggle.js',
|
||||||
})
|
'node_modules/@daviddarnes/mastodon-post/mastodon-post.js': 'assets/scripts/components/mastodon-post.js',
|
||||||
eleventyConfig.addPassthroughCopy({
|
'node_modules/minisearch/dist/umd/index.js': 'assets/scripts/components/minisearch.js',
|
||||||
'node_modules/youtube-video-element/youtube-video-element.js': 'assets/scripts/components/youtube-video-element.js'
|
'node_modules/youtube-video-element/youtube-video-element.js': 'assets/scripts/components/youtube-video-element.js'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Reference in a new issue