Skip to content
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

[WIP] Implement extensions API #507

Open
3y3 opened this issue Jul 17, 2023 · 0 comments
Open

[WIP] Implement extensions API #507

3y3 opened this issue Jul 17, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@3y3
Copy link
Member

3y3 commented Jul 17, 2023

Work on description is in progress

Add new configuration prop --extension <path>

Path can be absolute or relative to node_modules.

Extension is a module with default export.
Default export can implement one or more methods:

registerOptions(yargs): Promise<void> | void {}

registerTransformer(cliConfig): Promise<void> | void {}

registerIncluder(cliConfig): Promise<void> | void {}
@3y3 3y3 added the enhancement New feature or request label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant