Skip to content

Commit

Permalink
Merge pull request #6 from ayhansipahi/master
Browse files Browse the repository at this point in the history
Several development improvements
  • Loading branch information
ericalli authored Jan 11, 2019
2 parents 3df5174 + b599a76 commit 5c9e63d
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 81 deletions.
2 changes: 1 addition & 1 deletion config/site.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const config = {
dev_host: 'localhost',

// Local development port
port: 8000,
port: process.env.PORT || 8000,

// Advanced configuration, edit with caution!
env: process.env.NODE_ENV,
Expand Down
2 changes: 1 addition & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
},
mode: ['production', 'development'].includes(config.env)
? config.env
: 'production',
: 'development',
devtool: 'cheap-eval-source-map',
devServer: {
contentBase: path.join(config.root, config.paths.src),
Expand Down
150 changes: 72 additions & 78 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@
"normalize.css": "^8.0.1",
"reset-css": "^4.0.1",
"sanitize.css": "^8.0.0",
"webpack-dev-server": "^3.1.10"
"webpack-dev-server": "^3.1.14"
}
}

0 comments on commit 5c9e63d

Please sign in to comment.