Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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