- Invalid use of destructuring
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/20178 Differential Revision: D8860733 Pulled By: TheSavior fbshipit-source-id: ec4aa3050755652106dec9ea245394314c862e97
This commit is contained in:
parent
e9e20e6c83
commit
9d5bd50737
|
@ -41,10 +41,12 @@ module.exports = {
|
|||
// node specific transforms only
|
||||
return babelTransformSync(
|
||||
src,
|
||||
Object.assign(
|
||||
{filename: file},
|
||||
{sourceType: 'script', ...nodeOptions, ast: false},
|
||||
),
|
||||
{
|
||||
filename: file,
|
||||
sourceType: 'script',
|
||||
...nodeOptions,
|
||||
ast: false
|
||||
},
|
||||
).code;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue