Skip to content

Add --filename option #492

@MaximDevoir

Description

@MaximDevoir

It would be great if ncc build supported an option such as --filename to allow naming the generated file to something other than index.js.

It looks like the application was built to support this option in the future with the following lines already in place:

https://github.com/zeit/ncc/blob/0ad6971d202ee5896310f65e9aedfd1156184346/src/index.js#L39

https://github.com/zeit/ncc/blob/0ad6971d202ee5896310f65e9aedfd1156184346/src/index.js#L53

https://github.com/zeit/ncc/blob/0ad6971d202ee5896310f65e9aedfd1156184346/src/index.js#L131-L134

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions