Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Multiple entry points #481

@ZLJasonG

Description

@ZLJasonG

If package.json contains and object with multiple elements, only the first gets built, there doesn't appear to be any way to specify which to build.

eg

{
    "bin": {
        "entry1": "src/entry1",
        "entry2": "src/entry2"
    }
}

Ideally there would be a command line option to specify which entry point to use. As a work around, I tried creating multiple package.json format files with different names and passed the paths to pkg but that seemed to create exe's that used no entry point.

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