From 7fca3ed3da102582d0553ed455feaf3ff9ac8389 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Sat, 21 Oct 2017 20:25:09 +0300 Subject: Use heroku-postbuild step --- .gitignore | 2 +- package.json | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 27d93e4..9f0f7a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules/ dump.rdb -static/js/build.js \ No newline at end of file +static/js/build.js* \ No newline at end of file diff --git a/package.json b/package.json index ae6821c..c0950f5 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,7 @@ "node": "8.7.0" }, "scripts": { - "build": "NODE_ENV=production webpack --config ./webpack.config.js --progress --colors", - "start": "node ./server.js" + "heroku-postbuild": "NODE_ENV=production webpack --config ./webpack.config.js --progress --colors" }, "dependencies": { "aws-sdk": "^2.138.0", -- cgit v1.3.1