Closed thabti closed 9 years ago
So the typography component does at an @import of the colour component. In the compass grunt task, we set the importPath to be ['bower_components'] and this causes the import in side the colour component to not work because it does an import on
['bower_components']
@import 'bower_components/bskyb-colours/dist/scss/colours';
causing it to break.
I am not sure I am explaining this properly so this is my theory to why it's currently breaking.
So any thoughts @peter-mouland ?
ok this has been fixed by adding '.' to the compass grunt task to get this: importPath: ['bower_components', '.']
'.'
importPath: ['bower_components', '.']
So the typography component does at an @import of the colour component. In the compass grunt task, we set the importPath to be
['bower_components']
and this causes the import in side the colour component to not work because it does an import on@import 'bower_components/bskyb-colours/dist/scss/colours';
causing it to break.
I am not sure I am explaining this properly so this is my theory to why it's currently breaking.
So any thoughts @peter-mouland ?