1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 22:00:28 +05:30
Piped/vue.config.js

38 lines
976 B
JavaScript
Raw Normal View History

2021-01-02 01:35:44 +05:30
module.exports = {
pwa: {
name: "Piped",
themeColor: "#fa4b4b",
msTileColor: "#000000",
appleMobileWebAppCapable: "yes",
appleMobileWebAppStatusBarStyle: "black",
workboxPluginMode: "GenerateSW",
2021-01-02 01:35:44 +05:30
workboxOptions: {
navigateFallback: "index.html",
skipWaiting: true,
importWorkboxFrom: "local",
runtimeCaching: [
{
urlPattern: /\.(?:png|svg|ico)$/,
handler: "CacheFirst",
},
],
},
},
configureWebpack: {
resolve: {
alias: {
"vue-i18n": "vue-i18n/dist/vue-i18n.runtime.esm-bundler.js",
},
},
},
2021-11-01 04:05:07 +05:30
pluginOptions: {
i18n: {
locale: "en",
fallbackLocale: "en",
2021-11-01 04:05:07 +05:30
localeDir: "locales",
fullInstall: true,
enableLegacy: false,
2021-11-01 04:05:07 +05:30
},
},
};