mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-08-16 18:10:33 +03:00
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:
parent
e9fe2a5e7c
commit
2eeaf722a4
@ -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 = [];
|
||||
|
Loading…
Reference in New Issue
Block a user