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

[barrel] Use node module resolution algorithm #6

Open
jasonkuhrt opened this issue Apr 4, 2022 · 0 comments
Open

[barrel] Use node module resolution algorithm #6

jasonkuhrt opened this issue Apr 4, 2022 · 0 comments

Comments

@jasonkuhrt
Copy link

// codegen:start {preset: barrel, include: ./sources/index.ts, import: star }
import * as sources from './sources/index'

export { sources }
// codegen:end

The above could be:

// codegen:start {preset: barrel, include: ./sources/index.ts, import: star }
import * as sources from './sources'

export { sources }
// codegen:end
@mmkal mmkal changed the title Use node module resolution algorithm [eslint-plugin-codegen] Use node module resolution algorithm Sep 25, 2022
@mmkal mmkal transferred this issue from mmkal/ts Jan 2, 2023
@mmkal mmkal changed the title [eslint-plugin-codegen] Use node module resolution algorithm Use node module resolution algorithm Nov 6, 2023
@mmkal mmkal changed the title Use node module resolution algorithm [barrel] Use node module resolution algorithm Nov 6, 2023
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