Skip to content

Allows preload to be determined by provided entry_point#253

Merged
dhh merged 4 commits into
rails:mainfrom
aseroff:multiplemaps
Sep 15, 2024
Merged

Allows preload to be determined by provided entry_point#253
dhh merged 4 commits into
rails:mainfrom
aseroff:multiplemaps

Conversation

@aseroff

@aseroff aseroff commented May 28, 2024

Copy link
Copy Markdown
Contributor

As discussed in #240 (comment), this PR allows preload to accept 1+ strings representing entry_points instead of just a boolean for the value of a mapping's preload. That way you can forgo creating multiple importmaps and instead use an application-wide importmap and modify what is preloaded based on where you are.

@aseroff aseroff marked this pull request as draft May 28, 2024 17:12
@aseroff aseroff marked this pull request as ready for review May 28, 2024 22:03
@jan-bw

jan-bw commented Jul 5, 2024

Copy link
Copy Markdown

hi, any updates on this? :)

@aseroff

aseroff commented Jul 5, 2024

Copy link
Copy Markdown
Contributor Author

@jan-bw none from me. Not sure how to get maintainer eyes on this, but I do know there are maintainer eyes on a different approach to the same issue in a different pull request, so they may go with that one instead of this one.

@loqimean

loqimean commented Sep 3, 2024

Copy link
Copy Markdown

Hey man, any updates? would be fine to merge this PR!

@aseroff

aseroff commented Sep 3, 2024

Copy link
Copy Markdown
Contributor Author

Nothing more to add from me @loqimean !

@dhh dhh merged commit e54fd54 into rails:main Sep 15, 2024
@loqimean

Copy link
Copy Markdown

Finally!!!))) 🎉 🎉

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.

4 participants