-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[email protected] will miss file when building, while [email protected] OK #2146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you elaborate more? Why would gulp-filter 4 break this while it works with 3? |
[email protected] change the way of calling multimatch
that the problem.
|
Would you be comfortable sending a pull request to the 3.x.x branch? |
when gulp build, [email protected] will miss file path start with dot like ".tmp/app/app.js", that cause some files not uglify or rev. add option "dot:true" resolve the problem angular-fullstack#2146 angular-fullstack#2146
well, it's my first pull request... i don't know how to use actually. |
when gulp build, [email protected] will miss file path start with dot like ".tmp/app/app.js", that cause some files not uglify or rev. add option "dot:true" resolve the problem fixes #2146, closes #2151
when I use gulp build, i found app.js did not uglity or rev
problem is
[email protected] will miss some files.
if i reset to [email protected], it's OK
see the gulp file here
in gulp.task('build:client')
return gulp.src(paths.client.mainView)
.pipe(plugins.useref())
.pipe(appFilter)
.pipe(plugins.addSrc.append('.tmp/templates.js'))
.pipe(plugins.concat('app/app.js'))
.pipe(appFilter.restore) ------------- // app/app.js is included
.pipe(jsFilter) ------------- // app/app.js is excluded!
.pipe(plugins.ngAnnotate())
.pipe(plugins.uglify())
.pipe(jsFilter.restore)
.pipe(cssFilter)
.pipe(plugins.cleanCss({
processImportFrom: ['!fonts.googleapis.com']
}))
.pipe(cssFilter.restore)
.pipe(htmlBlock) //the same problem here
.pipe(plugins.rev())
.pipe(htmlBlock.restore)
.pipe(plugins.revReplace({manifest}))
.pipe(gulp.dest(
${paths.dist}/${clientPath}
));The text was updated successfully, but these errors were encountered: