Skip to content

Commit 023b14d

Browse files
author
Michele Nasti
committed
Static vast tag for mobile rendering API for rewarded video (prebid#148)
1 parent 12a56b6 commit 023b14d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

gulpfile.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,11 @@ function buildProd() {
166166
.pipe(gulp.dest('dist'));
167167
}
168168

169+
function includeStaticVastXmlFile() {
170+
let target = gulp.src('static/prebid-mobile-rewarded-vast.xml');
171+
return target.pipe(gulp.dest('dist'));
172+
}
173+
169174
function buildBanner() {
170175
let cloned = _.cloneDeep(webpackConfig);
171176
delete cloned.devtool;
@@ -343,7 +348,7 @@ function watch(done) {
343348
root: './'
344349
});
345350

346-
mainWatcher.on('all', gulp.series(clean, gulp.parallel(buildBannerDev, buildVideoDev, buildAmpDev, buildMobileDev, buildNativeDev, buildNativeRenderDev, buildCookieSync, buildCookieSyncWithConsent, includeStaticVastXmlFile, buildUidDev), test));
351+
mainWatcher.on('all', gulp.series(clean, gulp.parallel(buildBannerDev, buildVideoDev, buildAmpDev, buildMobileDev, buildNativeDev, buildNativeRenderDev, buildCookieSync, buildCookieSyncWithConsent, buildUidDev, includeStaticVastXmlFile), test));
347352
done();
348353
}
349354

0 commit comments

Comments
 (0)