@nrwl/angular:web-worker
Creates a new, generic web worker definition in the given or default project.
Examples
The basic usage of the web-worker
generator is defined below. You must provide a name for the web worker and the project to assign it to.
nx g @nrwl/angular:web-worker myWebWorker --project=myapp
Usage
nx generate web-worker ...
By default, Nx will search for web-worker
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
nx g @nrwl/angular:web-worker ...
Show what will be generated without writing to disk:
nx g web-worker ... --dry-run