File tree Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Expand file tree Collapse file tree 1 file changed +32
-2
lines changed Original file line number Diff line number Diff line change 1
1
# ActiveWebLessc Maven Plugin compiles Lessc files into CSS
2
2
3
- ## Configuration
3
+ ## Configuration with a single LESS file
4
4
5
5
``` xml
6
6
<plugin >
21
21
22
22
```
23
23
24
- This should be self-explanatory
24
+ ## Configuration with a multiple LESS files
25
+
26
+
27
+ ``` xml
28
+ <plugin >
29
+ <groupId >org.javalite</groupId >
30
+ <artifactId >activeweb-lessc-maven-plugin</artifactId >
31
+ <version >${proj_version}</version >
32
+ <configuration >
33
+ <lessConfigs >
34
+ <lessConfig implementation =" org.javalite.lessc.maven.LessConfig" >
35
+ <lesscMain >src/main/webapp/less1/bootstrap.less</lesscMain >
36
+ <targetDirectory >target/web1</targetDirectory >
37
+ <targetFileName >bootstrap.css</targetFileName >
38
+ </lessConfig >
39
+ <lessConfig implementation =" org.javalite.lessc.maven.LessConfig" >
40
+ <lesscMain >src/main/webapp/less2/bootstrap.less</lesscMain >
41
+ <targetDirectory >target/web2</targetDirectory >
42
+ <targetFileName >bootstrap.css</targetFileName >
43
+ </lessConfig >
44
+ </lessConfigs >
45
+ </configuration >
46
+ <executions >
47
+ <execution >
48
+ <goals >
49
+ <goal >compile</goal >
50
+ </goals >
51
+ </execution >
52
+ </executions >
53
+ </plugin >
54
+ ```
You can’t perform that action at this time.
0 commit comments