Skip to content

Provide readable error messages on top of Uglify #2641

Closed

Description

@gaearon

Not sure if we can even do that, but the way it prints parsing errors is currently completely non-obvious:

Unexpected token: name (i) [./~/node-thermal-printer/node-thermal-printer.js:403,0][static/js/main.47fb6eaa.js:20938,12]

Any improvement here would be nice.

Activity

  1. gaearon commented on Jun 27, 2017

    @gaearon
    ContributorAuthor

    Woah. #2650 looks sweet!

  2. gregglind commented on Aug 3, 2017

    @gregglind

    (the gist of that error was that ES6 code wasn't being transpiled properly, and the fix is to move it into /src)

  3. Timer commented on Aug 3, 2017

    @Timer
    Contributor

    #2650 has been merged.

  4. locked and limited conversation to collaborators on Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions