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

Fix umd build having no node interop #504

Merged
merged 4 commits into from
Aug 25, 2021
Merged

Fix umd build having no node interop #504

merged 4 commits into from
Aug 25, 2021

Conversation

bidoubiwa
Copy link
Contributor

@bidoubiwa bidoubiwa commented Aug 25, 2021

The bug was caused by changing the rollup typescript from the non-official rollup-plugin-typescript2 to the official one @rollup/rollup-typescript.

Multiple libraries suggesting multiple bundles outputs (umd, cjs, ...) are using rollup-plugin-typescript2. Since some of the issues why we initially used this one were resolved, I made the change to go back to the official one.
Unfortunately do a lack of tests on the builds themselves I did not realise a new issue was introduced.

By rollbacking to the initial plugin we used, the problem seems to be fixed. Tests are added to ensure this.

fixes: #502
fixes: #501

@bidoubiwa bidoubiwa changed the title Fix umd build Fix umd build having no node interop Aug 25, 2021
Copy link
Contributor

@alallema alallema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bidoubiwa
Copy link
Contributor Author

bors merge

@bors
Copy link
Contributor

bors bot commented Aug 25, 2021

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants