Open jperdochqu opened 9 years ago
In addition to this problem i would add project specific globalVar support in the plugin because our project have dynamic import loading like: @import '../skins/@{skin}.less' where @skin is defined in globalVar by browsers.
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.