polymerpolymer-1.0polymer-cli

Is there a way to not generate a service-worker?


With the polymer CLI https://github.com/Polymer/polymer-cli I can't run something like polymer build --add-service-worker false --entrypoint ./elements.html right? Is there a different way?


Solution

  • According to the polymer-cli README, the build command is highly opinionated and it generate the Service Worker as default behavior.