diff --git a/plugins/removeOffCanvasPaths.js b/plugins/removeOffCanvasPaths.js index 7a3d131d3..36c3f47d7 100644 --- a/plugins/removeOffCanvasPaths.js +++ b/plugins/removeOffCanvasPaths.js @@ -82,6 +82,11 @@ exports.fn = () => { if (node.attributes.transform != null) { return visitSkip; } + + // consider that any item within is visible + if (node.name === 'defs') { + return visitSkip; + } if ( node.name === 'path' &&