Skip to content

Production build not minified #3134

@tweeres04

Description

@tweeres04
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

When I'm deploying a production build, I should have minified javascript code in order to minimize file size and maximize performance.

Current Behavior

My app.js is 529KB and not minified

Steps to Reproduce (for bugs)

  1. next build
  2. next start

OR

  1. next build
  2. next export

Context

I wanted to use next.js in order to have a lightning fast site as advertised but no minification kills that. I'm sure I'm missing something simple.

Your Environment

Tech Version
next 4.1.1
node 8.4.0
OS MacOS Sierra 10.12.6
browser Chrome
etc React and react-dom 16

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