Skip to content

the imports are not properly generated for customFetch which fail running in docker environment #5297

Open
@xmlking

Description

@xmlking

I am using customFetch and additionalEnvelopPlugins with scripts pointing in my src as shown below.
everything works fine locally, but when I am doing docker build, I am getting import path error for customFetch

This works in local run i.e, npm run dev but when dockerized and run, it is failing with path issues for customFetch
image
Workaround: I have to use this during docker build to make it work. (obviously not going to work for local run)
image

Note: additionalEnvelopPlugins has no issues.

I think the root cause is how imports are generated in .mesh/index.ts
image
image

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