Add functionExternalModules to settings and default to false

This commit is contained in:
Nick O'Leary
2021-03-01 18:24:16 +00:00
parent d5f4f987f2
commit c3adc956d7
3 changed files with 7 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ module.exports = {
// Timeout in milliseconds for HTTP request connections
// defaults to 120 seconds
//httpRequestTimeout: 120000,
// Maximum buffer size for the exec node
// defaults to 10Mb
//execMaxBufferSize: 10000000,
@@ -243,6 +243,10 @@ module.exports = {
// jfive:require("johnny-five"),
// j5board:require("johnny-five").Board({repl:false})
},
// Allow the Function node to load additional npm modules
functionExternalModules: false,
// `global.keys()` returns a list of all properties set in global context.
// This allows them to be displayed in the Context Sidebar within the editor.
// In some circumstances it is not desirable to expose them to the editor. The