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

introduce importmaps #983

Merged
merged 2 commits into from
Jun 14, 2023
Merged

Conversation

yksflip
Copy link
Member

@yksflip yksflip commented Mar 5, 2023

This commit introduces importmaps. They allow to use modern javacript ESM within rails without webpack, yarn etc.
see https://github.com/rails/importmap-rails for more details.
This will be useful to add new features e.g. actiontext.
Depends on the rails upgrade #979

As it would require larger changes, we decided to keep the legacy javascript in it's old structure for now.

@yksflip yksflip added this to the 4.8 milestone Jun 9, 2023
This commit introduces importmaps. They allow to use modern javacript ESM within rails without webpack, yarn etc.
see https://github.com/rails/importmap-rails for more details.

Co-authored-by: Philipp Rothmann <[email protected]>
Co-authored-by: FGU <[email protected]>
@yksflip yksflip force-pushed the 9_rails_v_7_js_importmap_merge branch from 1834c39 to 51b5c10 Compare June 9, 2023 17:09
@yksflip yksflip marked this pull request as ready for review June 9, 2023 17:10
@kidhab
Copy link
Contributor

kidhab commented Jun 14, 2023

I think this would complete the Ruby/Rails update. Can we merge it?

@yksflip
Copy link
Member Author

yksflip commented Jun 14, 2023

@wvengen @paroga @lentschi any objections?

Copy link
Member

@wvengen wvengen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super!

(not sure why we include already minified jquery, since seems to be minification already, but that's another issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants