Closed berarma closed 4 years ago
Merging #55 into master will decrease coverage by
0.11%
. The diff coverage is0.00%
.
@@ Coverage Diff @@
## master #55 +/- ##
============================================
- Coverage 73.16% 73.04% -0.12%
- Complexity 445 446 +1
============================================
Files 50 50
Lines 1226 1228 +2
============================================
Hits 897 897
- Misses 329 331 +2
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
src/Filter/ScssPHP.php | 0.00% <0.00%> (ø) |
4.00 <0.00> (+1.00) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 6f72b70...7cb7ad9. Read the comment docs.
Merging #55 into master will decrease coverage by
0.11%
. The diff coverage is0.00%
.
@@ Coverage Diff @@
## master #55 +/- ##
============================================
- Coverage 73.16% 73.04% -0.12%
- Complexity 445 446 +1
============================================
Files 50 50
Lines 1226 1228 +2
============================================
Hits 897 897
- Misses 329 331 +2
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
src/Filter/ScssPHP.php | 0.00% <0.00%> (ø) |
4.00 <0.00> (+1.00) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 6f72b70...ac23614. Read the comment docs.
I've just noticed that dependencies won't get correctly resolved when using import paths. The getDependencies
method should use the import paths to search for dependencies.
Thanks :clap:
It's missing the overloading of the getDependencies
method so that it uses the import paths. I was waiting for #59 to be accepted. I'll create a new PR.
In ScssFilter
the setting is called imports
while in ScssPHP
is called paths
. I overlooked this difference. I could change it to imports
in the new PR to avoid this inconsistency. Do you agree?
@berama that sounds like a good idea to me.
I need the paths in the configuration to be imported in ScssPHP so I can use the CSS framework files from my project. The current implementation adds just the path the current file is in, but I'm not directly loading the CSS framework in asset_compress, instead I'm importing them in my scss files.