rpetrich / babel-plugin-transform-async-to-promises

Transform async/await to somewhat idiomatic JavaScript promise chains
MIT License
246 stars 17 forks source link

Add externalHelpersPath configuration #83

Open dmail opened 2 years ago

dmail commented 2 years ago

I would like to control the import path generated by this babel plugin. So that the import path produced can look as below:

- import { _await } from "babel-plugin-transform-async-to-promises/helpers"
+ import { _await } from "custom-path/helpers.mjs"

To achieve this I would like to add "externalHelpersPath" configuration. What do you think about it?