mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-25 11:07:29 +00:00
Replace 'loader' with 'use' in various Webpack configs. Fixes 'loader option has been deprecated' warnings.
This commit is contained in:
@@ -13,7 +13,7 @@ module.exports = (env) => {
|
||||
module: {
|
||||
rules: [
|
||||
{ test: /\.(png|woff|woff2|eot|ttf|svg)(\?|$)/, use: 'url-loader?limit=100000' },
|
||||
{ test: /\.css(\?|$)/, use: extractCSS.extract({ loader: 'css-loader' }) }
|
||||
{ test: /\.css(\?|$)/, use: extractCSS.extract({ use: 'css-loader' }) }
|
||||
]
|
||||
},
|
||||
entry: {
|
||||
|
||||
Reference in New Issue
Block a user