Skip to content

Electron ESM - bad file path and code line #450

@FVGame

Description

@FVGame

I use electron with ESM scripts. But electron-log show bad file path and code line in browser window dev-tools - always show ".../node_modules/electron-log/src/renderer/lib/transports/console.js:77". JS console.log show path/line right.
Simple example: https://github.com/FVGame/electron-esm-example

Image

I don't know problem in electron or electron-log.

Now i use hook for add to message.data correct file path with code line, but it's not convenient =(

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