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

Add actioncable.js and actioncable.esm.js to gem package. #43631

Merged
merged 1 commit into from Nov 12, 2021

Conversation

ytnk531
Copy link
Contributor

@ytnk531 ytnk531 commented Nov 11, 2021

Summary

actioncable.js and actioncable.esm.js is not included to gem package. It prevented us from using the action cable when using importmaps.

When we use actioncable with importmaps, it needs to write as below in importmaps.rb.

pin "@rails/actioncable", to: "actioncable.esm.js"

But actioncable.esm.js would not be loaded, because esm version of actioncable's javascript is not included in actioncable gem.

This patch adds the missing asset files to gem package.

actioncable.js and actioncable.esm.js is not included to gem package. It prevented us from using the action cable when using importmaps.

This adds the missing asset files to gem package.
@kamipo kamipo merged commit 15d94fd into rails:main Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants