From 29c7deb6562a09a120e63d81d53f3c5fa412b7f7 Mon Sep 17 00:00:00 2001 From: Benny Halim Date: Tue, 13 Feb 2018 01:19:39 +0700 Subject: [PATCH] update react preset to latest version (#23134) --- src/Illuminate/Foundation/Console/Presets/React.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Illuminate/Foundation/Console/Presets/React.php b/src/Illuminate/Foundation/Console/Presets/React.php index 8ecdeeada17d..347de5fa1580 100644 --- a/src/Illuminate/Foundation/Console/Presets/React.php +++ b/src/Illuminate/Foundation/Console/Presets/React.php @@ -32,8 +32,8 @@ protected static function updatePackageArray(array $packages) { return [ 'babel-preset-react' => '^6.23.0', - 'react' => '^15.4.2', - 'react-dom' => '^15.4.2', + 'react' => '^16.2.0', + 'react-dom' => '^16.2.0', ] + Arr::except($packages, ['vue']); }