Skip to content

Commit

Permalink
Copy webpack.config.js on inertia init (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverpool authored Feb 17, 2021
1 parent d66e1af commit f81d03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));

Expand Down Expand Up @@ -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'));

Expand Down

0 comments on commit f81d03c

Please sign in to comment.