Upgrade deps, tweaks to bundle comments

This commit is contained in:
Zach Leatherman
2024-09-11 16:14:43 -05:00
parent ffa7c673cd
commit 5eca0a3035
4 changed files with 20 additions and 13 deletions

View File

@@ -12,8 +12,7 @@ export default async function(eleventyConfig) {
// For example, `./public/css/` ends up in `_site/css/`
eleventyConfig
.addPassthroughCopy({
"./public/": "/",
"./node_modules/prismjs/themes/prism-okaidia.css": "/css/prism-okaidia.css"
"./public/": "/"
})
.addPassthroughCopy("./content/feed/pretty-atom-feed.xsl");
@@ -25,9 +24,13 @@ export default async function(eleventyConfig) {
// Per-page bundles, see https://github.com/11ty/eleventy-plugin-bundle
// Adds the {% css %} paired shortcode
eleventyConfig.addBundle("css");
eleventyConfig.addBundle("css", {
toFileDirectory: "dist",
});
// Adds the {% js %} paired shortcode
eleventyConfig.addBundle("js");
eleventyConfig.addBundle("js", {
toFileDirectory: "dist",
});
// Official plugins
eleventyConfig.addPlugin(pluginSyntaxHighlight, {