react-hackathon-board
Version:
Hackathon board with React/node/mongo
22 lines (21 loc) • 527 B
JavaScript
/* eslint key-spacing:0 */
export default (config) => ({
compiler_fail_on_warning : false,
compiler_hash_type : 'chunkhash',
compiler_devtool : null,
compiler_stats : {
chunks : true,
chunkModules : true,
colors : true
},
//compiler_public_path: '/',
compiler_public_path: `http://${config.server_host}:${config.server_port}`,
proxy: {
enabled: false,
options: {
// koa-proxy options
host: 'http://localhost:8000',
match: /^\/api\/.*/
}
}
});