Issue with array since npm upgrade
lk77 opened this issue · 0 comments
lk77 commented
Hello,
since upgrade i have an issue with array beeing transformed in associative objects without any reason.
file en.js
console.log of window.vuei18nLocales
do you have any idea why ?
the factory() function is returning an array, but it becomes and object somehow
edit :it does not seems related directly to this package. The generated files are correct. it seems related to vue-i18n directly. if i replace messages: window.vuei18nLocales
by messages: JSON.parse(JSON.stringify(window.vuei18nLocales))
the vuei18nLocales property of window object is not modified and array is still an array.
thanks.