From a2bae763c3649399d4d03aed39bdc7e771d10bed Mon Sep 17 00:00:00 2001 From: Mitchell Date: Mon, 9 Apr 2018 20:11:24 -0500 Subject: [PATCH] switch back to favicons-webpack-plugin --- package-lock.json | 94 ++++++++++++----------------------------------- package.json | 2 +- webpack.config.js | 4 +- 3 files changed, 26 insertions(+), 74 deletions(-) diff --git a/package-lock.json b/package-lock.json index 207c5bf..77e009b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -310,11 +310,6 @@ "resolved": "https://registry.npmjs.org/atob/-/atob-2.0.3.tgz", "integrity": "sha1-GcenYEc3dEaPILLS0DNyrX1Mv10=" }, - "author-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/author-regex/-/author-regex-1.0.0.tgz", - "integrity": "sha1-0IiFvmubv5Q5/gh8dihyRfCoFFA=" - }, "autoprefixer": { "version": "6.7.7", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz", @@ -1631,17 +1626,6 @@ "unset-value": "1.0.0" } }, - "cache-loader": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/cache-loader/-/cache-loader-1.2.2.tgz", - "integrity": "sha512-rsGh4SIYyB9glU+d0OcHwiXHXBoUgDhHZaQ1KAbiXqfz1CDPxtTboh1gPbJ0q2qdO8a9lfcjgC5CJ2Ms32y5bw==", - "requires": { - "loader-utils": "1.1.0", - "mkdirp": "0.5.1", - "neo-async": "2.5.0", - "schema-utils": "0.4.5" - } - }, "cacheable-request": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-2.1.4.tgz", @@ -3053,11 +3037,6 @@ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" }, - "event-lite": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/event-lite/-/event-lite-0.1.1.tgz", - "integrity": "sha1-R88IqNN9C2lM23s7F7UfqsZXYIY=" - }, "eventemitter3": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz", @@ -3488,6 +3467,29 @@ } } }, + "favicons-webpack-plugin": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/favicons-webpack-plugin/-/favicons-webpack-plugin-0.0.9.tgz", + "integrity": "sha1-32PoDFVrgE5JJeyOBb7jY5FXPck=", + "requires": { + "favicons": "4.8.6", + "loader-utils": "0.2.17", + "lodash": "4.17.5" + }, + "dependencies": { + "loader-utils": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", + "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1", + "object-assign": "4.1.1" + } + } + } + }, "faye-websocket": { "version": "0.10.0", "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", @@ -3590,11 +3592,6 @@ "pkg-dir": "2.0.0" } }, - "find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==" - }, "find-up": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", @@ -5534,11 +5531,6 @@ } } }, - "int64-buffer": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/int64-buffer/-/int64-buffer-0.1.10.tgz", - "integrity": "sha1-J3siiofZWtd30HwTgyAiQGpHNCM=" - }, "internal-ip": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-1.2.0.tgz", @@ -7001,24 +6993,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, - "msgpack-lite": { - "version": "0.1.26", - "resolved": "https://registry.npmjs.org/msgpack-lite/-/msgpack-lite-0.1.26.tgz", - "integrity": "sha1-3TxQsm8FnyXn7e42REGDWOKprYk=", - "requires": { - "event-lite": "0.1.1", - "ieee754": "1.1.10", - "int64-buffer": "0.1.10", - "isarray": "1.0.0" - }, - "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - } - } - }, "multicast-dns": { "version": "6.2.3", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", @@ -7727,14 +7701,6 @@ "pbkdf2": "3.0.14" } }, - "parse-author": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/parse-author/-/parse-author-2.0.0.tgz", - "integrity": "sha1-00YL8d3Q367tQtp1QkLmX7aEqB8=", - "requires": { - "author-regex": "1.0.0" - } - }, "parse-bmfont-ascii": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/parse-bmfont-ascii/-/parse-bmfont-ascii-1.0.6.tgz", @@ -11176,20 +11142,6 @@ "minimalistic-assert": "1.0.0" } }, - "webapp-webpack-plugin": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/webapp-webpack-plugin/-/webapp-webpack-plugin-1.3.1.tgz", - "integrity": "sha512-B4fkclaW04frb0AYj2JfUkJIsrJ7TW4QKgFenOdQUINJ8+vovsrbU/FxCvWH2J7h650JIWJTyh8cFDmGskPScQ==", - "requires": { - "cache-loader": "1.2.2", - "camelcase": "4.1.0", - "favicons": "4.8.6", - "find-root": "1.1.0", - "loader-utils": "1.1.0", - "msgpack-lite": "0.1.26", - "parse-author": "2.0.0" - } - }, "webpack": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.1.1.tgz", diff --git a/package.json b/package.json index 2bc140d..50ada9d 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "clean-webpack-plugin": "^0.1.19", "css-loader": "^0.28.11", "extract-text-webpack-plugin": "^4.0.0-beta.0", + "favicons-webpack-plugin": "0.0.9", "file-loader": "^1.1.11", "font-awesome": "^4.7.0", "html-webpack-plugin": "^3.0.7", @@ -38,7 +39,6 @@ "tslint": "^5.9.1", "tslint-config-airbnb": "^5.8.0", "typescript": "^2.7.2", - "webapp-webpack-plugin": "^1.3.1", "webpack": "^4.1.1", "webpack-cli": "^2.0.12", "webpack-dev-server": "^3.1.1" diff --git a/webpack.config.js b/webpack.config.js index ecfea33..21d7fe1 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,7 +1,7 @@ const CleanWebpackPlugin = require('clean-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); -const WebappWebpackPlugin = require('webapp-webpack-plugin'); +const FaviconsWebpackPlugin = require('favicons-webpack-plugin'); const path = require('path'); const webpack = require('webpack'); @@ -74,6 +74,6 @@ module.exports = { template: './index.html', }), new webpack.HotModuleReplacementPlugin(), - new WebappWebpackPlugin('./favicon.png'), + new FaviconsWebpackPlugin('./favicon.png'), ], };