Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 2b2ee44

Browse files
committed
🐛 Set caseSensitive option in html-minifier
Fix #81
1 parent 30b428e commit 2b2ee44

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/options.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default {
1414

1515
// Config for html-minifier.
1616
htmlMinifier: {
17+
caseSensitive: true,
1718
customAttrSurround: [[/@/, new RegExp('')], [/:/, new RegExp('')]],
1819
collapseWhitespace: true,
1920
removeComments: true

test/expects/compileTemplateLocalComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
var compileTemplate = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Msg')], 1)},staticRenderFns: [],
1+
var compileTemplateLocalComponent = {render: function(){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Msg')],1)},staticRenderFns: [],
22
components: {
33
Msg: {
44
render: h => h('div', ['Hello']),

0 commit comments

Comments
 (0)