Skip to content

Commit 221f0d1

Browse files
author
Jovert Lota Palonpon
committed
[Deployment] Ignore distributed assets by default
1 parent 7467709 commit 221f0d1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
public/assets.json
2+
public/service-worker.js
3+
public/fonts/*
4+
public/img/*
5+
public/css/*
6+
public/js/*
17
.php_cs.cache
28
dump.sql
39
nginx.conf

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"watch": "npm run development -- --watch",
88
"watch-poll": "npm run development -- --watch-poll",
99
"prod": "npm run production",
10-
"production": "node_modules/.bin/webpack --env.NODE_ENV=production --no-progress --hide-modules --colors"
10+
"production": "node_modules/.bin/webpack --env.NODE_ENV=production --no-progress --hide-modules --colors",
11+
"heroku-postbuild": "npm run prod"
1112
},
1213
"dependencies": {
1314
"@babel/runtime": "^7.3.1",

0 commit comments

Comments
 (0)