SVGO

Optimize SVG files with SVGO

Installation

Import this plugin in your _config.ts file to use it:

import lume from "lume/mod.ts";
import svgo from "lume/plugins/svgo.ts";

const site = lume();

site.use(svgo({/* your config here */}));

export default site;

See all available options in Deno Doc.

Description

This plugin loads all .svg files and optimizes them using SVGO.