Closed kevinzwhuang closed 7 years ago
In the first place in webpack 2 setting, since it is "module.loaders" to "module.rules", should we write the settings of webpack 1 and webpack 2 separately?
Sure, I think that makes sense to have 2 examples for v1 and v2, I'll update this PR with a simple example of the current config migrated to v2 (with the v1 config below it).
Thank you!
Summary:
Webpack v2.1.0-beta.26 introduced a breaking change to require loaders to have the
-loader
suffix.This PR updates the README to show that pattern as an example instead of using the shorthand naming.
cc: @sokra @km-tr