Skip to content

introduce importmaps#983

Merged
kidhab merged 2 commits into
foodcoops:masterfrom
yksflip:9_rails_v_7_js_importmap_merge
Jun 14, 2023
Merged

introduce importmaps#983
kidhab merged 2 commits into
foodcoops:masterfrom
yksflip:9_rails_v_7_js_importmap_merge

Conversation

@yksflip
Copy link
Copy Markdown
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 <philipprothmann@posteo.de>
Co-authored-by: FGU <fgu@pragma-shift.net>
@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
Copy Markdown
Contributor

kidhab commented Jun 14, 2023

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

@yksflip
Copy link
Copy Markdown
Member Author

yksflip commented Jun 14, 2023

@wvengen @paroga @lentschi any objections?

Copy link
Copy Markdown
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)

@kidhab kidhab merged commit 026c3a6 into foodcoops:master Jun 14, 2023
@lentschi lentschi mentioned this pull request Aug 2, 2024
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