mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-28 03:53:36 +00:00
10 lines
232 B
JavaScript
10 lines
232 B
JavaScript
|
const SandboxedModule = require('sandboxed-module')
|
||
|
|
||
|
SandboxedModule.configure({
|
||
|
requires: {
|
||
|
'logger-sharelatex': { log() {} },
|
||
|
'@overleaf/metrics': { timeAsyncMethod() {} }
|
||
|
},
|
||
|
globals: { Buffer, console, process }
|
||
|
})
|