Wro4j plugin versus wro4j filter

188 views Asked by At

I am using spring boot and have to profile my application to dev profile and release profile. At the same time want to use wro4j. In dev profile, i have to use wro4j plugin or using filter ? The same for release mode , what i have to put ?

1

There are 1 answers

2
viruskimera On

I think it depends what you need it for, runtime or also buildtime solution?

Run time solution you may have to add the filter and tehen configure it depending on the environment (dev or release) take a look:

http://wro4j.readthedocs.io/en/stable/ConfigureWro4jViaSpring/

for build time you will have to add the maven dependency.