Remove workaround. Remove deprecated url-loader.

master
Dimitri Huisman 3 years ago
parent 60be06e298
commit 5f18860669

@ -21,10 +21,3 @@
padding: unset !important; padding: unset !important;
} }
/*
* Temporary workaround to get FontAwesome icons working.
* Should be updated if AdminLTE is updated to use the same version.
* This workaround can be removed if someone gets the icons working
* again via the plugins included with AdminLTE
*/
@import url("//use.fontawesome.com/releases/v5.15.3/css/all.css");

@ -25,7 +25,6 @@
"node-sass": "^6.0.1", "node-sass": "^6.0.1",
"sass-loader": "^12.1.0", "sass-loader": "^12.1.0",
"select2": "^4.0.13", "select2": "^4.0.13",
"url-loader": "^4.1.1",
"webpack": "^5.50.0", "webpack": "^5.50.0",
"webpack-cli": "^4.7.2" "webpack-cli": "^4.7.2"
} }

@ -30,10 +30,6 @@ module.exports = {
test: /\.css$/, test: /\.css$/,
use: [css.loader, 'css-loader'] use: [css.loader, 'css-loader']
}, },
{
test: /\.woff($|\?)|\.woff2($|\?)|\.ttf($|\?)|\.eot($|\?)|\.svg($|\?)/,
use: ['url-loader']
},
{ {
// Exposes jQuery for use outside Webpack build // Exposes jQuery for use outside Webpack build
test: require.resolve('jquery'), test: require.resolve('jquery'),

Loading…
Cancel
Save