CSS remainings in production builds

I am building apps with spring boot and vaadin and when I make some changes in my css code, old values still exist.


The red cycled filename shows css code that still is applied even if actually erased in my code.

I noticed that if I have “vaadin.productionMode=true” in the properties the old code exists. If is set to false does not.

I have experienced this situation in all the 24 versions of vaadin I have used.

I am compiling with “mvn clean package -Pproduction”. Has anyone a solution?

You could try to add

-Dvaadin.force.production.build=true