mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-08 14:02:09 +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,
|
sandbox: context,
|
||||||
require: {
|
require: {
|
||||||
context: 'sandbox',
|
context: 'sandbox',
|
||||||
|
builtin: [ "*" ],
|
||||||
external: true,
|
external: true,
|
||||||
root: [collectionPath, ...additionalContextRootsAbsolute],
|
root: [collectionPath, ...additionalContextRootsAbsolute],
|
||||||
mock: {
|
mock: {
|
||||||
@ -246,6 +247,7 @@ class ScriptRuntime {
|
|||||||
sandbox: context,
|
sandbox: context,
|
||||||
require: {
|
require: {
|
||||||
context: 'sandbox',
|
context: 'sandbox',
|
||||||
|
builtin: [ "*" ],
|
||||||
external: true,
|
external: true,
|
||||||
root: [collectionPath],
|
root: [collectionPath],
|
||||||
mock: {
|
mock: {
|
||||||
|
Loading…
Reference in New Issue
Block a user