Skip to content

Sourcemap points to file not included in package #162

@christophlocher

Description

@christophlocher

Thank you for maintaining this package!

When using this package in a CRA 5.0 project, there is a webpack error shown which says:

Failed to parse source map from '/Users/[…]/node_modules/electron-settings/src/settings.ts' file: Error: ENOENT: no such file or directory, open '/Users/[…]/node_modules/electron-settings/src/settings.ts'

This is correct: The source map in /electron-settings/dist points to ../src/settings.ts, but the src directory is not included in the installed package.

It would be great to either include the src in the distributed package or update the sourcemap.

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