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
999 B
43 lines
999 B
module.exports = {
|
|
devServer: {
|
|
disableHostCheck: true,
|
|
},
|
|
publicPath: ["production", "stage", "u168"].includes(process.env.VUE_ENV)
|
|
? "/home"
|
|
: "/home",
|
|
outputDir:
|
|
["production", "u168", "slash"].includes(process.env.VUE_ENV)
|
|
? "../build/home"
|
|
: "./dist",
|
|
pwa: {
|
|
name: "SlashCard",
|
|
short_name: "Slash",
|
|
background_color: "#3367D6",
|
|
manifestOptions: {
|
|
display: "browser",
|
|
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,
|
|
},
|
|
},
|
|
};
|