change build for test servers, bump version to 0.3.1

This commit is contained in:
2024-03-17 16:42:49 -06:00
parent 155343a9d7
commit ccea2486e4
6 changed files with 31 additions and 15 deletions

View File

@@ -3,6 +3,7 @@ const { gitDescribeSync } = require("git-describe");
const { exec } = require("child_process");
process.env.VUE_APP_GIT_HASH = gitDescribeSync().hash;
const APP_TITLE = process.env.APP_TITLE || require("./package.json").name;
module.exports = defineConfig({
transpileDependencies: true,
@@ -30,6 +31,7 @@ module.exports = defineConfig({
],
},
pwa: {
name: APP_TITLE,
iconPaths: {
faviconSVG: "img/icons/safari-pinned-tab.svg",
},