File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 39
39
| @see https://github.com/tailwindlabs/tailwindcss/releases to know the version availables.
40
40
|
41
41
*/
42
- 'version ' => env ('TAILWINDCSS_CLI_VERSION ' , 'v3.3.2 ' ),
42
+ 'version ' => env ('TAILWINDCSS_CLI_VERSION ' , 'v3.3.5 ' ),
43
43
];
Original file line number Diff line number Diff line change @@ -44,10 +44,12 @@ private function ensureTailwindConfigExists()
44
44
to: base_path ('tailwind.config.js ' ),
45
45
);
46
46
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
+ }
51
53
52
54
return self ::SUCCESS ;
53
55
});
You can’t perform that action at this time.
0 commit comments