Skip to content

Loader features refactor #123

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

Closed
wants to merge 6 commits into from
Closed

Loader features refactor #123

wants to merge 6 commits into from

Conversation

davidmpaz
Copy link
Contributor

These are internal changes to match current usage of loader-features.js, renaming mostly. Package checker is not used uniquely for loaders, but also node modules in general, like plugins.

@weaverryan
Copy link
Member

@davidmpaz can you rebase now? I broke this with your other PR ;) #101

@davidmpaz
Copy link
Contributor Author

davidmpaz commented Aug 7, 2017 via email

Make naming more general since it can be used for plugins as well.
Remove reference to loader. Module will be used in more general
scope.
Missing plugins errors are not captured by webpack, but in
node loading process. Plugins require is delayed untill check
for packages is done in `ensurePackagesExist`. At this time
proper error is raised.
@weaverryan
Copy link
Member

Awesome, thank you David!

@weaverryan weaverryan closed this Aug 10, 2017
weaverryan added a commit that referenced this pull request Aug 10, 2017
This PR was squashed before being merged into the master branch (closes #123).

Discussion
----------

Loader features refactor

These are internal changes to match current usage of `loader-features.js`, renaming mostly. Package checker is not used uniquely for loaders, but also node modules in general, like plugins.

Commits
-------

b7eff23 Loader features refactor
@davidmpaz davidmpaz deleted the features branch August 10, 2017 20:23
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.

2 participants