forked from TeamPiped/Piped
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathvue.config.js
More file actions
43 lines (40 loc) · 765 Bytes
/
Copy pathvue.config.js
File metadata and controls
43 lines (40 loc) · 765 Bytes
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
39
40
41
42
43
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin')
module.exports = {
configureWebpack: {
plugins: [
new NodePolyfillPlugin()
]
},
transpileDependencies: [
'vuetify'
],
pwa: {
name: 'Piped Material',
themeColor: '#efcac3',
msTileColor: '',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black',
iconPaths: {
faviconSVG: null
},
workboxOptions: {
cleanupOutdatedCaches: true,
navigateFallback: 'index.html',
skipWaiting: true,
runtimeCaching: [
{
urlPattern: /\.(?:png|svg|ico)$/,
handler: 'CacheFirst'
}
]
}
},
devServer: {
allowedHosts: 'all',
client: {
webSocketURL: 'auto://0.0.0.0:0/ws'
}
},
productionSourceMap: false,
lintOnSave: false
}