Skip to content

Commit 7fbc560

Browse files
authoredApr 16, 2018
Don't include .css imports in the graph by default (#91)
* Don't include .css imports in the graph by default This non-standard behaviur has been removed from LibSass in 3.6.0, and Node Sass 5.0. * Fix travis versions
1 parent 7cf7b72 commit 7fbc560

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed
 

‎.travis.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
language: node_js
22
branches: [master]
33
node_js:
4-
- "4"
5-
- "6"
6-
- "8"
4+
- "lts/argon"
5+
- "lts/boron"
6+
- "lts/carbon"
7+
- "9"
78
after_success: npm run coverage

‎CHANGELOG.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ All notable changes to this project will be documented in this file.
44
## [next]
55
### BREAKING CHANGES
66

7-
- Drop support for io.js and Node.js < 4.
7+
- Drop support for io.js and Node.js < 4 (@realityking, #88)
8+
- Don't add .css imports to the graph by default (@xzyfer, #91)
89

910
### Features
1011

@@ -14,7 +15,11 @@ All notable changes to this project will be documented in this file.
1415

1516
### Dependencies
1617

17-
- yargs@^10.0.3
18+
- yargs@^10.0.3 (@realityking, #88)
19+
- chai@^4.1.2 (@realityking, #88)
20+
- coveralls@^3.0.0 (@realityking, #88)
21+
- mocha@^4.0.1 (@realityking, #88)
22+
- nyc@^11.2.1 (@realityking, #88)
1823

1924
## [2.2.4]
2025
### Dependencies

‎bin/sassgraph

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var yargs = require('yargs')
2222

2323
.option('e', {
2424
alias: 'extensions',
25-
default: ['scss', 'css', 'sass'],
25+
default: ['scss', 'sass'],
2626
describe: 'File extensions to include in the graph',
2727
type: 'array',
2828
})

‎sass-graph.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Graph.prototype.visit = function(filepath, callback, edgeCallback, visited) {
134134
function processOptions(options) {
135135
return Object.assign({
136136
loadPaths: [process.cwd()],
137-
extensions: ['scss', 'css', 'sass'],
137+
extensions: ['scss', 'sass'],
138138
}, options);
139139
}
140140

0 commit comments

Comments
 (0)
Please sign in to comment.