Skip to content

CLI, add option to change out "index.js" default name. #539

@gomes042

Description

@gomes042

Just like #492 did, I would like to suggest an option to change the default name of the output file after running the command line. Apparently you can change the name of the folder and that's cool but in some situations, like working with pm2 for example, it would be essential to have different names for each application than having several "index" in a large list. Currently I've created my own script to perform a simple task of renaming the index.js file after transpilation to any name I want, but it would be very interesting to have this option natively in the cli as '--filename' for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions