Skip to content

Instantly share code, notes, and snippets.

@bceskavich
Created October 6, 2015 03:00
Show Gist options
  • Save bceskavich/cdc089be8fc9b6b126f0 to your computer and use it in GitHub Desktop.
Save bceskavich/cdc089be8fc9b6b126f0 to your computer and use it in GitHub Desktop.
config/production.js
var path = require(‘path’);
module.exports = {
env: (process.env.NODE_ENV || ‘development’),
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