-
Notifications
You must be signed in to change notification settings - Fork 354
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
Failing build due to addon.sass not found #581
Comments
If this is going to be an issue I think we should stop relying on Sass for our addon styles and convert it to plain CSS. The styles are very minimal, we don't really need a preprocessor. |
I added a quickly translated with searchnreplacing the |
I'm now working on a project that does not use Sass or ember-cli-sass, and it's extremely difficult to get this working since it only ships Sass. If this addon shipped plain CSS instead, it would be much easier to integrate with any project's CSS pipeline. I'm going to create a branch with plain CSS so that our team can look at it and discuss the merits of changing the approach. |
It would be convenient to have a hotfix regarding deletion of |
This is apparently still an issue. I'm testing out this library to see if it's something for our project. We recently moved away from compass and are using ember-cli-sass in combination with sass (not node-sass as that gives a whole other list of problems installing). My solution is to add this in the package.json within the script tag: "scripts": {
"postinstall": "rm -rf node_modules/ember-table/addon/styles"
}, After that it stopped complaining / crashing. I also added this to styles/app.scss @import 'ember-table/default' |
The problem
When attempting to use ember-table in a project, that uses
sass
files for styles, then the build fails.This happens by default here, because
ember-table
has styles in bothaddon
andapp
directories.Fix
As documented in https://github.com/aexmachina/ember-cli-sass#alternative-addon-usage
The Table does exactly that, but as mentioned there are styles inside
addon
directory as well, and they mustn't be there, because that's The Problem.addon/styles
The text was updated successfully, but these errors were encountered: