build: 🔧 update config file in accordance to recommendations from the docs
This commit is contained in:
parent
73e55e84b4
commit
54260f01f8
1 changed files with 9 additions and 9 deletions
|
@ -104,13 +104,13 @@ export default async function (eleventyConfig) {
|
||||||
eleventyConfig.addFilter('readableDate', (dateObj) =>
|
eleventyConfig.addFilter('readableDate', (dateObj) =>
|
||||||
dateObj.toLocaleDateString('en-US', { year: 'numeric', month: 'short', day: 'numeric' })
|
dateObj.toLocaleDateString('en-US', { year: 'numeric', month: 'short', day: 'numeric' })
|
||||||
);
|
);
|
||||||
|
|
||||||
return {
|
|
||||||
dir: {
|
|
||||||
input: 'src',
|
|
||||||
output: 'public',
|
|
||||||
layouts: 'layouts',
|
|
||||||
includes: 'includes'
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const config = {
|
||||||
|
dir: {
|
||||||
|
input: 'src',
|
||||||
|
output: 'public',
|
||||||
|
layouts: 'layouts',
|
||||||
|
includes: 'includes'
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue