Skip to content

Chunks are not gzipped in production #2340

Closed
@mwawrusch

Description

@mwawrusch

When using lazy loading modules the resulting chunks (like 0.59ea61d3b756000074ac.chunk.js ) are not gzipped.

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
    Yosemite
  2. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:

angular-cli: 1.0.0-beta.15
node: 6.1.0
os: darwin x64

  1. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.

Create an app with a lazy loaded module. run ng build --prod

  1. The log given by the failure. Normally this include a stack trace and some
    more information.

n/a

  1. Mention any other details that might be useful.

n/a

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