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 app asset paths to load paths #11

Merged
merged 2 commits into from
Feb 19, 2022

Conversation

chipairon
Copy link
Contributor

@chipairon chipairon commented Feb 18, 2022

Use asset pipeline asset paths as additional load paths.
Gem assets will also be included when they follow the convention.

This approach will also work for custom setups regarding engines, as long as they also make assets available as described in the guide.

A demo working with bootstrap can be seen here.

This should superseed #7 defaulting on Rails asset paths.

lib/tasks/build.rake.orig Outdated Show resolved Hide resolved
@dhh dhh merged commit 083f9ef into rails:main Feb 19, 2022
@chipairon chipairon deleted the add-app-asssets-to-load-paths branch February 21, 2022 07:09
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.

3 participants