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

use module.rules instead of module.loaders for webpack2 #143

Closed
marcofugaro opened this issue Apr 19, 2017 · 3 comments
Closed

use module.rules instead of module.loaders for webpack2 #143

marcofugaro opened this issue Apr 19, 2017 · 3 comments

Comments

@marcofugaro
Copy link
Contributor

modules.loaders was renamed in modules.rules in webpack 2, here are the docs

Would be easier when adding custom loaders, to merge the with the default loaders.

Here is the line I'm referring to https://github.com/andywer/webpack-blocks/blob/master/packages/webpack2/index.js#L78

Also the example in the README needs to be updated.

@andywer
Copy link
Owner

andywer commented Apr 19, 2017

It's on its way. 1.0 release will be webpack 2 only and use module.rules 😉
See #134.

Duplicate of #111

@andywer
Copy link
Owner

andywer commented Apr 19, 2017

Sorry for the slow progress on 1.0, though!

@marcofugaro
Copy link
Contributor Author

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants