lesscss-maven-plugin icon indicating copy to clipboard operation
lesscss-maven-plugin copied to clipboard

Concatenate .less-files into a single file before compile

Open buurd opened this issue 13 years ago • 7 comments

In response to issue #18

Added functionallity to concatenate several .less-files into a single one before compiling to .css. There are many projects, for instance bootstrap-js where they use that techniue instead of imports so it would nice to be able to handle it.

buurd avatar Jan 16 '13 14:01 buurd

Hi,

Does the concatenation feature work in Version-1.3.3 ? If yes, can you please share an example of maven plugin configuration with use of concatenation?

UditWadhwa avatar May 30 '13 06:05 UditWadhwa

There should be a complete configuration in the it/concatenate-integration-test. Is it missing there?

buurd avatar May 30 '13 07:05 buurd

I am sorry but I don't see concatenate-integration-test in it. Can you help me out?

UditWadhwa avatar May 30 '13 15:05 UditWadhwa

If you run mvn install you will see in the end of that run 5-6 integration tests. These are placed under src/it/. There should be a folder named concatenate there. This folder contains a "sample" pom.xml that are used for the integration-test of the plugin.

If you don't find it please look at commit 5a9551b above. Perhaps you havn't merged with the commits in this pull-request.

buurd avatar May 30 '13 16:05 buurd

I tried with 1.3.3, it's not working. Cannot find in the configuration. Is it working for 1.3.3?

kolyjjj avatar Jun 05 '13 13:06 kolyjjj

True, there is no concatenate IT.

vdest avatar Jun 13 '13 09:06 vdest

Hi @buurd,

currently I'm planning a new release of the plugin. When trying to merge your latest version of your pull request I get a lot of merge conflicts. I guess there are some encoding or whitespace changes. If you want you can create an updated pull request. Then I will try to put it into the next release. Also: Is it possible, that the concatenate test is missing because of the line /src/it/concatenate/src/main/less/less.less in .gitignore?

Best,

Sandro

sandroboehme avatar Mar 15 '14 21:03 sandroboehme