Skip to content

index.js file in all importable folder #13

@piranna

Description

@piranna

Have an index.js file in each importable local folder with the public exports of that folder, like init.py is used for in Python. This way you can directly import that folder without needing to specify the file (require('folder') vs. require('folder/file.js')).

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