File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 3939 | @see https://github.com/tailwindlabs/tailwindcss/releases to know the version availables.
4040 |
4141 */
42- 'version ' => env ('TAILWINDCSS_CLI_VERSION ' , 'v3.3.2 ' ),
42+ 'version ' => env ('TAILWINDCSS_CLI_VERSION ' , 'v3.3.5 ' ),
4343];
Original file line number Diff line number Diff line change @@ -44,10 +44,12 @@ private function ensureTailwindConfigExists()
4444 to: base_path ('tailwind.config.js ' ),
4545 );
4646
47- $ this ->copyStubToAppIfMissing (
48- stub: __DIR__ . '/../../stubs/resources/css/app.css ' ,
49- to: resource_path ('css/app.css ' ),
50- );
47+ if (! File::exists ($ appCssFilePath = resource_path ('css/app.css ' )) || empty (trim (File::get ($ appCssFilePath )))) {
48+ $ this ->copyStubToApp (
49+ stub: __DIR__ . '/../../stubs/resources/css/app.css ' ,
50+ to: $ appCssFilePath ,
51+ );
52+ }
5153
5254 return self ::SUCCESS ;
5355 });
You can’t perform that action at this time.
0 commit comments