Support configuration file with ".js" format
micooz opened this issue · comments
Micooz Lee commented
Consider that comments are not allowed in .json
, .js
should be a better choice to store configurations with detailed comments:
// config.js
module.exports = {
// comment anywhere
"host": "localhost",
"port": 5555,
...
};