Skip to content

v1.1.4

Choose a tag to compare

@buddywang buddywang released this 30 Jul 02:59
· 6 commits to main since this release

fix bugs:

  • 保证生成的dts文件结构稳定

  • sideEffectCode 用try catch包一下,防止报错卡死

  • 更新正则:

    • 注释的 ?dir2json 行不增加 sideEffectCode
    • 兼容识别不同格式的代码
  • 更改生成的模块导入变量名规则,保证合法唯一

  • Ensure that the generated dts file structure is stable

  • Wrap sideEffectCode with try catch to prevent error reporting and stuck

  • Update regular rules:

    • The commented ?dir2json line does not increase sideEffectCode
    • Compatible with identifying codes in different formats
  • Change the generated module import variable name rules to ensure legal and unique