To optimize the jhipster client for production, run:
mvn -Pprod clean package
This will concatenate and minify CSS and JavaScript files. It will also modify index.html
so it references
these new files.
To ensure everything worked, run:
java -jar target/*.war --spring.profiles.active=prod
Then navigate to http://localhost:8080 in your browser.
Unit tests are run by [Karma][] and written with [Jasmine][]. They're located in src/test/javascript
and can be run with:
grunt test