var styles = [
    'materialize'
];

module.exports = function(content) {
    this.cacheable(true);
    var config = this.exec(content, this.resourcePath);
    source = styles.filter(function(style) {
        return config.styles[style];
    }).map(function(style) {
        return "@import \"~materialize-css/scss/" + style + ".scss\";";
    }).join("\n");
    return source;
};

var styles = [
    'materialize'
];

module.exports = function(content) {
    this.cacheable(true);
    var config = this.exec(content, this.resourcePath);
    var start =
            "$roboto-font-path: \"~materialize-css/fonts/roboto/\";\n"
            + "@import \"./materialize.config.scss\";\n";
    source = start + styles.filter(function(style) {
        return config.styles[style];
    }).map(function(style) {
        return "@import \"~materialize-css/sass/" + style + ".scss\";";
    }).join("\n");
    return source;
};

Fix fonts path when sass is loaded
Fix fonts path when sass is loaded
