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

Compatibility with webpack v2 #4

Open
amangeot opened this issue Feb 19, 2017 · 3 comments
Open

Compatibility with webpack v2 #4

amangeot opened this issue Feb 19, 2017 · 3 comments

Comments

@amangeot
Copy link

Hello,
is it compatible with webpack v2 ?

@danilobuerger
Copy link
Owner

I don't know, I haven't looked into webpack 2 yet. But if there is something that needs to be changed, go ahead and submit a PR.

@amangeot
Copy link
Author

Ok thank you, just started using your package, it works great.

I will when I dive into it (if needed).

@lochstar
Copy link

lochstar commented Apr 6, 2017

Just a note that this plugin works fine with webpack v2, although you need to append -loader.

e.g.

const locales = {
  en: () => require('react-intl-loader?locale=en!./en.json'),
  de: () => require('react-intl-loader?locale=de!./de.json')
}

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

3 participants