Webpack — The Confusing Parts
rajaraodv
7.7K93

Thanks for that great article. One note though:

In Webpack 3 trying to omit the “-loader” will result in this error:

BREAKING CHANGE: It’s no longer allowed to omit the ‘-loader’ suffix when using loaders.
 You need to specify ‘exports-loader’ instead of ‘exports’,
 see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed