web-highlighter
Version:
✨A no-runtime dependency lib for text highlighting & persistence on any website ✨🖍️
17 lines (16 loc) • 393 B
JavaScript
const staticPath = require('./paths.js').staticPath;
const PORT = process.env.PORT || 8085;
const HOST = process.env.HOST || '0.0.0.0';
module.exports = {
disableHostCheck: true,
compress: true,
hot: true,
watchContentBase: true,
watchOptions: {
ignored: /node_modules/
},
host: HOST,
port: PORT,
contentBase: staticPath,
index: 'index.html'
};