Add abstractEffectsInAdditionalFunctions to REPL

Summary:
Release notes: none

Add `abstractEffectsInAdditionalFunctions` to be `true` for the REPL so we can demo cool features :)
Closes https://github.com/facebook/prepack/pull/1591

Differential Revision: D7272579

Pulled By: trueadm

fbshipit-source-id: e91a2665b50150213d3656956c673ec1efc15971
This commit is contained in:
Dominic Gannaway 2018-03-14 09:10:39 -07:00 committed by Facebook Github Bot
parent e9fe2a5e7c
commit 2eeaf722a4

View File

@ -75,6 +75,12 @@ var optionsConfig = [
defaultVal: true,
description: "Removes Flow type annotations from the output."
},
{
type: "boolean",
name: "abstractEffectsInAdditionalFunctions",
defaultVal: true,
description: "Allows abstract effects in pure functions and React components."
},
];
var demos = [];