Vaadin Flow Spring Boot JAR file Production mode

Hi I need to support IE11. I’m building my app as a JAR file with spring boot. For this I followed the tutorial right here for the production mode: I have all my resources in the resources/META-INF/resources/frontend folder.

I’m using the command mvn clean package -Dmaven.test.skip=true -Pproduction-mode for builing the package and everything succeeds.

part of my pom.xml:




Now my problem. In my target folder classes/META-INF/resources some of my files don’t get moved to frontend-es5 or frontend-es6.


Have you tried adding the following to the configuration file?


Or in the command line:

java -Dvaadin.productionMode=true -jar app.jar