mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-25 15:07:21 +00:00
Use runtime-only build for vue-i18n (#684)
This commit is contained in:
parent
64db39eea9
commit
05ab126337
@ -18,11 +18,20 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
configureWebpack: {
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
"vue-i18n": "vue-i18n/dist/vue-i18n.runtime.esm-bundler.js",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
pluginOptions: {
|
pluginOptions: {
|
||||||
i18n: {
|
i18n: {
|
||||||
locale: "en",
|
locale: "en",
|
||||||
|
fallbackLocale: "en",
|
||||||
localeDir: "locales",
|
localeDir: "locales",
|
||||||
fullInstall: true,
|
fullInstall: true,
|
||||||
|
enableLegacy: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user