const path = require('path'); module.exports = { //webpack配置 webpackOptions: { port: 9897, entry: path.resolve(__dirname, './examples/common/index.jsx'), entryHtml: path.resolve(__dirname, './examples/common/index.html'), }, };