Commit c44ee3db authored by Vadym Gidulian's avatar Vadym Gidulian

Fixed minification of PHP files w/o closing angle bracket

parent faa95467
......@@ -141,7 +141,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