Skip to content

Question about tree shaking vendor packages #80

@chinwobble

Description

@chinwobble

hi,

I am trying this template and using the ES2015 webpack config and it appears to be working for app specific code. For example I edit the car.ts file and try adding and removing references to V6Engine class and this causes the file size to go up and down.
However when I try to import D3, it doesn't appear to be tree shaking functions off that module?
Is there anyway to get this to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions