From 5f188606696fee1480fbb50f13004044b2347b7d Mon Sep 17 00:00:00 2001 From: Dimitri Huisman Date: Tue, 31 Aug 2021 10:04:44 +0000 Subject: [PATCH] Remove workaround. Remove deprecated url-loader. --- core/admin/assets/app.css | 7 ------- core/admin/package.json | 1 - core/admin/webpack.config.js | 4 ---- 3 files changed, 12 deletions(-) diff --git a/core/admin/assets/app.css b/core/admin/assets/app.css index 3858f86a..8351eed8 100644 --- a/core/admin/assets/app.css +++ b/core/admin/assets/app.css @@ -21,10 +21,3 @@ 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"); diff --git a/core/admin/package.json b/core/admin/package.json index a7448265..d45dcb94 100644 --- a/core/admin/package.json +++ b/core/admin/package.json @@ -25,7 +25,6 @@ "node-sass": "^6.0.1", "sass-loader": "^12.1.0", "select2": "^4.0.13", - "url-loader": "^4.1.1", "webpack": "^5.50.0", "webpack-cli": "^4.7.2" } diff --git a/core/admin/webpack.config.js b/core/admin/webpack.config.js index 1d969063..3e823fa9 100644 --- a/core/admin/webpack.config.js +++ b/core/admin/webpack.config.js @@ -30,10 +30,6 @@ module.exports = { test: /\.css$/, use: [css.loader, 'css-loader'] }, - { - test: /\.woff($|\?)|\.woff2($|\?)|\.ttf($|\?)|\.eot($|\?)|\.svg($|\?)/, - use: ['url-loader'] - }, { // Exposes jQuery for use outside Webpack build test: require.resolve('jquery'),