Skip to content

Add externalHelpersPath configuration #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmail
Copy link

@dmail dmail commented May 30, 2022

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?

I would like to be able to control the import path generated by this babel plugin.
The goal is generate code where the import path is the actual file url (not an alias that needs to be resolved by node).

To achieve this I would like to add "externalHelpersPath" configuration. 
What do you think about it?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant