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 actiontext js not pointing to compiled file #45412

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

skipkayhil
Copy link
Member

Summary

This caused issues with bundlers like Webpack since it tries to strictly
follow the ESM spec which says that imports must include file
extensions.

Other Information

Tested in fresh Vite and Webpack applications. Vite works before and after, Webpack fails before but works after this fix.

Fixes #43973

This caused issues with bundlers like Webpack since it tries to strictly
follow the ESM spec which says that imports must include file
extensions.
@rails-bot rails-bot bot added the actiontext label Jun 20, 2022
@rafaelfranca rafaelfranca merged commit aa0952d into rails:main Aug 10, 2022
rafaelfranca added a commit that referenced this pull request Aug 10, 2022
Fix actiontext js not pointing to compiled file
@skipkayhil skipkayhil deleted the fix-actiontext-js-main branch August 11, 2022 15:45
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.

Adding type: "module" to actiontext caused an error
2 participants