diff --git a/packages/core/parcel-bundler/src/transforms/posthtml.js b/packages/core/parcel-bundler/src/transforms/posthtml.js index e65aee23939..43ef542977d 100644 --- a/packages/core/parcel-bundler/src/transforms/posthtml.js +++ b/packages/core/parcel-bundler/src/transforms/posthtml.js @@ -7,7 +7,6 @@ async function parse(code, asset) { if (!config) { config = {}; } - config = Object.assign({lowerCaseAttributeNames: true}, config); return posthtmlParse(code, config); } diff --git a/packages/core/parcel-bundler/test/html.js b/packages/core/parcel-bundler/test/html.js index 86576636b2e..ed3962951e4 100644 --- a/packages/core/parcel-bundler/test/html.js +++ b/packages/core/parcel-bundler/test/html.js @@ -320,7 +320,7 @@ describe('html', function() { // minifySvg is false assert( html.includes( - 'SVG' + 'SVG' ) ); });