title: An unhandled exception occurred: The 'buildOptimizer' option cannot be used without 'aot'
body: <p>If you are getting the error <code>An unhandled exception occurred: The 'buildOptimizer' option cannot be used without 'aot'.</code> or some variation of that while using <code>ng build</code> or <code>ng deploy</code>, then here is the solution that worked for me (scroll down).</p>