8000 [5.7] Update vue preset to exclude @babel/preset-react · laravel/framework@3061eba · GitHub
[go: up one dir, main page]

Skip to content

Commit 3061eba

Browse files
authored
[5.7] Update vue preset to exclude @babel/preset-react
Laravel Mix v3+ is using babel 7 which has a new name for this preset https://www.npmjs.com/package/@babel/preset-react
1 parent 8107fe1 commit 3061eba

File tree

1 file changed

+1
-1
lines changed
  • src/Illuminate/Foundation/Console/Presets

1 file changed

+1
-1
lines changed

src/Illuminate/Foundation/Console/Presets/Vue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static function install()
3131
protected static function updatePackageArray(array $packages)
3232
{
3333
return ['vue' => '^2.5.17'] + Arr::except($packages, [
34-
'babel-preset-react',
34+
'@babel/preset-react',
3535
'react',
3636
'react-dom',
3737
]);

0 commit comments

Comments
 (0)
0