Should `dev-bundle` be commited?

There is this dev-bundle folder that appears in src/main/dev-bundle. It contains some stuff, but mainly “build” files (specially inside webapp/VAADIN/build/)

image

Should this folder be commited to git? or added to .gitignore?

Hi,

As per Vaadin documentation:

This directory is automatically generated by Vaadin and contains the pre-compiled frontend files/resources for your project (frontend development bundle).
It should be added to Version Control System and committed, so that other developers do not have to compile it again.

But, every Jmix project has this directory added to .gitignore, because Vaadin changes it’s structure from version to version to find out a better solution for pre-compiled frontend bundle, so it’s up to you to decide whatever to commit it or not.

Regards,
Gleb

Thanks for the quick reply. I will look at why my project did not have the directory added to .gitignore and add it!