google / google/closure-compiler
How to tell closure compiler that a web worker is usded in a project
Open
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
I have a chrome extension project which has two folders, one is `content-script` which use `dom`
the other one is `background` which uses `service worker`
I would like to tell closure compiler which library/environment is used in each so that it give errors/warnings if I missused one of them
For example using `window` object or `document.createElement` in service woker should show an error
Contributor guide
Assessment
This issue has not been assessed yet.