This is a babel plugin that:
-
Prepend
var CatchPromise = require('catch-promise');
to the file -
Replace all
Promise
identifiers withCatchPromise
npm run build
npm run build
npm publish
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