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
  • #2026
Closed
Open
Issue created Apr 24, 2017 by Administrator@rootContributor

Empty CSS sourcemaps created in a production build

Created by: viankakrisna

a follow up to https://github.com/facebookincubator/create-react-app/pull/2013#issuecomment-296795003

It's confusing that CRA created an empty .map for css when running npm run build. I thought that it should generate a proper .map file on minify so i've turned the option on that pr. But turns out that css source map is quite problematic (for development) based on https://github.com/facebookincubator/create-react-app/pull/591

So the question right now is whether we should find out why it creates an empty and confusing .map for css file on production, or just turn it on? I don't think it would affect production perf though. http://stackoverflow.com/questions/23848364/performance-impact-of-using-css-javascript-source-maps-in-production and maybe would be beneficial if there is problem with production css.

Assignee
Assign to
Time tracking