Skip to content

Multiple Entrypoints, Main Files #1804

Closed

Description

@sqwk

In angular-cli.json there is an apps entry. Does this mean that the cli supports multiple entry points like so?

"apps": [
    {
        "main": "src/main.ts",
        "tsconfig": "src/tsconfig.json",
        "mobile": false
    },
    {
        "main": "src/secondary.ts",
        "tsconfig": "src/tsconfig.json",
        "mobile": false
    }
]

This would be incredibly useful for (electron/nwjs) apps that live in seperate windows and communicate via ipc or localstorage events.

Activity

  1. filipesilva commented on Aug 22, 2016

    @filipesilva
    Contributor

    We plan on supporting multiple apps, but we do not at the moment.

  2. sqwk commented on Aug 22, 2016

    @sqwk
    Author

    Is there a way to achieve this another way at the moment?

  3. filipesilva commented on Aug 23, 2016

    @filipesilva
    Contributor

    No, unfortunately there is not. We have apps[0] hardcoded on purpose until we properly design the multi-app functionality. That's a post 1.0 release thing though.

  4. sqwk commented on Sep 8, 2016

    @sqwk
    Author

    Can we reopen this for post 1.0?

  5. ovidius72 commented on Jan 12, 2017

    @ovidius72

    Subscribed since I'm also interested in this feature.

  6. leocaseiro commented on Apr 4, 2017

    @leocaseiro

    Check #5737

  7. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    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.

  8. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions