Skip to content

Enabling vendor in deno.json results in esbuild errors #2796

Open
@A1029384756

Description

@A1029384756

I am attempting to package a Fresh application with Nix which disables all internet access at build time. As a result, I vendor my dependencies by setting "vendor": true in deno.json. Once this is done, I get the following error:

✘ [ERROR] [unreachable] Not an ESM module. [plugin deno-loader]

in multiple spots. Is that something that is known or is more work needed to find the source of this issue?

This issue can be somewhat inconsistent as a build will succeed if a build has already run without running deno clean

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions