mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Use runtime-only build for vue-i18n (#684)
This commit is contained in:
parent
64db39eea9
commit
05ab126337
1 changed files with 9 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue