add image-webpack-loader; keep subfolder(s) for images & fonts: 'dist/images/foo/bar.jpg'

This commit is contained in:
Patrick Vézina
2016-03-24 11:07:45 -04:00
parent 9bb62336a8
commit c2658fc5b2
2 changed files with 42 additions and 20 deletions

View File

@@ -20,7 +20,9 @@
"scripts": {
"build:production": "webpack -p",
"build": "webpack -d",
"watch": "node watch.js"
"watch": "node watch.js",
"lint": "eslint -c .eslintrc assets/scripts",
"install": "composer install"
},
"engines": {
"node": ">= 0.12.0",
@@ -45,6 +47,7 @@
"eslint-loader": "^1.3.0",
"extract-text-webpack-plugin": "^0.9.1",
"file-loader": "^0.8.5",
"image-webpack-loader": "^1.6.3",
"imagemin-pngcrush": "^4.1.0",
"imports-loader": "^0.6.5",
"monkey-hot-loader": "0.0.3",