Skip to content

Instantly share code, notes, and snippets.

@bceskavich
Created October 6, 2015 02:59
Show Gist options
  • Save bceskavich/c0131f8c25106dc07852 to your computer and use it in GitHub Desktop.
Save bceskavich/c0131f8c25106dc07852 to your computer and use it in GitHub Desktop.
config/default.js
var path = require('path');
module.exports = {
env: (process.env.NODE_ENV || 'development'),
webpackServer: {
port: (process.env.WEBPACK_PORT || 8888)
},
server: {
port: (process.env.PORT || 5000)
},
webpack: {
output: {
path: path.join(__dirname, '../build/assets'),
htmlPath: 'index.html'
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment