const yoBase = require('./yo.base.conf.js'); const yo = require('yo-cli'); module.exports = yo(yoBase) .dev({ port: 8888, hot: true, historyApiFallback: true, proxy: { '/api': 'http://localhost:8887' } }) .run();