I am trying to minify js using minify-inline . It is working properly but gulp is adding ="" in a file wherever it finds scriplets in a code.
e.g.
this is the code present in a source file
<%@ include file="../include.jsp"/%>
After executing a task for minification in gulp.js file:
gulp.task('minify-inline', function() {
gulp.src('src/JSP/*.jsp')
.pipe(minifyInline())
.pipe(gulp.dest('minify-inline/'))
});
it has changed the source code to
<%@ include="" file="../include.jsp" %="">
One more example
<% %> changes to <% %="">
I am trying to minify js using minify-inline . It is working properly but gulp is adding ="" in a file wherever it finds scriplets in a code.
e.g.
this is the code present in a source file
<%@ include file="../include.jsp"/%>
After executing a task for minification in gulp.js file:
gulp.task('minify-inline', function() {
gulp.src('src/JSP/*.jsp')
.pipe(minifyInline())
.pipe(gulp.dest('minify-inline/'))
});
it has changed the source code to
<%@ include="" file="../include.jsp" %="">
One more example
<% %> changes to <% %="">