Import supports only project path without variables
jperdochqu opened this issue · comments
I need to import mixins from different project, but I can't use "project paths", because I run application in development mode with uncompiled less and there need to be "filesystem path".
Forexample:
I need to import:
@import '../../framework/css/mixins.less';
but plugin allow only:
@import 'framework/css/mixins.less';
with include path set to root of other project. Of course, this path is wrong if application is running from browser.
I tried also to use variable in import. Idea was, that I override variable through globalVar:
@path: '';
@import '@{path}framework/css/mixins.less';
Less allows to use variable in import, but it isn't possible in plugin also.