ws feature-list

This commit is contained in:
Lloyd Brookes
2017-05-23 11:35:31 +01:00
parent 07294f3cbc
commit 1ef1813ea9
2 changed files with 26 additions and 1 deletions

View File

@ -27,8 +27,11 @@ class LocalWebServer extends Lws {
'lws-index'
]
const moduleDir = path.resolve(__dirname, `../node_modules`)
options = Object.assign({ stack, 'module-dir': moduleDir, prefix: 'lws-' }, options)
options = Object.assign({ stack, 'module-dir': moduleDir, 'module-prefix': 'lws-' }, options)
super(options)
/* add command */
this.commands.set('feature-list', require('./feature-list'))
}
getVersion () {