title: Stop workbox building service worker in webpack-dev-server
body: <p>I've just implemented Googles <a href="https://developers.google.com/web/tools/workbox/" rel="nofollow noreferrer">workbox</a> tool to handle the creation of a service worker. </p>
  
  <p>Using the <code>WorkboxPlugin.InjectManifest()</code> within my webpack config was straightforward and the service worker registers nicely in the build. However, having the service worker during Dev is becoming a little bit of a pain and I want to be able to negate the service worker being built when using webpack in development mode and in webpack-dev-server, seemingly via some conditional build rules.</p>
  
  <p>I've seen some suggestions online of webpacks <code>NormalModuleReplacementPlugin</code> but having had a read around it a little I can't find any examples of using it in this circumstance. I was wondering if anyone has encountered the same issue and what their solution was? </p>