release v1.0.0 #14

Merged
thefeli73 merged 63 commits from develop into master 2019-11-12 18:53:53 +01:00
3 changed files with 9 additions and 8 deletions
Showing only changes of commit 35f313b2fc - Show all commits

View File

@ -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

View File

@ -2,9 +2,9 @@
<browserconfig>
<msapplication>
<tile>
<square70x70logo src="assets/img/favicon/mstile-70x70.png"/>
<square150x150logo src="assets/img/favicon/mstile-150x150.png"/>
<square310x310logo src="assets/img/favicon/mstile-310x310.png"/>
<square70x70logo src="/img/favicon/mstile-70x70.png"/>
<square150x150logo src="/img/favicon/mstile-150x150.png"/>
<square310x310logo src="/img/favicon/mstile-310x310.png"/>
<TileColor>#2b5797</TileColor>
</tile>
</msapplication>

View File

@ -45,8 +45,8 @@ echo '
<meta name="apple-mobile-web-app-title" content="Meritv&auml;rde">
<meta name="application-name" content="Meritv&auml;rde">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="msapplication-TileImage" content="img/favicon/mstile-144x144.png">
<meta name="msapplication-config" content="img/favicon/browserconfig.xml">
<meta name="msapplication-TileImage" content="/img/favicon/mstile-144x144.png">
<meta name="msapplication-config" content="/img/favicon/browserconfig.xml">
<meta name="theme-color" content="#27233a">