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

feat(typescript): add transformers factory #1668

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

Conversation

Haringat
Copy link

Rollup Plugin Name: typescript

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

resolves #1667

Description

This allows creating custom transformers in the typescript plugin together ahead-of-time in a factory function. This allows for shorter rollup configs in certain cases and enables using similar factory-style transformers like the angular compiler API.

This also cleans up a few places minor internals in the typescript plugin (missing parameter descriptions, deprecated APIs, generic identifiers)

@Haringat
Copy link
Author

@shellscape Would you mind reviewing this?

@shellscape
Copy link
Collaborator

@Haringat I'm backed up at work. will be end of the week before I circle back to open source.

@Haringat
Copy link
Author

@shellscape what calendar are we going with?

@shellscape
Copy link
Collaborator

I'm using the Julian calendar.

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.

Typescript plugin transformers API design is incompatible with angular compiler
2 participants