-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
38 lines (36 loc) · 895 Bytes
/
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
38
module.exports = {
pwa: {
name: 'PWA Serverless Push',
appleMobileWebAppCapable: 'yes',
workboxPluginMode: 'InjectManifest',
workboxOptions: {
// swSrc: 'public/service-worker.js'
swSrc: 'public/OneSignalSDKWorker.js'
},
themeColor: '#4A90E2',
msTileColor: '#4A90E2',
iconPaths: {
favicon32: 'img/icons/icon-32x32.png',
favicon16: 'img/icons/icon-16x16.png',
appleTouchIcon: 'img/icons/icon-152x152.png',
msTileImage: 'img/icons/icon-144x144.png'
}
},
productionSourceMap: false,
css: {
extract: false,
sourceMap: true,
loaderOptions: {
sass: {
data: '@import "./src/styles/theme/resources.scss";',
},
},
},
configureWebpack: {},
pluginOptions: {
apollo: {
enableMocks: true,
enableEngine: true,
},
},
};