Merge branch 'disable-preloading' into 'develop'
Disable preloading See merge request funkwhale/funkwhale!502
This commit is contained in:
commit
4b4bb85148
|
@ -81,6 +81,7 @@ export default {
|
|||
let self = this
|
||||
import(`../translations/${value}.json`).then((response) =>{
|
||||
Vue.$translations[value] = response.default[value]
|
||||
}).finally(() => {
|
||||
self.$language.current = value
|
||||
})
|
||||
}
|
||||
|
|
|
@ -37,6 +37,9 @@ module.exports = {
|
|||
},
|
||||
chainWebpack: config => {
|
||||
config.optimization.delete('splitChunks')
|
||||
console.log(config.plugins)
|
||||
config.plugins.delete('prefetch-embed')
|
||||
config.plugins.delete('prefetch-index')
|
||||
},
|
||||
configureWebpack: {
|
||||
plugins: plugins,
|
||||
|
|
Loading…
Reference in New Issue