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

Convert Rollup configuration to TypeScript #161

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

jonkoops
Copy link
Contributor

@jonkoops jonkoops commented Jul 27, 2023

Converts the Rollup configuration to TypeScript with the help of the @rollup/plugin-typescript plugin. This allows the Rollup configuration to be type-checked for possible mistakes.

@jonkoops jonkoops requested a review from a team as a code owner July 27, 2023 10:29
@frederikprijck frederikprijck merged commit 8af9a18 into auth0:prepare/beta Jul 27, 2023
1 check passed
@jonkoops jonkoops deleted the rollup-config-ts branch July 27, 2023 10:54
@jonkoops
Copy link
Contributor Author

Looks like this change causes TypeScript to accidentally emit types for the Rollup config. Likely we need to set a config option so only the files from the distribution are emitted. I'll take a look to see if this can be fixed.

A screenshot showing the types being emitted wrongly.

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.

2 participants