mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-08-16 18:10:33 +03:00
Adding lazyObjectsRuntime option to the Prepack Website
Summary: This addresses the issue https://github.com/facebook/prepack/issues/1282 although the issue also requests for --additionalFunctions option which is not part of this commit. User should now be able to see --lazyObjectsRuntime option in the options list on https://prepack.io/repl.html. Ideally this should be an enum but this will accept a freeform string in this revision. Closes https://github.com/facebook/prepack/pull/1475 Differential Revision: D7059756 Pulled By: phanipattapu fbshipit-source-id: 588f688a52e81d065cf19ac1fbd358a9332b81a0
This commit is contained in:
parent
b24de956ea
commit
2afe2c51f1
@ -44,6 +44,12 @@ var optionsConfig = [
|
||||
defaultVal: "browser",
|
||||
description: "The target environment for Prepack"
|
||||
},
|
||||
{
|
||||
type: "string",
|
||||
name: "lazyObjectsRuntime",
|
||||
defaultVal: "",
|
||||
description: "Enable lazy objects feature and specify the JS runtime that supports this feature."
|
||||
},
|
||||
{
|
||||
type: "boolean",
|
||||
name: "omitInvariants",
|
||||
|
Loading…
Reference in New Issue
Block a user