diff --git a/node_modules/html2pug/src/index.js b/node_modules/html2pug/src/index.js index 57a6b6a..d8a43c7 100644 --- a/node_modules/html2pug/src/index.js +++ b/node_modules/html2pug/src/index.js @@ -1,4 +1,3 @@ -const { minify } = require('html-minifier') const { parse, parseFragment } = require('parse5') const Pugify = require('./parser') @@ -17,7 +16,7 @@ const defaultOptions = { preserveLineBreaks: true, } -module.exports = (sourceHtml, options = {}) => { +module.exports = (sourceHtml,minify, options = {}) => { // Minify source HTML const opts = { ...defaultOptions, ...options } const html = minify(sourceHtml, opts)