Skip to content

Pretty-print error on React website #9479

@gaearon

Description

@gaearon

Just noticed that since we switched to Babel, compile error is ugly if you make a mistake on https://facebook.github.io/react/ interactive examples:

screen shot 2017-04-21 at 4 53 33 pm

We should fix it to preserve the newlines. It should be an easy fix.

You’d need to follow the instructions in the docs folder to get them running, then figure out a fix and send a PR. Please comment here if you plan to work on this so that two people don’t work on the same thing.


Update: @tsriram is looking at this.

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