Closed rv-17 closed 6 years ago
You need to specify string-replace-loader instead of string-replace.
module.exports = { // ... module: { loaders: [ { test: /\.js$/, loader: 'string-replace-loader', query: { search: 'jQuery', replace: 'window.$' } } ] } }
Check the migration docs for more information.
Please update the docs!
thanks guys, docs updated
You need to specify string-replace-loader instead of string-replace.
Check the migration docs for more information.