123456789101112131415161718192021 |
- 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',
- },
- };
- };
|