mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Replace 'loader' with 'use' in various Webpack configs. Fixes 'loader option has been deprecated' warnings.
This commit is contained in:
@@ -30,7 +30,7 @@ module.exports = (env) => {
|
||||
entry: { 'main-client': './ClientApp/boot-client.tsx' },
|
||||
module: {
|
||||
rules: [
|
||||
{ test: /\.css$/, use: ExtractTextPlugin.extract({ loader: 'css-loader' }) },
|
||||
{ test: /\.css$/, use: ExtractTextPlugin.extract({ use: 'css-loader' }) },
|
||||
{ test: /\.(png|jpg|jpeg|gif|svg)$/, use: 'url-loader?limit=25000' }
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user