-
Notifications
You must be signed in to change notification settings - Fork 115
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
Sass includePaths #203
Sass includePaths #203
Comments
the pod-styles file ends up being a manifest that is just a series of import to the path of the other existing style files. I'd say the best way initially is to try to make sure the whole app directory is included. |
Doesn't seem to work, still getting |
hmm. I'll get a dummy app set up with that and see what's going on. |
so it looks like with the inputTrees = [new Funnel('app/styles', {
srcDir: '/',
destDir: 'app/styles',
annotation: 'Funnel (styles)'
})]; Since we are, during the build process, creating some of these files and merging them into the style broccoli tree(node) it get's lost here and goes back to just the actual files. I think if we where to make a change to inputTrees = [new Funnel(tree, {
include: ['app/styles/**/*'],
annotation: 'Funnel (styles)'
})]; instead, that would fix the issue, and be more of what they wanted. I'll propose that PR a little later when I get a chance, if you don't beat me to it, and see what they say about it. We'd want to make sure that it sill maintains the performance benefits that they where after with adopted-ember-addons/ember-cli-sass#140 I think it will, but @dmfenton might be able to confirm better then I could. |
Thanks @webark, I tested this, works great. I submitted a PR. |
@davearel just merged your pr! Thanks for submitting it! If everything works out fine, feel free to close the issue if you have a chance to, otherwise i'll get to it tomorrow. Thanks again :) |
All good! Thanks for your help, @webark! |
I'm having major performance issues with the sass compiler due to a bunch of linked bower and NPM packages. The solution is to limit the sass compiler to
app/styles
and explicitly definedincludePaths
. This is done by enabling theonlyIncluded
flag inember-cli-sass
(see: ember-cli-sass#usage).I have done this, and it's significantly faster. The problem is that I can't seem to include
pod-styles
. Can I include a particular path in order forember-cli-sass
to pick up thepod-styles
?The text was updated successfully, but these errors were encountered: