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
|
let self = this
|
||||||
import(`../translations/${value}.json`).then((response) =>{
|
import(`../translations/${value}.json`).then((response) =>{
|
||||||
Vue.$translations[value] = response.default[value]
|
Vue.$translations[value] = response.default[value]
|
||||||
|
}).finally(() => {
|
||||||
self.$language.current = value
|
self.$language.current = value
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,9 @@ module.exports = {
|
||||||
},
|
},
|
||||||
chainWebpack: config => {
|
chainWebpack: config => {
|
||||||
config.optimization.delete('splitChunks')
|
config.optimization.delete('splitChunks')
|
||||||
|
console.log(config.plugins)
|
||||||
|
config.plugins.delete('prefetch-embed')
|
||||||
|
config.plugins.delete('prefetch-index')
|
||||||
},
|
},
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
plugins: plugins,
|
plugins: plugins,
|
||||||
|
|
Loading…
Reference in New Issue