JSPM

fis-preprocessor-auto-try-catch

0.1.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 4
    • Score
      100M100P100Q16998F
    • License ISC

    fis plugin for adding try-catch

    Package Exports

    • fis-preprocessor-auto-try-catch

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fis-preprocessor-auto-try-catch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Forked from https://github.com/zhangjunah/fis-preprocessor-js-exception-catch. 以下是与fis-preprocessor-js-exception-catch不同点

    • 更新了exprima版本,更好的支持es6语法
    • 增加自定义错误上报函数
    • 修复了同一行上同时出现function结尾和另一function开头时,try-catch添加错位的问题