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

Use webpack dll plugin for faster rebuilds

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/viankakrisna/dll into master Feb 26, 2017
  • Overview 20
  • Commits 64
  • Pipelines 0
  • Changes 9

Created by: viankakrisna

POC for https://github.com/facebookincubator/create-react-app/issues/913 currently, it uses node_modules/.cache/dll for storing cached vendor builds and add src/index.dll.js entry point for requiring dependencies. It also hashes the filenames so it is safe to use in production.

Todos:

  • Cleaner index.html. Reference the vendor on build times
  • Show vendor build file size
  • Enhance eject experience
  • Cleaner log message <-- need feedback
  • Update the docs
  • Figure out a better place to store the vendor build. Using public/vendor not quite intuitive
  • Only use this feature if user have a index.dll.js in their ./src folder
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/viankakrisna/dll