.gitignore + untrack build outputs (node_modules, dist) — the nested repo needs its own ignore rules; the pipeline rebuilds anyway
deploy / build-and-publish (push) Successful in 45s

This commit is contained in:
2026-11-21 09:25:25 +01:00
parent 477bf5114f
commit c117a97cd3
14483 changed files with 14 additions and 2443432 deletions
-26
View File
@@ -1,26 +0,0 @@
import { detachNodeFromParent } from '../lib/xast.js';
export const name = 'removeStyleElement';
export const description = 'removes <style> element';
/**
* Remove <style>.
*
* https://www.w3.org/TR/SVG11/styling.html#StyleElement
*
* @author Betsy Dupuis
*
* @type {import('../lib/types.js').Plugin}
* @since 0.6.0
*/
export const fn = () => {
return {
element: {
enter: (node, parentNode) => {
if (node.name === 'style') {
detachNodeFromParent(node, parentNode);
}
},
},
};
};