You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
998 B

module.exports = {
devServer: {
disableHostCheck: true,
},
publicPath: ["production", "stage", "u168"].includes(process.env.VUE_ENV)
? "/home"
: "/home",
outputDir:
["production", "u168"].includes(process.env.VUE_ENV)
? "../api/public/home"
: "./dist",
pwa: {
name: "SlashCard",
short_name: "Slash",
background_color: "#3367D6",
manifestOptions: {
display: "standalone",
icons: [
{
src: "./img/icons/logo.png",
type: "image/png",
sizes: "192x192",
},
{
src: "./img/icons/logo.png",
type: "image/png",
sizes: "512x512",
},
]},
themeColor: "#4DBA88",
msTileColor: '#000000',
iconPaths: {
msTileImage: 'img/icons/mstile-150x150.png'
},
// appleMobileWebAppCapable: 'yes',
// appleMobileWebAppStatusBarStyle: 'black',
workboxPluginMode: "GenerateSW",
workboxOptions: {
skipWaiting: true,
},
},
};