text: const { extend } = require("lodash");
  const { join } = require("path");
  let config = {
      "viewDir": join(__dirname, "..", "views"),
      "staticDir": join(__dirname, "..", "assets")
  }
  if (process.env.NODE_ENV == "development") {
      const localConfig = {
          port: 8082,
          baseUrl: "http://192.168.31.22/basic/web/index.php?r="
      }
      config = extend(config, localConfig);
  }
  if (process.env.NODE_ENV == "production") {
      const prodConfig = {
          port: 80
      }
      config = extend(config, prodConfig);
  }
  module.exports = config;