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 rollup.js issues in nextjs-apollo-config #160

Closed
wants to merge 5 commits into from

Conversation

trm217
Copy link
Contributor

@trm217 trm217 commented Aug 2, 2022

Description

Reverts #159 which removed the rollup setup from nextjs-apollo-config.
It seems the problems where caused by the latest patch release of @rollup/typescript-plugin (v8.3.4) which was released at the end of last week (the following changes seemed to cause the issue). After locking the version of the rollup-plugin the issue we saw when deploying to staging, stopped.

Besides that the TS-config now the defines the source folder explicitly & the rollup-plugin order was changed to run the commonjs-plugin before the typescript-plugin (which should've been the case all along).

@trm217 trm217 added refactoring Refactoring our code maintenance Maintaining our code labels Aug 2, 2022
@trm217 trm217 self-assigned this Aug 2, 2022
@trm217 trm217 marked this pull request as ready for review August 2, 2022 07:49
@trm217 trm217 requested a review from tpreusse August 2, 2022 07:50
@trm217 trm217 closed this Aug 2, 2022
@trm217 trm217 deleted the fix/rollup-heroku-issues branch August 2, 2022 09:44
@trm217
Copy link
Contributor Author

trm217 commented Aug 2, 2022

TS seems to work fine in editors after moving to compiling only with tsc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintaining our code refactoring Refactoring our code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant