Skip to content

Commit

Permalink
fix(html-minify): resolve parse error of interpolations
Browse files Browse the repository at this point in the history
fixes #650
  • Loading branch information
JeroenVinke committed Jun 14, 2017
1 parent cc65ec9 commit b15199f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/resources/tasks/process-markup-minify-max.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function processMarkup() {
minifyJS: true,
removeScriptTypeAttributes: true,
removeStyleLinkTypeAttributes: true,
ignoreCustomFragments: [/\${.*}/g] // ignore interpolation expressions
ignoreCustomFragments: [/\${.*?}/g] // ignore interpolation expressions
}))
.pipe(build.bundle());
}
2 changes: 1 addition & 1 deletion lib/resources/tasks/process-markup-minify-max.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function processMarkup() {
minifyJS: true,
removeScriptTypeAttributes: true,
removeStyleLinkTypeAttributes: true,
ignoreCustomFragments: [/\${.*}/g] // ignore interpolation expressions
ignoreCustomFragments: [/\${.*?}/g] // ignore interpolation expressions
}))
.pipe(build.bundle());
}
2 changes: 1 addition & 1 deletion lib/resources/tasks/process-markup-minify-min.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function processMarkup() {
collapseWhitespace: true,
minifyCSS: true,
minifyJS: true,
ignoreCustomFragments: [/\${.*}/g] // ignore interpolation expressions
ignoreCustomFragments: [/\${.*?}/g] // ignore interpolation expressions
}))
.pipe(build.bundle());
}
2 changes: 1 addition & 1 deletion lib/resources/tasks/process-markup-minify-min.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function processMarkup() {
collapseWhitespace: true,
minifyCSS: true,
minifyJS: true,
ignoreCustomFragments: [/\${.*}/g] // ignore interpolation expressions
ignoreCustomFragments: [/\${.*?}/g] // ignore interpolation expressions
}))
.pipe(build.bundle());
}

0 comments on commit b15199f

Please sign in to comment.