We're updating the issue view to help you get more done. 

Add draft profile to frontend build for faster builds

Description

During development, there's no need for compiling JavaScript with optimisations, or uglifying the code. We should add a draft profile which disables these optimisations.

We should also make sure it's easy to activate this draft profile from Maven when required (or to disable it when releasing).

Technical notes:

  • maven draft profile should not minify js files

  • maven draft profile build should not fail on eslint warning

  • maven draft profile should only be active when specified (i.e. default build should make a production-ready build)

Update:

  • After dev discussion, it appears better to have draft builds by default, so the implementation will go against the last point above.

  • Draft mode will be disabled with the 'release' profile.

Status

Assignee

David Mason

Reporter

Sean Flanigan

Labels

None

Tested Version/s

None

Story Points

1

Epic Link

Sprint

None

Fix versions

Priority

unspecified