config.js 593 B

12345678910111213141516171819202122232425
  1. const path = require('path')
  2. const join = dir => path.join(__dirname, '..', dir)
  3. module.exports = {
  4. port: 9529,
  5. publicPath: '/',
  6. srcPath: join('examples/'),
  7. distPath: join('examples/dist'),
  8. appJs: join('examples/index.js'),
  9. appHtml: join('examples/index.html'),
  10. defineEnv: {
  11. development: {
  12. SYSTEM_NAME: '"product"',
  13. NODE_ENV: '"development"',
  14. MAIN_URL: '"http://localhost:8800"',
  15. API_URL: {
  16. default: '"https://manage.dev.caihongxingqiu.com/"',
  17. upload: '"https://manage.dev.caihongxingqiu.com/config/upload"',
  18. },
  19. },
  20. },
  21. }