Skip to content

Commit

Permalink
Обновляет зависимости
Browse files Browse the repository at this point in the history
  • Loading branch information
pepelsbey committed Apr 20, 2024
1 parent 3657882 commit f7437a0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 740 deletions.
4 changes: 2 additions & 2 deletions eleventy.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from 'node:fs';
import yaml from 'js-yaml';
import htmlmin from 'html-minifier-terser';
import markdownIt from 'markdown-it';
import xml from 'minify-xml';
import minifyXml from 'minify-xml';

const markdown = markdownIt({ html: true });

Expand Down Expand Up @@ -38,7 +38,7 @@ export default (config) => {

config.addTransform('xmlmin', (content, outputPath) => {
if (outputPath && outputPath.endsWith('.xml')) {
return xml.minify(content, {
return minifyXml(content, {
shortenNamespaces: false,
});
}
Expand Down
Loading

0 comments on commit f7437a0

Please sign in to comment.