From 310bbb5146f0226400aa02f20d3c49c8dcaaff92 Mon Sep 17 00:00:00 2001 From: ntsd Date: Fri, 25 Oct 2024 13:03:32 +0700 Subject: [PATCH] fix: remove collapsewhitespace by default --- index.js | 1 - package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 833769f..89f471b 100644 --- a/index.js +++ b/index.js @@ -20,7 +20,6 @@ export default function (insideAdapter, options) { removeAttributeQuotes: true, minifyJS: true, minifyCSS: true, - collapseWhitespace: true, useShortDoctype: true, ...options?.minifierOptions, }, diff --git a/package-lock.json b/package-lock.json index 84a539d..9ce5942 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sveltekit-html-minifier", - "version": "1.0.3", + "version": "1.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "sveltekit-html-minifier", - "version": "1.0.3", + "version": "1.0.4", "license": "MIT", "dependencies": { "html-minifier-terser": "^7.2.0" diff --git a/package.json b/package.json index ab7740c..8eda733 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sveltekit-html-minifier", "type": "module", - "version": "1.0.3", + "version": "1.0.4", "description": "Sveltekit Adapter to Minify the preload HTML page", "main": "index.js", "repository": {