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
  • Issues
  • #4115
Closed
Open
Issue created Mar 06, 2018 by Administrator@rootContributor

Base configuration file query

Created by: adaam2

Wouldn't it be better for the default configuration after ejecting to inherit from a base Webpack configuration file and then have the development / production configurations merge off of the base configuration. Looking at the default generated files created by create-react-app after ejecting, I can see that there is a lot of duplication between webpack.config.dev.js and webpack.config.prod.js. Any reasons why it was written in this manner originally or why we can't move towards a base configuration file?

Apologies if this issue / question has been lodged before. Tried my best to find similar issues!

Assignee
Assign to
Time tracking