Removed all the demo stuff

This commit is contained in:
Nicolai Ort 2020-08-29 14:02:59 +02:00
parent bf9caccd06
commit 89a3a665ed
1 changed files with 2 additions and 7 deletions

View File

@ -114,16 +114,13 @@ function demoCss() {
function watchFiles() {
watch('./src/html/component.html', html);
watch('./src/scss/component.scss', css);
watch(['./src/js/mailymaily.js', './package.json'], series(js, lintDemoJs, processDemoJs));
watch('./demo/demo.scss', demoCss);
watch('./demo/demo.js', demoJs);
watch(['./src/js/mailymaily.js', './package.json']);
}
/**
* Define complex tasks.
*/
const demoJs = series(lintDemoJs, processDemoJs);
const build = series(parallel(html, css), js, demoJs, demoCss);
const build = series(parallel(html, css), js);
const watching = series(build, watchFiles);
/**
@ -132,7 +129,5 @@ const watching = series(build, watchFiles);
exports.html = html;
exports.css = css;
exports.js = js;
exports.demoJs = demoJs;
exports.demoCss = demoCss;
exports.watch = watching;
exports.default = build;