skyglobal / web-toolkit

[DEPRECATED] Please use sky-uk/toolkit
https://github.com/sky-uk/toolkit
BSD 3-Clause "New" or "Revised" License
24 stars 35 forks source link

@import within modules causing the grunt compass task to fail #304

Closed thabti closed 9 years ago

thabti commented 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

@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 ?

thabti commented 9 years ago

ok this has been fixed by adding '.' to the compass grunt task to get this: importPath: ['bower_components', '.']