1.1.1 • Published 5 years ago
@efox/emp-cocos2d v1.1.1
EMP Cocos2d Config Plugin
Install
yarn add @efox/emp-cocos2d -Demp-config.jsconf:
const withCocos2d = require('@efox/emp-cocos2d')
module.exports = withCocos2d(
({ config, env, empEnv }) => {
// your options here
},
{
// creator server port
creatorPort: 7456,
// emp remotes url
empJs: [],
}
)