Skip to content

Use after-resolvers to hook into resolvers to support webpack2 #2

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

suusan2go
Copy link

In Webpack 2 , Resolvers are created later in the process, so they're null in apply.
This makes the plugin works with Webpack 2 .

Resolvers are created later in the process in Webpack 2
JDutil pushed a commit to JDutil/webpack-rails-i18n-js-plugin that referenced this pull request Apr 12, 2017
@mlabarca
Copy link

I can confirm this PR adds support for webpack 2, It fixed my problem.

@wvengen
Copy link

wvengen commented Oct 12, 2018

Also works with Webpack 3.
Any chance of getting this on npm?

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.

3 participants