diff --git a/lib/converter.js b/lib/converter.js index 68687ac..1e728c8 100644 --- a/lib/converter.js +++ b/lib/converter.js @@ -13,8 +13,11 @@ function convert(logger, projectDir, options) { var sassImportPath = path.join(projectDir, 'app/'); console.log("SASS Import Path", sassImportPath); - var sassFiles = glob.sync(sassFilesPath).filter(function(fileName){ - return fileName.indexOf("App_Resources") === -1; + var sassFiles = glob.sync(sassFilesPath).filter(function(filePath){ + var path = filePath; + var parts = path.split('/'); + var filename = parts[parts.length - 1]; + return path.indexOf("App_Resources") === -1 && filename.indexOf("_") !== 0; }); if(sassFiles.length === 0){