Skip to content

CaCert using relative path breaks on projects using webpack #44

@balassit

Description

@balassit

Issue:
When bundling a project that uses gigya, the node_modules directory is not included in the project, so there is no reference to the cacert. This causes the failure below:

Error: ENOENT: no such file or directory, open \'/assets/cacert.pem\'' } 

Solution:
The CaCert needs to be bundled with the dist, and not using a relative path to import it.

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