Disable optimisations in dev build for figwheel compatibility.
Add react preamble and externs to optimised build.