example page

This commit is contained in:
yaroslav
2026-01-21 13:34:13 +02:00
parent d7bffb9f97
commit c9660f4bd8
6 changed files with 136 additions and 2 deletions
+2 -1
View File
@@ -37,6 +37,7 @@ async function html() {
}
async function css() {
console.log('restyling ...')
return src(['./src/pages/**/*.css', './src/components/**/*.css'])
.pipe(concat('styles.css'))
.pipe(postcss([combineMq]))
@@ -45,7 +46,7 @@ async function css() {
async function watcher() {
await watch(
['./src/pages/**/*.html', './src/components/**/*.html', '/src/pages/**/*.css', './src/components/**/*.css'],
['./src/pages/**/*.html', './src/components/**/*.html', './src/pages/**/*.css', './src/components/**/*.css'],
series(html, css)
);
}