**Do you want to request a *feature* or report a *bug*?** bug **What is the current behavior?** A sw.js file is still generated when `--service-worker=false` is passed. **If the current behavior is a bug, please provide the steps to reproduce.** Run build with `--service-worker=false` <!-- A great way to do this is to provide your configuration via a GitHub gist. --> **What is the expected behavior?** A sw.js file will not be generated. **Please mention other relevant information.** - node version v8.7.0 - npm version v5.4.2 - Operating system Ubuntu 17.10