We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4218f07 commit 1e6b931Copy full SHA for 1e6b931
.npmignore
@@ -16,9 +16,7 @@ alfa
16
.babel*
17
.browserslistrc
18
.eslint*
19
-babel.config.js
20
-jest.config.js
21
-rollup.config.js
+*.config.js
22
23
# misc
24
.DS_Store
src/vm.js
@@ -16,7 +16,9 @@ export default class VM {
call.cb(data.error, data.result)
}
})
- this._plugin = this._call('plugin', this.options.plugins)
+ this._plugin = this.options.plugins.length
+ ? this._call('plugin', this.options.plugins)
+ : Promise.resolve()
_call(fn, ...args) {
0 commit comments