README
babel-plugin-transform-catch-promise
This is a babel plugin that:
Prepend
var CatchPromise = require('catch-promise');to the fileReplace all
Promiseidentifiers withCatchPromise
Dev
npm run build
npm publish
npm run build
npm publish
This is a babel plugin that:
<script type="module">
import babelPluginTransformCatchPromise from 'https://cdn.skypack.dev/babel-plugin-transform-catch-promise';
</script>
This is a babel plugin that:
Prepend var CatchPromise = require('catch-promise'); to the file
Replace all Promise identifiers with CatchPromise
npm run build
npm run build
npm publish