Skip to content

ng build and serve defaults to AOT #3354

@tmansson

Description

@tmansson

OS?

Linux (Ubuntu 16.10)

Versions.

ng version
angular-cli: 1.0.0-beta.22
node: 6.9.1
os: linux x64

Repro steps.

Run ng build, ng build --aot and even ng build -aot. They all produce the same files in the dist folder.

Mention any other details that might be useful.

I noticed this because the update to beta.22 broke my absolute paths in ng build and ng serve, this has before been an issue only when running in AOT-mode.

Also, the build times are now 20 to 30 s. From 2 - 3 s before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions