Skip to content

Proposal: Automatically set --enable-source-maps when sourceMap is active in tsConfig.json #32

@Palaxx

Description

@Palaxx

Hello,

Running borp without additional configurations does not generate the source maps files, even if sourceMap is active in tsconfig.json file.

I know we can achive the goal setting the NODE_OPTIONS enviroment variable before running the tests, somenthing like this

NODE_OPTIONS=--enable-source-maps borp ...

but probably we can automatically set it from borp only if sourceMap=true exists in tsconfig.json.
What do you think about it?
If you think it is ok, i can open a new PR in the next days

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions