2023-02-26 01:30
This commit is contained in:
21
lit-element-starter-ts/.eleventy.cjs
Normal file
21
lit-element-starter-ts/.eleventy.cjs
Normal file
@@ -0,0 +1,21 @@
|
||||
const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight');
|
||||
|
||||
module.exports = function (eleventyConfig) {
|
||||
eleventyConfig.addPlugin(syntaxHighlight);
|
||||
eleventyConfig.addPassthroughCopy('docs-src/docs.css');
|
||||
eleventyConfig.addPassthroughCopy('docs-src/.nojekyll');
|
||||
eleventyConfig.addPassthroughCopy(
|
||||
'node_modules/@webcomponents/webcomponentsjs'
|
||||
);
|
||||
eleventyConfig.addPassthroughCopy('node_modules/lit/polyfill-support.js');
|
||||
return {
|
||||
dir: {
|
||||
input: 'docs-src',
|
||||
output: 'docs',
|
||||
},
|
||||
templateExtensionAliases: {
|
||||
'11ty.cjs': '11ty.js',
|
||||
'11tydata.cjs': '11tydata.js',
|
||||
},
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user