diff --git a/gulpfile.js b/gulpfile.js index 317be2f..c8f919c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -244,12 +244,13 @@ var updateAssetVersion = function (done) { .pipe(dest(paths.output)); }; // updates version in SW -var updateSWVersion = function (done) { +var buildSW = function (done) { return src('src/sw.js') .pipe(hashsrc({build_dir:paths.output,src_path:"src",hash_len:"6",query_name:"v",exts:[".json",".webp",".jpg",".css",".png",".ico",".js"], regex:/\s*(?:(")([^"]*)|(')([^']*))/ig, analyze: function analyze(match){return {prefix: "'",link:match[4],suffix: ''};} })) + .pipe(jsTasks()) .pipe(dest(paths.output)); }; // Watch for changes to the src directory @@ -298,9 +299,9 @@ exports.default = series( buildSVGs ), buildStyles, - updateAssetVersion, buildScripts, - updateSWVersion, + updateAssetVersion, + buildSW, ); // Watch and reload diff --git a/src/img/favicon/browserconfig.xml b/src/img/favicon/browserconfig.xml index e7e31d6..850634d 100644 --- a/src/img/favicon/browserconfig.xml +++ b/src/img/favicon/browserconfig.xml @@ -2,9 +2,9 @@ - - - + + + #2b5797 diff --git a/src/include/html_head.php b/src/include/html_head.php index 0af1dc6..712437d 100644 --- a/src/include/html_head.php +++ b/src/include/html_head.php @@ -45,8 +45,8 @@ echo ' - - + +