Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const buildHtml = () =>
gulp.src(['website/static/**/*.html', 'website/root/**/*.html'])
.pipe(fileInclude({ basepath: '@root', indent: true, context: webContext }))
.pipe(htmlHint(htmlHintConfig))
.pipe(htmlHint.reporter())
.pipe(htmlValidator())
.pipe(htmlValidator.reporter())
.pipe(gulp.dest(websiteTarget))
.pipe(size({ showFiles: true }));
return mergeStream(copyStaticFiles(), buildHtml());
analyzeHtml: () => {
return gulp.src('docs/*.html')
.pipe(htmlHint(htmlHintConfig))
.pipe(htmlHint.reporter())
.pipe(htmlValidator())
.pipe(htmlValidator.reporter())
.pipe(size({ showFiles: true }));
},
buildDistribution: () => {
analyzeHtml: () => {
return gulp.src(['*.html', 'docs/*.html'])
.pipe(htmlHint(htmlHintConfig))
.pipe(htmlHint.reporter())
.pipe(htmlValidator())
.pipe(htmlValidator.reporter())
.pipe(size({ showFiles: true }));
},
buildDistribution: () => {