Angular-cli: Feature Request: Support to platform-webworker

Created on 5 Sep 2018  路  3Comments  路  Source: angular/angular-cli

_From @lacolaco on May 10, 2018 7:57_

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Area

- [x] devkit
- [x] schematics

Desired functionality

Currently, build_angular and schematics/angular don't support to build the platform-webworker application.

Interface ideas:

Generate webworker app

$ ng generate webworker # generate each UI/Worker entrypoint file

Build webworker app

$ ng run myapp:webworker # build app for webworker
...
        "server": {
          "builder": "@angular-devkit/build-angular:webworker",
          "options": {
            "appMain": "src/main.app.ts",
            "workerMain": "src/main.worker.ts",
            "tsConfig": "src/tsconfig.app.json"
          },
          "configurations": {
            ...
          }
        }
...

Mention any other details that might be useful

_Copied from original issue: angular/devkit#882_

feature

Most helpful comment

When do you plan do this?

All 3 comments

When do you plan do this?

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings