8000 Feature: Specify target output (e.g. web, electron-renderer) · Issue #5767 · angular/angular-cli · GitHub
[go: up one dir, main page]

Skip to content

Feature: Specify target output (e.g. web, electron-renderer) #5767

@dashkan

Description

@dashkan

Bug Report or Feature Request (mark with an x)

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

Versions.

@angular/cli: 1.0.0
node: 7.8.0
os: darwin x64
@angular/animations: 4.0.1
@angular/common: 4.0.1
@angular/compiler: 4.0.1
@angular/core: 4.0.1
@angular/flex-layout: 2.0.0-rc.1
@angular/forms: 4.0.1
@angular/http: 4.0.1
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.1
@angular/platform-browser-dynamic: 4.0.1
@angular/router: 4.0.1
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.1

Repro steps.

N/A

The log given by the failure.

N/A

Desired functionality.

In order to target electron-renderer, you currently have to run ng eject and modify the output webpack configuration to update the target.

I propose adding a similar setting to angular-cli.json to specify the intended target.

Mention any other details that might be useful.

Link to webpack target documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIssue that requests a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0