Skip to content

Commit

Permalink
Merge pull request #9 from ipimpat/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ipimpat authored May 22, 2023
2 parents 58869c7 + de1b648 commit 9031a83
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,16 @@ protected function install(): void
(new Filesystem)->delete(base_path('tailwind.config.js'));
}

// Remove postcss configuration...
if ((new Filesystem)->exists(base_path('postcss.config.js'))) {
(new Filesystem)->delete(base_path('postcss.config.js'));
}

// Remove CSS directory
(new Filesystem)->deleteDirectory(resource_path('css'));

// Build configurations..
copy(__DIR__.'/../../stubs/postcss.config.js', base_path('postcss.config.js'));
copy(__DIR__.'/../../stubs/postcss.config.cjs', base_path('postcss.config.cjs'));
copy(__DIR__.'/../../stubs/vite.config.js', base_path('vite.config.js'));

// Blade views...
Expand Down

0 comments on commit 9031a83

Please sign in to comment.