Forked from wagenet/ember-cli-broccoli-compass.js
Last active
August 29, 2015 14:03
-
-
Save rwjblue/25df033f2a79ca0ad62c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.registry.add('css', { | |
toTree: function(tree, inputPath, outputPath, options) { | |
// broccoli-compass doesn't like leading slashes | |
if (inputPath[0] === '/') { inputPath = inputPath.slice(1); } | |
return compileCompass(tree, inputPath + '/app.scss', { | |
outputStyle: 'expanded', | |
require: 'sass-css-importer', // Allows us to import CSS files with @import("CSS:path") | |
sassDir: inputPath, | |
imagesDir: 'images', | |
//fontsDir: 'fonts', | |
cssDir: outputPath | |
}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks so much for your help @rjackson! Having a hard time figuring this out.
I now get this error: