example page
This commit is contained in:
+2
-1
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user