text: 'use strict'
  
  // If your port is set to 80,
  // use administrator privileges to execute the command line.
  // For example, Mac: sudo npm run
  // You can change the port by the following methods:
  // port = 9528 npm run dev OR npm run dev --port = 9528
  const port = process.env.port || process.env.npm_config_port || 9528 // dev port
  
  module.exports = {
    publicPath: '/',
    outputDir: 'dist',
    devServer: {
      port: port, // 端口号
      open: true,
      overlay: {
        warnings: true,
        errors: true
      }
    }
  }