Skip to content

Commit

Permalink
improve heroku deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa authored and pi0 committed Feb 2, 2018
1 parent 851548d commit 4ece5fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions example/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ module.exports = {
render: {
resourceHints: false
},
build: {
extractCSS: true
},
serverMiddleware: ['~/api/auth'],
auth: {
endpoints: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"access": "public"
},
"scripts": {
"heroku-postbuild": "yarn nuxt build example",
"start": "yarn nuxt start example",
"heroku-postbuild": "nuxt build example",
"start": "nuxt start example",
"dev": "nuxt example",
"lint": "eslint lib src test",
"lint-fix": "eslint --fix lib src test",
Expand Down

0 comments on commit 4ece5fa

Please sign in to comment.