-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Open
Labels
area: @schematics/angularfeatureIssue that requests a new featureIssue that requests a new featurefeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under consideration
Milestone
Description
🚀 Feature request
Command (mark with an x
)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Description
I would like to use Web Workers in an Angular 8 library project.In version 8.1.1 this seems to be supported for project type 'application' only:
ng generate webWorker my-module/myWorker --project my-lib
Web Worker requires a project type of "application".
Describe the solution you'd like
Generating a Web Worker should work for project type 'library' as well.Describe alternatives you've considered
Rewrite TypeScript worker code to JavaScript file.ln-e, Dok11, rohovtsov, nikoboringdev, jrosseel and 116 morep3x-robot, leon-marzahn, ScarletFlash, klemenoslaj, wall-street-dev and 10 moreln-e, maxime1992, moraleja39, p3x-robot, txone and 18 morep3x-robot, leon-marzahn, ScarletFlash, klemenoslaj, wall-street-dev and 10 morep3x-robot, tal-abziz, vladjerca, AmirBarakS1, leon-marzahn and 16 more
Metadata
Metadata
Assignees
Labels
area: @schematics/angularfeatureIssue that requests a new featureIssue that requests a new featurefeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under consideration