Open SergeiSaraev opened 9 years ago
Hi.
Created a Maven module A, where the source files (less) are collected in sources.jar. Module A is added as a dependency of module B. Tried to import the module A from the module B:
@import "classpath:themes/module-a/styles/main.less";
Get an error like this:
...\moduleB\src\main\less\themes\module-b\styles\main.less [0:0]: Error compiling LESS source java.io.IOException: Resource ...\moduleB\src\main\less\themes\module-b\styles\classpath:themes\module-a\styles\main.less not found.
How to import less from other modules?
Solution with classpath saw here: https://github.com/asual/lesscss-engine/issues/28 But not work for lesscss-maven-plugin.
It will be supported when this (lesscss-java #62) will be done (probably never).
Hi.
Created a Maven module A, where the source files (less) are collected in sources.jar. Module A is added as a dependency of module B. Tried to import the module A from the module B:
Get an error like this:
How to import less from other modules?