Open diosney opened 7 years ago
Maybe some variant of the following code can be used to make both paths work properly?
// MD Color Palette
@import (optional) "bower_components/material-design-color-palette/less/variables.less";
@import (optional) "bower_components/material-design-color-palette/less/mixins.less";
@import (optional, reference) "../../../bower_components/material-design-color-palette/less/variables.less";
@import (optional, reference) "../../../bower_components/material-design-color-palette/less/mixins.less";
My only concern with this code is when both the local and the external bower_components
exists, but it seems that the case is very remote.
An update like this could help a lot, since I'm live-compiling the library in my project, not pre-compiling it since I'm changing lot of vars that affect the final output.
Hi, After abandon/rest on the project I was working on while I reported https://github.com/zavoloklom/material-design-typography/pull/1, I resumed work and tested what you did, but it keeps triggering a
FileError
error.This is how I'm including the files i my project main files:
and it triggers the error:
I tried again with the PR https://github.com/zavoloklom/material-design-typography/pull/1/files, and worked fine this time too.
Maybe we can came to an understanding and fix this once for all? :smile:
Thanks in advance for your time and this library.