When compiling the project for production mode it fails with this JS error
[ERROR] Stderr: 'vite v4.3.9 building for production...
[ERROR] transforming...
[ERROR] ✓ 71 modules transformed.
[ERROR] ✓ built in 729ms
[ERROR] [vite:load-fallback] Could not load frontend/generated/jar-resources/theme-util.js (imported by frontend/generated/theme-flowcrmtutorial.generated.js): ENOENT: no such file or directory, open 'frontend/generated/jar-resources/theme-util.js'
Note that it works:
if you run in dev-mode ./mvnw
if you use vaadin
How to reproduce
git clone https://github.com/vaadin/flow-crm-tutorial.git
cd flow-crm-tutorial
./mvnw install -Pproduction
Description
When compiling the project for production mode it fails with this JS error
Note that it works:
./mvnw
How to reproduce