This commit is contained in:
2020-10-12 20:51:09 +00:00
parent 97c61c6a68
commit 3ea1c1e860
8 changed files with 40 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ module.exports = {
chainWebpack: config => {
config.plugins.delete("prefetch");
},
configureWebpack: {
plugins: [
new MonacoWebpackPlugin({
@@ -20,13 +21,28 @@ module.exports = {
})
]
},
transpileDependencies: ["vuetify"],
pwa: {
//https://cli.vuejs.org/core-plugins/pwa.html#configuration
name: "AyaNova",
themeColor: "#db7022",
workboxPluginMode: "InjectManifest",
workboxOptions: {
swSrc: "./src/sw.js",
swDest: "service-worker.js"
},
iconPaths: {
//disable automatic icons, they have the wrong ones basically, use this guide https://developers.google.com/web/fundamentals/design-and-ux/browser-customization
//and put them directly into the index.html in the public folder as it's the source one used
favicon32: null,
favicon16: null,
appleTouchIcon: null,
maskIcon: null,
msTileImage: null
}
}
},
productionSourceMap: false
};