mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-01 18:39:34 +01:00
fix: allow node core modules in developer mode
This commit is contained in:
parent
3cb15fc001
commit
c2045c7ad0
@ -120,6 +120,7 @@ class ScriptRuntime {
|
||||
sandbox: context,
|
||||
require: {
|
||||
context: 'sandbox',
|
||||
builtin: [ "*" ],
|
||||
external: true,
|
||||
root: [collectionPath, ...additionalContextRootsAbsolute],
|
||||
mock: {
|
||||
@ -246,6 +247,7 @@ class ScriptRuntime {
|
||||
sandbox: context,
|
||||
require: {
|
||||
context: 'sandbox',
|
||||
builtin: [ "*" ],
|
||||
external: true,
|
||||
root: [collectionPath],
|
||||
mock: {
|
||||
|
Loading…
Reference in New Issue
Block a user