diff --git a/src/Console/InstallCommand.php b/src/Console/InstallCommand.php index 29ba12699..1b931a8c2 100644 --- a/src/Console/InstallCommand.php +++ b/src/Console/InstallCommand.php @@ -86,7 +86,6 @@ public function handle() // Tailwind / Webpack... copy(__DIR__.'/../../stubs/default/tailwind.config.js', base_path('tailwind.config.js')); copy(__DIR__.'/../../stubs/default/webpack.mix.js', base_path('webpack.mix.js')); - copy(__DIR__.'/../../stubs/default/webpack.config.js', base_path('webpack.config.js')); copy(__DIR__.'/../../stubs/default/resources/css/app.css', resource_path('css/app.css')); copy(__DIR__.'/../../stubs/default/resources/js/app.js', resource_path('js/app.js')); @@ -160,6 +159,7 @@ protected function installInertiaStack() // Tailwind / Webpack... copy(__DIR__.'/../../stubs/inertia/tailwind.config.js', base_path('tailwind.config.js')); copy(__DIR__.'/../../stubs/inertia/webpack.mix.js', base_path('webpack.mix.js')); + copy(__DIR__.'/../../stubs/inertia/webpack.config.js', base_path('webpack.config.js')); copy(__DIR__.'/../../stubs/inertia/resources/css/app.css', resource_path('css/app.css')); copy(__DIR__.'/../../stubs/inertia/resources/js/app.js', resource_path('js/app.js'));