For your documentation, webpack gives this message:
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
You need to specify 'string-replace-loader' instead of 'string-replace',
see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed