Skip to content

Problem resolving path with Esbuild #111

Open
@sinuheshinbr

Description

@sinuheshinbr

I'm trying to use this package in a serverless project with serverless-esbuild plugin. When I add require.resolve("./child) I get the following error message: Error: Cannot find module './child/index'

Is there any way I can import the module and pass it as a parameter instead of the path?

Or there is any other suggestions on how to procced?

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