-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvue.config.js
37 lines (34 loc) · 1.12 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
35
36
37
module.exports = {
configureWebpack: {
devtool: "source-map",
},
pwa: {
iconPaths: {
favicon32: "img/icons/favicon-32x32.png",
favicon16: "img/icons/favicon-16x16.png",
appleTouchIcon: "img/icons/apple-touch-icon.png",
maskIcon: "img/icons/safari-pinned-tab.svg",
msTileImage: "img/icons/mstile-150x150.png",
},
themeColor: "#03a1fc",
// configure the workbox plugin
workboxPluginMode: "InjectManifest",
workboxOptions: {
// swSrc is required in InjectManifest mode.
swSrc: "src/service-worker.js",
exclude: [/_redirects/, /robots.txt/, /google/, /\.map$/],
},
name: "Walnut Hills Directions",
manifestOptions: {
short_name: "Walnut.Direct",
},
},
// IE10 support for vue-snack
transpileDependencies: process.env.VUE_CLI_MODERN_BUILD ? [] : ["vue-snack"],
// https://cli.vuejs.org/guide/troubleshooting.html#symbolic-links-in-node-modules
// This is for when using yarn link, because that messes up eslint. Safe to delete
// when not using yarn link.
chainWebpack: (config) => {
config.resolve.symlinks(false);
},
};