forked from AkkomaGang/akkoma-fe
parent
169282ea42
commit
7538369fa1
3 changed files with 6 additions and 5 deletions
|
@ -119,11 +119,6 @@ module.exports = {
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new WorkboxPlugin.InjectManifest({
|
|
||||||
swSrc: path.join(__dirname, '..', 'src/sw.js'),
|
|
||||||
swDest: 'sw-pleroma.js',
|
|
||||||
maximumFileSizeToCacheInBytes: 15 * 1024 * 1024,
|
|
||||||
}),
|
|
||||||
new VueLoaderPlugin()
|
new VueLoaderPlugin()
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,6 +32,11 @@ var webpackConfig = merge(baseWebpackConfig, {
|
||||||
chunkFilename: utils.assetsPath('js/[name].[chunkhash].js')
|
chunkFilename: utils.assetsPath('js/[name].[chunkhash].js')
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
new WorkboxPlugin.InjectManifest({
|
||||||
|
swSrc: path.join(__dirname, '..', 'src/sw.js'),
|
||||||
|
swDest: 'sw-pleroma.js',
|
||||||
|
maximumFileSizeToCacheInBytes: 15 * 1024 * 1024,
|
||||||
|
}),
|
||||||
// http://vuejs.github.io/vue-loader/workflow/production.html
|
// http://vuejs.github.io/vue-loader/workflow/production.html
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
'process.env': env,
|
'process.env': env,
|
||||||
|
|
|
@ -150,6 +150,7 @@ const setSettings = async ({ apiConfig, staticConfig, store }) => {
|
||||||
copyInstanceOption('showPanelNavShortcuts')
|
copyInstanceOption('showPanelNavShortcuts')
|
||||||
copyInstanceOption('stopGifs')
|
copyInstanceOption('stopGifs')
|
||||||
copyInstanceOption('logo')
|
copyInstanceOption('logo')
|
||||||
|
copyInstanceOption('conversationDisplay')
|
||||||
|
|
||||||
store.dispatch('setInstanceOption', {
|
store.dispatch('setInstanceOption', {
|
||||||
name: 'logoMask',
|
name: 'logoMask',
|
||||||
|
|
Loading…
Reference in a new issue