Skip to content

Better source maps #10

@starsinmypockets

Description

@starsinmypockets

Is it possible to get better source maps working? Currently console errors appear to be formatted such as:

dashboard.js:formatted:69368 Uncaught (in promise) TypeError: e.on is not a function
at dashboard.js:formatted:69368
at new Promise ()
at e.exports (dashboard.js:formatted:69367)
at dashboard.js:formatted:18424
at x (dashboard.js:formatted:26180)
at Generator._invoke (dashboard.js:formatted:26158)
at Generator.e. [as next] (dashboard.js:formatted:26195)
at n (dashboard.js:formatted:9199)
at s (dashboard.js:formatted:9213)
(anonymous) @ dashboard.js:formatted:69368
e.exports @ dashboard.js:formatted:69367
(anonymous) @ dashboard.js:formatted:18424
x @ dashboard.js:formatted:26180
(anonymous) @ dashboard.js:formatted:26158
e. @ dashboard.js:formatted:26195
n @ dashboard.js:formatted:9199
s @ dashboard.js:formatted:9213

It would be nice if the stack trace referred to the source file, rather than the build file. I believe this can be accomplished with webpack.

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