You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to get precompilation working with my Vue 2.7 + vue-i18n-bridge project due to CSP restrictions, however adding our lang directory to the include array results in a webpack error with vee-validate locales no longer able to be imported:
ERROR in ./node_modules/vee-validate/dist/locale/es.json 2:8
Module parse failed: Unexpected token (2:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| {
> "code": "es",
| "messages": {
| "alpha": "El campo {_field_} solo debe contener letras",
@ ./src/validation.js 3:0-50 7:2-4
@ ./src/main.js 3:0-22
Expected behavior
The plugin doesn't impact json files it's not responsible for.
Reporting a bug?
I'm attempting to get precompilation working with my Vue 2.7 +
vue-i18n-bridge
project due to CSP restrictions, however adding ourlang
directory to theinclude
array results in a webpack error with vee-validate locales no longer able to be imported:Expected behavior
The plugin doesn't impact json files it's not responsible for.
Reproduction
https://github.com/Hawxy/vue-i18n-bridge-vee-validate-reproduction
Issue Package
unplugin-vue-i18n
System Info
Screenshot
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: