Skip to content

Commit

Permalink
Fix banner showing up in prebid-core.js (prebid#1388)
Browse files Browse the repository at this point in the history
  • Loading branch information
snapwich authored and dluxemburg committed Jul 17, 2018
1 parent 6e4cef8 commit 6038938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ gulp.task('webpack', ['clean'], function () {
.pipe(webpackStream(cloned, webpack))
.pipe(replace('$prebid.version$', prebid.version))
.pipe(uglify())
.pipe(gulpif(file => file.basename === 'prebid.js', header(banner, { prebid: prebid })))
.pipe(gulpif(file => file.basename === 'prebid-core.js', header(banner, { prebid: prebid })))
.pipe(optimizejs())
.pipe(gulp.dest('build/dist'))
.pipe(connect.reload());
Expand Down

0 comments on commit 6038938

Please sign in to comment.