Skip to content

Production bundles are always minified. How do i debug it? #11791

Closed

Description

@iheathers

It's not supported. Development builds you get with npm start are in development mode and not minified, but they're not actually written to the disk. Production bundles are always minified.

What do you need it for?

Originally posted by @gaearon in #3403 (comment)

Activity

  1. iheathers commented on Dec 17, 2021

    @iheathers
    Author

    Try yarn build --profile to get unminified Component names in React dev tool. To debug the build files, I would simply add the project folder on Chrome devtools and debug it there.

  2. raix commented on Dec 18, 2021

    @raix
    Contributor

    Thank you for the question, I'll convert to conversation to see if it's a general issue - if so we could talk about how to solve it.

  3. locked and limited conversation to collaborators on Dec 18, 2021
  4. converted this issue into a discussion #11798 on Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions