-
Notifications
You must be signed in to change notification settings - Fork 247
AssetAliasUsed should not affect Sass Helpers #247
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
Comments
The reason is that we include the helpers inside the assets context, so we would have to do something like 32a58f5 |
Yeah, for 2.x, I think we just want to do a quick feature check somehow and only apply it to AV. Maybe see if we're |
Hey there, just wanted to double-check that I'm experiencing the desired effect here. react-rails setupIn # add directory to asset pipeline,
# based on the app config
app.config.assets.paths << root_path.join('lib/assets/react-source/').join(directory).to_s (full src) We do this so that the app only needs errorHowever, we get an Sure enough, these don't match: Interestingly, if I upgrade to Sprockets 3 + sprockets-rails 2.3.1, I don't get this error (which is fine for me, but not fine for many other Is this the expected outcome? Are we misusing the asset pipeline? Anything else I can do to diagnose or address this? We're really hoping to support an API where Thanks! |
It seems like this gem now needs a dependency on sprockets >= 3.0, which maybe breaks SemVer? |
The master branch yes, the released branch no. It works with both version. |
Ok, can you help me understand that error? I don't know why our use of that |
Any word on 2.3.2 ? I'm hoping to get out a new version of I can try to help, but I don't quite understand what needs to be done. Should I just remove the whole check & error? |
@rmosolgo could you open a new issue so we can keep track of this and not forget to release? |
happy to! |
AssetAliasUsed should only be raised from ActionView helpers, not within static assets themselves.
I think this is only a probably with the 2.x backport. 3.x already behaves as intended.
#246
primer/octicons#50
/cc @rafaelfranca
The text was updated successfully, but these errors were encountered: