From 66834bb2791209cf1bc85c56a6e136906c472324 Mon Sep 17 00:00:00 2001 From: Giuseppe Digilio Date: Thu, 19 Dec 2019 13:57:51 +0100 Subject: [PATCH] remove resolve-url-loader after upgrade to angular 7 --- package.json | 1 - webpack/webpack.common.js | 14 +------------- webpack/webpack.test.js | 14 +------------- 3 files changed, 2 insertions(+), 27 deletions(-) diff --git a/package.json b/package.json index 326e017f5a..746110017f 100644 --- a/package.json +++ b/package.json @@ -225,7 +225,6 @@ "protractor": "^5.4.2", "protractor-istanbul-plugin": "2.0.0", "raw-loader": "0.5.1", - "resolve-url-loader": "^2.3.0", "rimraf": "2.6.2", "rollup": "^0.65.0", "rollup-plugin-commonjs": "^9.1.6", diff --git a/webpack/webpack.common.js b/webpack/webpack.common.js index e63ae024ed..2024319991 100644 --- a/webpack/webpack.common.js +++ b/webpack/webpack.common.js @@ -126,12 +126,6 @@ module.exports = (env) => { includePaths: [projectRoot('./'), path.join(themePath, 'styles')] } }, - { - loader: 'resolve-url-loader', - options: { - sourceMap: true - } - }, { loader: 'sass-resources-loader', options: { @@ -163,13 +157,7 @@ module.exports = (env) => { sourceMap: true, includePaths: [projectRoot('./'), path.join(themePath, 'styles')] } - }, - { - loader: 'resolve-url-loader', - options: { - sourceMap: true - } - }, + } ] }, { diff --git a/webpack/webpack.test.js b/webpack/webpack.test.js index de53de31c4..ef9544b486 100644 --- a/webpack/webpack.test.js +++ b/webpack/webpack.test.js @@ -167,12 +167,6 @@ module.exports = function (env) { includePaths: [projectRoot('./'), path.join(themePath, 'styles')] } }, - { - loader: 'resolve-url-loader', - options: { - sourceMap: true - } - }, { loader: 'sass-resources-loader', options: { @@ -204,13 +198,7 @@ module.exports = function (env) { sourceMap: true, includePaths: [projectRoot('./'), path.join(themePath, 'styles')] } - }, - { - loader: 'resolve-url-loader', - options: { - sourceMap: true - } - }, + } ] },