1
0
mirror of https://github.com/mgerb/react-starter synced 2026-01-09 00:22:49 +00:00

switch back to favicons-webpack-plugin

This commit is contained in:
2018-04-09 20:11:24 -05:00
parent 4fbd590a0a
commit a2bae763c3
3 changed files with 26 additions and 74 deletions

94
package-lock.json generated
View File

@@ -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",

View File

@@ -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"

View File

@@ -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'),
],
};