Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !3618

use uglifyjs-webpack-plugin v1

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/viankakrisna/uglifyjs-webpack-plugin-v1 into master Dec 17, 2017
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: viankakrisna

as quoted by the readme https://github.com/webpack-contrib/uglifyjs-webpack-plugin:

webpack =< v3.0.0 currently contains v0.4.6 of this plugin under webpack.optimize.UglifyJsPlugin as an alias. For usage of the latest version (v1.0.0), please follow the instructions below. Aliasing v1.0.0 as webpack.optimize.UglifyJsPlugin is scheduled for webpack v4.0.0

The v1 is released on October, so I think it's mature enough to switch to v1 in CRA? or do we want to wait for webpack 4?

Pro:

This allows us to use uglify-es and access to parallel and cache options. Hence improving our build speed.

Con:

I haven't test it yet, but maybe this will break our parsing of uglify error https://github.com/facebookincubator/create-react-app/pull/2650

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/viankakrisna/uglifyjs-webpack-plugin-v1