mirror of
https://github.com/mmjee/Piped-Material.git
synced 2024-12-06 19:26:36 +01:00
44 lines
737 B
JavaScript
44 lines
737 B
JavaScript
const webpack = require('webpack')
|
|
|
|
module.exports = {
|
|
configureWebpack: {
|
|
resolve: {
|
|
fallback: {
|
|
stream: require.resolve('stream-browserify')
|
|
}
|
|
},
|
|
plugins: [
|
|
new webpack.ProvidePlugin({
|
|
Buffer: ['buffer', 'Buffer']
|
|
})
|
|
]
|
|
},
|
|
transpileDependencies: [
|
|
'vuetify'
|
|
],
|
|
pwa: {
|
|
name: 'Piped Material',
|
|
themeColor: '#458588',
|
|
msTileColor: '',
|
|
appleMobileWebAppCapable: 'yes',
|
|
appleMobileWebAppStatusBarStyle: 'black',
|
|
iconPaths: {
|
|
faviconSVG: null
|
|
},
|
|
|
|
workboxOptions: {
|
|
cleanupOutdatedCaches: true,
|
|
navigateFallback: 'index.html',
|
|
skipWaiting: true,
|
|
runtimeCaching: [
|
|
{
|
|
urlPattern: /\.(?:png|svg|ico)$/,
|
|
handler: 'CacheFirst'
|
|
}
|
|
]
|
|
}
|
|
},
|
|
|
|
lintOnSave: false
|
|
}
|