DEV: Allow register options to be passed to `registerServiceWorker` (PR #14609)

GitHub

This default doesn’t take subfolder sites into consideration right?

Maybe only pass the scope parameter when you need it?

The title of this pull request changed from “DEV: Specify service worker scope” to "DEV: Allow register options to be passed to registerServiceWorker