Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recursive index file #8

Closed
soanvig opened this issue Jul 5, 2021 · 1 comment
Closed

Recursive index file #8

soanvig opened this issue Jul 5, 2021 · 1 comment

Comments

@soanvig
Copy link

soanvig commented Jul 5, 2021

Hello!

I have following rule inside index.ts file

// @index('./**/*.ts', f => export * from '${f.path}';)

and unfortunately index.ts file itself gets included into rule and final output. I think this behavior should be disabled because it's never desired.

Do you agree?

Final output

export * from './area';
export * from './index';
export * from './region';
export * from './token';
@fjc0k fjc0k closed this as completed in dd35f4d Jul 21, 2021
@soanvig
Copy link
Author

soanvig commented Jul 21, 2021

Cool thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant