Skip to content

webpack support #36

@N1ckx

Description

@N1ckx

Hi,
because webpack by default only loads js and json files i get this error:

ERROR in ./node_modules/authenticate-pam/build/Release/authenticate_pam.node 1:0
Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

Is there a loader that would make it work?
Or is it maybe possibile to have a index.js wrapper file to pass to webpack that load the binary?

Thanks,

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