🐤 Kiwi-国际化翻译全流程解决方案
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
SsZzzz opened this issue 10 months ago · comments
从npm中安装的版本,findTextInJs中babelParser的plugins只有jsx,github我看应该是比较新的, const ast = babelParser.parse(code, { sourceType: 'module', plugins: ['jsx', 'decorators-legacy'] });
const ast = babelParser.parse(code, { sourceType: 'module', plugins: ['jsx', 'decorators-legacy'] });