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

Resolve breaking change in Rollup v3 #133

Merged
merged 2 commits into from
Dec 14, 2022
Merged

Resolve breaking change in Rollup v3 #133

merged 2 commits into from
Dec 14, 2022

Conversation

mattgauf
Copy link
Contributor

Rollup has just pushed a major release. (Currently 3.0.1)

This update implements a change for rollup.config.js which requires that it conform to a module to continue use of 'import'. New apps to run javascript:install:rollup pull this latest version but use a (now) broken rollup.config.js.

This triggers unhelpful errors during install.

A flag can be used to bypass the new module requirement.
See: https://rollupjs.org/guide/en/#--bundleconfigascjs

This PR implements the latter solution as a temporary fix until someone can formally review how the new convention used in rollup.config.js affects rails apps.

@mattgauf
Copy link
Contributor Author

@dhh Sorry to bother you, I just wanted to follow up on this and make sure someone was aware of this issue and pull request. If there is anything else I need to do please let me know!

@mattgauf
Copy link
Contributor Author

@rafaelfranca Just following up on this; is there anything I need to do before this can be merged?

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