If the user sets nyc options in package.json file, they are ignored when generating the report:
{
"nyc": {
"exclude": ["src/serviceWorker.ts"]
}
}

This is because we do not use nyc report ... CLI command that reads all options and merges them, but we are using the NPM module API