diff --git a/src/bare.js b/src/bare.js index 0ff759cd..80ab628b 100644 --- a/src/bare.js +++ b/src/bare.js @@ -265,7 +265,7 @@ bare.onthread = exports._onthread.bind(exports) const Module = require('bare-module') const url = require('bare-url') -bare.exit = Bare.exit +bare.exit = exports.exit bare.load = function load (filename, source) { return Module.load(url.pathToFileURL(filename), source ? Buffer.from(source) : null)