You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 lines
1011 B

// ---------------------
// @Loading Dependencies
// ---------------------
const
manifest = require('./manifest');
// ------------------
// @DevServer Configs
// ------------------
/**
* [1] : To enable local network testing
*/
const devServer = {
contentBase : manifest.paths.src,
historyApiFallback : true,
port : process.env.PORT || 3000,
compress : false,
inline : true,
watchContentBase : !manifest.IS_PRODUCTION,
open : false,
hot : !manifest.IS_PRODUCTION,
host : '0.0.0.0',
disableHostCheck : true, // [1]
overlay : true,
stats: {
assets : true,
children : false,
chunks : false,
hash : false,
modules : false,
publicPath : false,
timings : true,
version : false,
warnings : true,
colors : true,
},
};
// -----------------
// @Exporting Module
// -----------------
module.exports = devServer;