Skip to content

Large Material module size in bundle #6188

@hemantjadon

Description

@hemantjadon

Bug, feature request, or proposal:

Bug Report / Question

What is the expected behavior?

The build bundle should only contain the imported modules, not the complete Angular Material

What is the current behavior?

The build bundle contains the whole package even if only there is one module imported from angular material.

screen shot 2017-08-01 at 9 29 21 am

What i imported in the chunk is

import { MdTooltipModule } from '@angular/material';

imports: [
   MdTooltipModule
]

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular : v4.0.0
Material : v2.0.0-beta3

Is there anything else we should know?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions