Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Support module directories with index.js#175

Open
albertogasparin wants to merge 1 commit into
lodash:masterfrom
albertogasparin:support-module-dirs
Open

Support module directories with index.js#175
albertogasparin wants to merge 1 commit into
lodash:masterfrom
albertogasparin:support-module-dirs

Conversation

@albertogasparin

@albertogasparin albertogasparin commented Jun 16, 2017

Copy link
Copy Markdown
Contributor

If a folder contains index.js, then we add the folder name as an available namespace in the plugin cache. Moreover, we try to handle different styles for dir names (lowercase, kebab-case and snakeCase).

This should be a nice step forward to make this plugin a generic solution to reduce imports and improve tree shaking.
Closes #166

@AndersDJohnson

Copy link
Copy Markdown

@albertogasparin Do you mean kebab-case not kebabCase?

@danny-andrews

Copy link
Copy Markdown
Contributor

This is siiiiiick. Any updates?

@albertogasparin

albertogasparin commented Aug 8, 2017

Copy link
Copy Markdown
Contributor Author

@AndersDJohnson Those where the names of lodash methods I've used to match folder naming. But I've made it more clear.

@pr0da

pr0da commented May 7, 2018

Copy link
Copy Markdown

Is there any plan to merge this PR? Do you need any help?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants