mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 05:05:27 -05:00
9 lines
234 B
JavaScript
9 lines
234 B
JavaScript
const SandboxedModule = require('sandboxed-module')
|
|
|
|
SandboxedModule.configure({
|
|
requires: {
|
|
'logger-sharelatex': { log() {} },
|
|
'@overleaf/metrics': { timeAsyncMethod() {} },
|
|
},
|
|
globals: { Buffer, console, process },
|
|
})
|