Skip to content

explore using barrels to reduce "import spam" #97

Description

@MikeDefibaugh

exports can be bundled together into a 'barrel' which will allow for a single import for a logically connected group of imports instead of half a page of individual imports. For example, all the url imports in the services. (I know those are in src/lib, but this could apply anywhere)

http://tattoocoder.com/angular2-barrels/

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions