Plugins

SVG

The plugin SVG is disabled by default so to enable it you have to import and use it in the _config.js file:

import svg from "lume/plugins/svg.js";

site.use(svg());

This plugin load .svg files and optimize them using SVGO