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

Adds entry file directory as module directory #124

Merged
merged 1 commit into from
Nov 16, 2016

Conversation

a-s-o
Copy link
Contributor

@a-s-o a-s-o commented Nov 14, 2016

Closes #118

Tells webpack to search in the entry file directory for modules, along with the default webpack modulesDirectories.

We can discuss which directory should be searched for first but my rationale is that the type of folders I will have in my base dir, such as "models", "reducers", "styles", "components", etc. will generally not conflict with packages I have installed. In the event that they do conflict, it is easier for me to resolve the conflict by renaming my folders than it is to alias an npm package.

Finally, I ran this change against the aik-examples and this does not cause an issue on my system.

@d4rkr00t
Copy link
Owner

Looks great. I'll test it today on my few other projects which uses aik and if everything is ok will merge it.

Thanks a lot for the pull request.

@d4rkr00t
Copy link
Owner

Just for sticking to conventional changelog requirements can you please change title of commit message to something like this:

"feat(webpack): Adds entry file directory as module directory"

@a-s-o
Copy link
Contributor Author

a-s-o commented Nov 16, 2016

Done, title updated.

@d4rkr00t d4rkr00t merged commit 17bb324 into d4rkr00t:master Nov 16, 2016
@d4rkr00t
Copy link
Owner

Merged.

Thanks a lot for pull request.

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

Successfully merging this pull request may close these issues.

resolve.root support
2 participants