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