-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
34 lines (32 loc) · 1.02 KB
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
transpileDependencies: true,
// chainWebpack: (config) => {
// const svgRule = config.module.rule("svg");
// svgRule.uses.clear();
// svgRule
// .use("babel-loader")
// .loader("babel-loader")
// .end()
// .use("vue-svg-loader")
// .loader("vue-svg-loader");
// },
pwa: {
name: "Joblyn Portfolio",
themeColor: "#20bf55",
msTileColor: "#091619",
icons: {
faviconVG: "img/icons/favicon.svg",
favicon32: "img/icons/favicon-32x32.png",
favicon16: "img/icons/favicon-16x16.png",
favicon192: "img/icons/favicon-192x192.png",
favicon512: "img/icons/favicon-512x512.png",
appleTouchIcon: "img/icons/favicon-152x152.png",
maskIcon: "img/icons/favicon.svg",
msTileImage: "img/icons/favicon-144x144.png",
},
appleMobileWebAppCapable: "yes",
appleMobileWebAppStatusBarStyle: "black-translucent",
workboxPluginMode: "GenerateSW",
},
});