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

use latest typescript and fix issue with importHelpers #69

Merged
merged 2 commits into from
Jan 26, 2018
Merged

use latest typescript and fix issue with importHelpers #69

merged 2 commits into from
Jan 26, 2018

Conversation

tymondesigns
Copy link
Contributor

@tymondesigns tymondesigns commented Jan 26, 2018

This updates the rollup plugin to use the latest version of Typescript, since it currently uses an ancient version

This also fixes an issue where the helpers imported are not transpiled properly
rollup/rollup-plugin-typescript#106

I found this issue when trying to use microbundle to package up a lib that uses the spread operator and fails hard on uglify, since there is a rogue const inserted improperly

Obviously it would be better if this were fixed upstream, (there is a PR for it) but it's a ghost town over there, hence the many forks of the plugin.

@developit
Copy link
Owner

Makes sense! I'll merge this and include it in today's release.

Do you think it's worth moving to rollup-plugin-typescript2?

@developit developit merged commit b5504c9 into developit:master Jan 26, 2018
@tymondesigns
Copy link
Contributor Author

Great!

I actually already tried that plugin first time round, but it has some issues of its own relating to parallel cache directories conflicting, see here
And I tried a few combinations of "fixes" with no luck. Maybe someone else could take a stab at it

@tymondesigns tymondesigns deleted the feature/newer-typescript branch January 26, 2018 19:40
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