Skip to content

Commit

Permalink
Don't include .css imports in the graph by default
Browse files Browse the repository at this point in the history
This non-standard behaviur has been removed from LibSass in 3.6.0,
and Node Sass 5.0.
  • Loading branch information
xzyfer committed Apr 16, 2018
1 parent 7cf7b72 commit de98732
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Expand Up @@ -4,7 +4,8 @@ All notable changes to this project will be documented in this file.
## [next]
### BREAKING CHANGES

- Drop support for io.js and Node.js < 4.
- Drop support for io.js and Node.js < 4
- Don't add .css imports to the graph by default

### Features

Expand All @@ -15,6 +16,10 @@ All notable changes to this project will be documented in this file.
### Dependencies

- yargs@^10.0.3
- chai@^4.1.2
- coveralls@^3.0.0
- mocha@^4.0.1
- nyc@^11.2.1

## [2.2.4]
### Dependencies
Expand Down
2 changes: 1 addition & 1 deletion bin/sassgraph
Expand Up @@ -22,7 +22,7 @@ var yargs = require('yargs')

.option('e', {
alias: 'extensions',
default: ['scss', 'css', 'sass'],
default: ['scss', 'sass'],
describe: 'File extensions to include in the graph',
type: 'array',
})
Expand Down
2 changes: 1 addition & 1 deletion sass-graph.js
Expand Up @@ -134,7 +134,7 @@ Graph.prototype.visit = function(filepath, callback, edgeCallback, visited) {
function processOptions(options) {
return Object.assign({
loadPaths: [process.cwd()],
extensions: ['scss', 'css', 'sass'],
extensions: ['scss', 'sass'],
}, options);
}

Expand Down

0 comments on commit de98732

Please sign in to comment.