zhangfisher / voerka-i18n

Nodejs/Vue/React International solutions

Home Page:https://zhangfisher.github.io/voerka-i18n/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

【bug】voerkai18n compile 执行后 会注入错误语法导致编译错误

itmanyong opened this issue · comments

1.执行以下命令之后

voerkai18n init
voerkai18n extract
voerkai18n compile

2.查看文件languages/index.js,顶部导入语句中activeFormattersactiveMessages导入错误,如下
image

确认这是一个BUG ,可以先手工修改一下

const activeFormatters = defaultFormatters
const activeMessages = defaultMessages

将在2.0.28中修复此错误

已经在2.0.28中修复此错误