Skip to content

platform-browser packages required for AoT build? #329

Open

Description

@mii9000

I have an AoT build based on this repo.
@Foxandxss Is it required to have @angular/platform-browser for an AoT build?
It seems, for me, I can run my app fine without it and decrease in the overall size of scripts but I cannot find an explanation as to why this will happen.
Do you have any idea?

Activity

  1. changed the title [-]platform-browser packages required for AoT build[/-] [+]platform-browser packages required for AoT build?[/+] on Apr 5, 2017
  2. ShankarSumanth commented on Apr 10, 2017

    @ShankarSumanth

    @ibrahim-islam ,
    do you have a working repo (prefereably angular 4) which you could share? For some reason my build with aot fails during asset optimization process. Says it cannot find 'split' of undefined in main.ts file.

  3. mii9000 commented on Apr 10, 2017

    @mii9000
    Author

    @ShankarSumanth Sorry. The app is on Angular 2 for now. Have not updated it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions