mirror of
https://github.com/He4eT/xecut-site.git
synced 2026-05-05 01:47:25 +00:00
22 lines
752 B
JavaScript
22 lines
752 B
JavaScript
import { EleventyI18nPlugin } from '@11ty/eleventy'
|
|
import { IdAttributePlugin } from '@11ty/eleventy'
|
|
|
|
/**
|
|
* @param {import('@11ty/eleventy').UserConfig} eleventyConfig
|
|
*/
|
|
export default function(eleventyConfig) {
|
|
/* Source and Target*/
|
|
eleventyConfig.setInputDirectory('src')
|
|
eleventyConfig.setOutputDirectory('build')
|
|
/* Assets */
|
|
eleventyConfig.addPassthroughCopy('src/_assets/css/**/*.css')
|
|
eleventyConfig.addPassthroughCopy('src/_assets/fonts/')
|
|
eleventyConfig.addPassthroughCopy('src/_assets/img/')
|
|
/* Favicon*/
|
|
eleventyConfig.addPassthroughCopy({ 'src/_assets/favicon' : '/' } );
|
|
/* Plugins*/
|
|
eleventyConfig.addPlugin(EleventyI18nPlugin, {
|
|
defaultLanguage: 'en',
|
|
})
|
|
eleventyConfig.addPlugin(IdAttributePlugin)
|
|
}
|