node-eval
node-eval copied to clipboard
Usage with path and globals, but without context
This doesn't work,
const foo = require_eval(body, walkTemplatePath, true).bar
… but this does:
const foo = require_eval(body, walkTemplatePath, {}, true).bar