Closed JamesDaniel closed 7 years ago
ok, I'll update the readme to include this note.
I've incorporated this into the course readme and marked the course as out of date. I'm going to close this issue.
The module.loaders
is now module.rules
. Although the old naming convention is still valid, I think we should have some notes about that.
FYI: https://webpack.js.org/guides/migrating/#module-loaders-is-now-module-rules
The property preLoader no longer exists for the webpack configuration file. I was getting this error:
I found a solution to this problem here: http://stackoverflow.com/questions/39668579/webpack-2-1-0-beta-25-error-unknown-property-postloaders
So the code:
Should now look like this:
This is from the pluralsight tutorials: https://app.pluralsight.com/player?course=webpack-fundamentals&author=joe-eames&name=webpack-fundamentals-m2&clip=6&mode=live
Basic Building with Webpack
Using Preloaders
Because of this the tutorials are no longer up to date with the latest version of webpack.