Answer the question
In order to leave comments, you need to log in
(i18n optimization) Why does yarn swear at i18n?
Hello, to optimize the resulting i18n build, it is recommended to use the work mode vue-i18n.runtime.esm-bundler.js
https://vue-i18n.intlify.dev/guide/advanced/optimi...
To do this, vue.conf.js (in the case of vue) module.exports
is created inside
resolve: {
alias: {
'vue-i18n': 'vue-i18n.esm-bundler.js'
}
},
yarn run v1.22.10
$ vue-cli-service lint
ERROR Invalid options in vue.config.js: "resolve" is not allowed
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question