Skip to content

Sourcemap is not enabled in development?  #139

Closed
@kasperpeulen

Description

@kasperpeulen

It seems like sourcemap is not enabled in development, is there some reason for that?

My normal workflow, is that if I see an error in the chrome console, I look up the file and line number of the error in my editor. But at this moment, the line numbers are not correct, because it doesn't use source mapping.

This leads to another question, why is ES6 transpiled to ES5 in development? Shouldn't it transpile to ES6 now that chrome, edge, safari and firefox all support more ES6 than babel itself support?

I think ES6 to ES5 transpiling is something only needed for production.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions