Removed heavy material icon dependency

No more check for update in dev
This commit is contained in:
Kylart 2017-08-23 00:40:51 +02:00
parent 1199ecf92a
commit 2586307828
4 changed files with 1 additions and 2 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 361 KiB

View File

@ -47,7 +47,6 @@
"lodash": "^4.17.4",
"lru-cache": "^4.0.2",
"mal-scraper": "^1.4.1",
"material-design-icons": "^3.0.1",
"moment": "^2.18.1",
"nyaapi": "^1.2.2",
"progress-bar-webpack-plugin": "^1.10.0",

View File

@ -245,7 +245,7 @@ const setup = (app) => {
// auto update
/* istanbul ignore next */
if (process.env.NODE_ENV !== 'KawAnime-test') {
if (!['KawAnime-test', 'development'].includes(process.env.NODE_ENV)) {
routes = require('./updater.js')(app, routes)
}