-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix: ember-component-css compatibility #9
base: master
Are you sure you want to change the base?
Fix: ember-component-css compatibility #9
Conversation
However, this is blocked by: webark/ember-component-css#75
Agree. Out of the box we should satisfy 99% of use cases w/o any custom config. |
That's right - if only we wouldn't have ended up with just the opposite: only the But the rationale is right. Would be ignoring the Maybe we can just leave it up to the user to do these reloads, if any, manually, to save us a big headache. |
Well, the only reason we ended up with the opposite is due to using non ember-cli prescribed app structure. It works correctly in all other cases. To ignore vendor.css requires knowing that a given file will be concatenated into vendor.css - same issue as we have now with {app}.css |
How about having these (default) config settings: {
reload: {
app: true,
vendor: false
}
} This way the user can decide, whether or not they need |
@buschtoens your input is valuable and greatly appreciated. Can you please elaborate what happens when reload {app:false, vendor:true} and user modifies app/styles/app.sass. Do we just reload vendor.css because a style was changed? |
I'd say yes. The problem is, we can't possibly know the behaviour of all the addons out there. But I haven't yet encountered a single addon that imported from the Another thing though: There might be a way to know, when a file belongs to the In the end, I would really just ignore the |
Sounds great. Do you have time to make PR with associated test that support this new workflow. If not, I can probably get to it at the end of this week. |
Sorry for not responding. I was on vacation for a few days. 🍹 I guess you also didn't have the time to prepare a commit? Maybe I'll get something cooked up tonight or tomorrow. |
I am currently vacationing as well. Try to find time this week |
@buschtoens interested in making PR per our discussion? |
I have no idea where this currently is but I tried out the current branch in my project and it worked awesomely! I'm using:
|
@erkie @buschtoens branch fix-ember-component-css should work for you. Based on our discussion above, we decided to simplify that implementation to support various app styles locations. |
Yup. Maybe I'll get around to it this evening. 😊 Andrey Khomenko [email protected] schrieb am Di., 1. Sep. 2015
|
@buschtoens thx, sounds great. |
Any status on this? :D |
@xomaczar I can't find the branch |
Fixes #8.
However, this is blocked by: webark/ember-component-css#75