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
  • !4077

Webpack 4

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/andriijas/webpack4 into next Feb 26, 2018
  • Overview 111
  • Commits 1
  • Pipelines 0
  • Changes 17

Created by: andriijas

  • Update to webpack 4.x.x
  • Utilize webpack 4 development and production modes
  • Upgrade webpack dev server
  • webpack 4 compatible release of thread-loader
  • webpack 4 compatible release of HtmlWebpackPlugin
  • webpack 4 compatible release of SwPrecacheWebpackPlugin
  • webpack 4 compatible release candidate of WebpackManifestPlugin
  • Update README
  • Update WebpackDevServerUtils
  • Update InterpolateHtmlPlugin
  • Update ModuleScopePlugin
  • Update WatchMissingNodeModulesPlugin
  • Use optimization.minimizer for custom uglify options
  • Use optimization.splitChunks for vendor splitting (https://twitter.com/wSokra/status/969633336732905474)
  • create-react-app polyfills included in vendor chunk
  • Use optimization.runtimeChunk for long term caching (https://twitter.com/wSokra/status/969679223278505985)
  • Remove react-error-overlay is not meant for use in production. warning from dev mode by updating webpack config to proxy process.env.NODE_ENV from ancestor
  • Replace ExtractTextPlugin with MiniCssExtractPlugin
  • Implicit webpack.NamedModulesPlugin in dev config as its default in webpack 4
  • Disable webpack performance hints as we have our own filesize reporter
  • Move InterpolateHtmlPlugin to make it tapable on HtmlWebpackPlugin
  • Replace ExtractTextPlugin with MiniCssExtractPlugin
  • Switch to css whole file minification via OptimizeCSSAssetsPlugin rather than per module css minification to gain performance

Fixes: #3878 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/andriijas/webpack4