const srcPath = "src/";
const distPath = "dist/";
const path = {
build: {
html: distPath,
css: distPath + "assets/css/",
js: distPath + "assets/js/",
img: distPath + "assets/images/",
fonts: distPath + "assets/fonts/"
},
src: {
html: srcPath + "*.html",
css: srcPath + "assets/css/*.scss",
js: srcPath + "assets/js/*.js",
images: srcPath + "assets/images/**/*.{png,jpg,jpeg,gif,svg}",
fonts: srcPath + "assets/fonts/**/*.{eot,svg,ttf,woff,woff2}"
},
watch: {
html: srcPath + "**/*.html",
css: srcPath + "assets/css/**/*.scss",
js: srcPath + "assets/js/**/*.js",
images: srcPath + "assets/images/**/*.{png,jpg,jpeg,gif,svg}",
fonts: srcPath + "assets/fonts/**/*.{eot,svg,ttf,woff,woff2}"
},
clean: "./", distPath
}
function html() {
return src(path.src.html, {base: srcPath})
.pipe(dest(path.build.html))
}
exports.html = html