mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 22:47:17 +00:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com>
29 lines
917 B
Diff
29 lines
917 B
Diff
diff --git a/lib/index.js b/lib/index.js
|
|
index 597502e..0c686f3 100644
|
|
--- a/lib/index.js
|
|
+++ b/lib/index.js
|
|
@@ -97,8 +97,6 @@ var _juice = _interopRequireDefault(require("juice"));
|
|
|
|
var _jsBeautify = require("js-beautify");
|
|
|
|
-var _htmlMinifier = require("html-minifier");
|
|
-
|
|
var _cheerio = _interopRequireDefault(require("cheerio"));
|
|
|
|
var _mjmlParserXml = _interopRequireDefault(require("mjml-parser-xml"));
|
|
@@ -477,14 +475,7 @@ function mjml2html(mjml, options = {}) {
|
|
|
|
if (minify) {
|
|
// eslint-disable-next-line no-console
|
|
- console.warn('"minify" option is deprecated in mjml-core and only available in mjml cli.');
|
|
- content = (0, _htmlMinifier.minify)(content, {
|
|
- collapseWhitespace: true,
|
|
- minifyCSS: false,
|
|
- caseSensitive: true,
|
|
- removeEmptyAttributes: true,
|
|
- ...minifyOptions
|
|
- });
|
|
+ console.warn('"minify" option is not available');
|
|
}
|
|
|
|
return {
|