Skip to content

[Question/Documenation] Need more information about the usage of barrels #1202

Closed
@bastienJS

Description

@bastienJS

In the system.config.ts there is:

const cliSystemConfigPackages: any = {};
barrels.forEach((barrelName: string) => {
  cliSystemConfigPackages[barrelName] = { main: 'index' };
});

I could nowhere find information about:

1.) What exactly is a barrel
2.) Why gets each barrel a object { main: 'index' } assigned

Would you please explain the infrastructure you setup in your documentation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions