Skip to content

Make minify(uglify) opt-in or use a substitute #1195

@arunoda

Description

@arunoda

EDIT:

Or we could use some other ways to uglify.

Currently, magnification takes a lot of time when we've many pages.
@rauchg removed it from our https://zeit.co and we got 5x faster next build.

Also, newer CDNs support on the fly minify and gzipping. So, this won't be a big problem.
So, here's the plan

  • - We remove uglifyjs
  • - Add a sample to how to add it
  • - Add a wiki on how to enable it on CDN
  • - Show how to lazy minify/gzip them in production

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