bencoveney / barrelsby

Automatic TypeScript barrels (index.ts files) for your entire code base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to remove * as

reggi opened this issue · comments

commented

I am running this:

barrelsby -s filesystem -D -d

It's creating something like this:

import * as arraydifferencets from "./array/difference";
import * as arrayfilterHiddenFilests from "./array/filterHiddenFiles";
import * as arrayfilterUndefinedts from "./array/filterUndefined";
import * as arrayflattents from "./array/flatten";

Each of these are one-line functions. So they shouldn't be *'d.

I have to run something like this:

barrelsby -s filesystem -D -d && sed -i -e "s/ \* as//g" ./src/Fixture/index.ts

No activity has been seen recently, marking as stale. If this is a mistake please reach out to a collaborator