mirror of
https://github.com/He4eT/xecut-site.git
synced 2026-05-04 17:37:26 +00:00
17 lines
491 B
JavaScript
17 lines
491 B
JavaScript
import { EleventyI18nPlugin } 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/')
|
|
eleventyConfig.ignores.add('src/_assets/**');
|
|
/* Plugins*/
|
|
eleventyConfig.addPlugin(EleventyI18nPlugin, {
|
|
defaultLanguage: 'en',
|
|
})
|
|
}
|