Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
npm-wordpress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
project-templates
web
npm-wordpress
Commits
c44ee3db
Commit
c44ee3db
authored
Aug 18, 2017
by
Vadym Gidulian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed minification of PHP files w/o closing angle bracket
parent
faa95467
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
gulpfile.js
gulpfile.js
+2
-1
No files found.
gulpfile.js
View file @
c44ee3db
...
...
@@ -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
));
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment