Customise ng serve to proxy calls to /api? : <p>I created a new application with ng CLI, works like a charm:
<code>
ng new babysteps
cd babysteps
ng serve
</code>
ng serve uses webpack to assemble the app. To fully test it, I need to serve <code>/api...</code> from my API mock server (specifically the POST requests). How can I customise the web server used, to redirect that one URL pattern?</p>

<p>The Webpack dev server has <a href="https://webpack.github.io/docs/webpack-dev-server.html" rel="noreferrer">a proxy setting</a>, but it seems (?) <code>ng serve</code> doesn't have a config file (or I didn't get).</p>

<p>Do I need to create a <code>webpack.config.js</code> or create/edit some other file to proxy ?</p>
