update things
This commit is contained in:
parent
70ada41d98
commit
46b7c21b84
12 changed files with 272 additions and 10 deletions
|
|
@ -1,11 +1,15 @@
|
|||
import { minify } from "terser";
|
||||
import { transform } from "lightningcss";
|
||||
import eleventyNavigationPlugin from "@11ty/eleventy-navigation";
|
||||
import pluginFilters from "./_config/filters.js";
|
||||
|
||||
export default function(eleventyConfig) {
|
||||
eleventyConfig.addPassthroughCopy("assets/");
|
||||
eleventyConfig.addPassthroughCopy({ "sneexy/notebook/": "~sneexy/notebook/" }); // notebook page generated by quartz seperately - see https://forged.synth.download/sneexy/notebook
|
||||
|
||||
// our custom filters
|
||||
eleventyConfig.addPlugin(pluginFilters);
|
||||
|
||||
eleventyConfig.addFilter("cssmin", function (code) {
|
||||
const result = transform({
|
||||
code: Buffer.from(code, 'utf-8'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue