Commit 206153a8 authored by Vadym Gidulian's avatar Vadym Gidulian

Fixed minification of PHP files w/o closing angle bracket

parent d5373246
......@@ -140,7 +140,8 @@ gulp.task('php-min', function (callback) {
: gutil.noop())
.pipe(failsafePipe(htmlMin({
collapseWhitespace: true,
conservativeCollapse: true
conservativeCollapse: true,
ignoreCustomFragments: [/<%[\s\S]*?%>/, /<\?[\s\S]*?\?>/, /<\?[\s\S]*?$/]
}), callback))
.pipe(gulp.dest(paths.phpOut));
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment