@uniorg/localneo
Version:
Run your SAP-WebIDE based applications locally using the neo-app.json as a web server config.
13 lines (10 loc) • 319 B
JavaScript
const SapUI5Service = require('./service/SapUI5.js')
class ServiceFactory {
static create ({ name, entryPath }, { localPath }, serviceConfig) {
switch (name) {
case 'sapui5':
return new SapUI5Service({ remotePath: entryPath, localPath, serviceConfig })
}
}
}
module.exports = ServiceFactory