I am trying to develop a npm package which I can use in various projects to know whenever there is a build update user will be notified to refresh page.
This concept can be achieved via service-worker in angular, But when I try to add parameter "serviceWorker": true inside the angular.json of my workspace's library object it is not allowing me and throws error as per below