From da60c60859760c4e7aa2de13a63fa081f193cdcd Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 13 Sep 2022 08:42:55 +0200 Subject: [PATCH] remove temp workaround for webpack-remove-empty-scripts --- package-lock.json | 32 ++++++++++++++++---------------- package.json | 4 ++-- webpack.config.js | 1 - 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index 59cb65f..fda35df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,9 +35,9 @@ "svgtofont": "3.18.0", "webpack": "5.74.0", "webpack-cli": "4.10.0", - "webpack-favicons": "^1.3.8", + "webpack-favicons": "1.3.8", "webpack-manifest-plugin": "5.0.0", - "webpack-remove-empty-scripts": "0.8.4" + "webpack-remove-empty-scripts": "1.0.0" }, "engines": { "node": ">=16.15 <=18" @@ -1222,9 +1222,9 @@ } }, "node_modules/ansis": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/ansis/-/ansis-1.4.0.tgz", - "integrity": "sha512-jaJCg2/68pwinZeW86YBSNv0kNPr3PSog/IqflOVCbqCedSCvrDCBUW1y4V9gcEUDNxrGtVLAkMIivvpsq1VwA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/ansis/-/ansis-1.5.2.tgz", + "integrity": "sha512-T3vUABrcgSj/HXv27P+A/JxGk5b/ydx0JjN3lgjBTC2iZUFxQGjh43zCzLSbU4C1QTgmx9oaPeWNJFM+auI8qw==", "dev": true, "engines": { "node": ">=12.13" @@ -11282,12 +11282,12 @@ } }, "node_modules/webpack-remove-empty-scripts": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/webpack-remove-empty-scripts/-/webpack-remove-empty-scripts-0.8.4.tgz", - "integrity": "sha512-X9TVQ5mkl00aW33v1EAe4SZVzvz7EEpbXbNNDSUnY6IeePbrnODl7r3HS9Cy2Dq2pvY7FGfqWsL0GO1q2Vq6KA==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/webpack-remove-empty-scripts/-/webpack-remove-empty-scripts-1.0.0.tgz", + "integrity": "sha512-uruq44uTDK9qZr7WqhRzONh2Ha5fwyjMvC0SvrLFlQI7v1g3WyCELdHGEaqGW/qWA00spxqcvKF47THI1W1Mlg==", "dev": true, "dependencies": { - "ansis": "1.4.0" + "ansis": "1.5.2" }, "engines": { "node": ">=12.14" @@ -12675,9 +12675,9 @@ } }, "ansis": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/ansis/-/ansis-1.4.0.tgz", - "integrity": "sha512-jaJCg2/68pwinZeW86YBSNv0kNPr3PSog/IqflOVCbqCedSCvrDCBUW1y4V9gcEUDNxrGtVLAkMIivvpsq1VwA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/ansis/-/ansis-1.5.2.tgz", + "integrity": "sha512-T3vUABrcgSj/HXv27P+A/JxGk5b/ydx0JjN3lgjBTC2iZUFxQGjh43zCzLSbU4C1QTgmx9oaPeWNJFM+auI8qw==", "dev": true }, "anymatch": { @@ -20385,12 +20385,12 @@ } }, "webpack-remove-empty-scripts": { - "version": "0.8.4", - "resolved": "https://registry.npmjs.org/webpack-remove-empty-scripts/-/webpack-remove-empty-scripts-0.8.4.tgz", - "integrity": "sha512-X9TVQ5mkl00aW33v1EAe4SZVzvz7EEpbXbNNDSUnY6IeePbrnODl7r3HS9Cy2Dq2pvY7FGfqWsL0GO1q2Vq6KA==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/webpack-remove-empty-scripts/-/webpack-remove-empty-scripts-1.0.0.tgz", + "integrity": "sha512-uruq44uTDK9qZr7WqhRzONh2Ha5fwyjMvC0SvrLFlQI7v1g3WyCELdHGEaqGW/qWA00spxqcvKF47THI1W1Mlg==", "dev": true, "requires": { - "ansis": "1.4.0" + "ansis": "1.5.2" } }, "webpack-sources": { diff --git a/package.json b/package.json index 2adabba..cc7179f 100644 --- a/package.json +++ b/package.json @@ -57,9 +57,9 @@ "svgtofont": "3.18.0", "webpack": "5.74.0", "webpack-cli": "4.10.0", - "webpack-favicons": "^1.3.8", + "webpack-favicons": "1.3.8", "webpack-manifest-plugin": "5.0.0", - "webpack-remove-empty-scripts": "0.8.4" + "webpack-remove-empty-scripts": "1.0.0" }, "overrides": { "colors": "1.4.0" diff --git a/webpack.config.js b/webpack.config.js index 759b0cb..4f50af5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -85,7 +85,6 @@ var config = { if (element.name.endsWith(".svg")) return if (element.name.startsWith("fonts/")) return if (element.name.startsWith("/favicon")) return - if (element.name == "css.js") return Object.assign(manifest, { [element.name]: { src: element.path }