Skip to content
Snippets Groups Projects
Commit 4b4bb851 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'disable-preloading' into 'develop'

Disable preloading

See merge request funkwhale/funkwhale!502
parents e1f02ede 42a9c1f9
Branches master
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment