upgrade deps.. test
This commit is contained in:
@ -2,9 +2,9 @@ const Lws = require('lws')
|
||||
const path = require('path')
|
||||
|
||||
class LocalWebServer extends Lws {
|
||||
constructor (options) {
|
||||
create (options) {
|
||||
options = Object.assign({
|
||||
moduleDir: path.resolve(__dirname, `../../node_modules`),
|
||||
moduleDir: path.resolve(__dirname, `../node_modules`),
|
||||
modulePrefix: 'lws-',
|
||||
stack: [
|
||||
'lws-log',
|
||||
@ -22,7 +22,7 @@ class LocalWebServer extends Lws {
|
||||
'lws-index'
|
||||
]
|
||||
}, options)
|
||||
super(options)
|
||||
return super.create(options)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user