Adding lazy-loader for images on-demand

This commit is contained in:
James Barnsley
2017-08-09 08:52:49 +12:00
parent 0825039d04
commit 160a9ad700
5 changed files with 71 additions and 70 deletions

View File

@ -37,7 +37,8 @@
"style-loader": "^0.13.2",
"url-loader": "^0.5.8",
"webpack": "^3.3.0",
"webpack-strip": "0.1.0"
"webpack-strip": "0.1.0",
"react-lazyload": "2.2.7"
},
"scripts": {
"dev": "./build.sh && NODE_ENV=development webpack --watch",