less - Can maven lesscss plugin output to the same directory? -
less - Can maven lesscss plugin output to the same directory? -
i trying utilize maven plugin lesscss compile less css.
can plugin compile less css , set css same directory less? (my less files in different directory)
like:
styles/something/something.less styles/otherthing/otherthing.less
after compile, should this:
styles/something/something.css styles/otherthing/otherthing.less
or anyother suggestion? thx help: )
yes can, won't confusing?
from documentation
<plugin> <groupid>org.lesscss</groupid> <artifactid>lesscss-maven-plugin</artifactid> <version>1.7.0.1.1</version> <configuration> <sourcedirectory>${project.basedir}/src/main/webapp/less</sourcedirectory> <outputdirectory>${project.build.directory}/${project.build.finalname}/css</outputdirectory> ... </configuration> ... </plugin>
you can set <outputdirectory>
suitably accomplish want.
maven less
Comments
Post a Comment