Skip to content

Commit 0fd976e

Browse files
committed
Fix exports
Closes: #39
1 parent e4fd5b1 commit 0fd976e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dependencyInjection/framework.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const loadLibrary = (name, parent) => {
4444
api.fs.readFile(mod.fileName, 'utf8', (err, src) => {
4545
mod.script = api.vm.createScript(src, mod.fileName);
4646
mod.script.runInNewContext(mod.sandbox);
47-
mod.interface = mod.sandbox.exports;
47+
mod.interface = mod.sandbox.module.exports;
4848
api[name] = mod.interface;
4949
if (mod.config.api) {
5050
mod.config.api.forEach(item => {

0 commit comments

Comments
 (0)