Skip to content

Question: Building react with sourcemaps #14361

@nprasath002

Description

@nprasath002

How do I build react with source maps?

I am in master branch with the latest code. I tried setting rollup config to sourcemap: true and setting "sourceMaps": true in .babalrc. I am getting the following error.

Sourcemap is likely to be incorrect: a plugin was used to transform files, but didn't generate a sourcemap for the transformation. Consult the plugin documentation for help

I want to generate source maps so that I can set breakpoints in the actual es6 package code and step through it.

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