title: Transpiling async/await to custom promise
body: <p>I have a NodeJS project that uses webpack and babel.  On the client side, I also subclassed the native promise object to enhance logging of unhandled rejections.  But I also make extensive use of async/await which can wrap the enhanced promises such that I don't get the extra logging.  So, it would be ideal if I can add something to my webpack and/or babel config so that this syntax is replaced with my enhanced promises.  If it makes it easier, my implementation of the subclassed promises involves replacing window.Promise.  So, in theory, standard ES5 transpilation would work.  But I don't want to transpile all ES7+, just the async/await syntax.</p>
  <p>What plugin(s) would I need to install and what would the webpack and/or babel config look like for that?  I'm using webpack v5 and babel v7.</p>