File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ public function handle()
28
28
$ this ->installMiddleware ('\Tonysm\TailwindCss\Http\Middleware\AddLinkHeaderForPreloadedAssets::class ' );
29
29
$ this ->addIngoreLines ();
30
30
$ this ->runFirstBuild ();
31
- $ this ->removeUnusedFiles ();
32
31
33
32
$ this ->newLine ();
34
33
@@ -39,7 +38,7 @@ public function handle()
39
38
40
39
protected function phpBinary ()
41
40
{
42
- return (new PhpExecutableFinder () )->find (false ) ?: 'php ' ;
41
+ return (new PhpExecutableFinder )->find (false ) ?: 'php ' ;
43
42
}
44
43
45
44
private function ensureTailwindConfigExists ()
@@ -115,7 +114,7 @@ private function appendTailwindStylesToLayouts()
115
114
$ this ->existingLayoutFiles ()
116
115
->each (fn ($ file ) => File::put (
117
116
$ file ,
118
- (new AppendTailwindTag () )(File::get ($ file )),
117
+ (new AppendTailwindTag )(File::get ($ file )),
119
118
));
120
119
}
121
120
@@ -184,17 +183,6 @@ private function runFirstBuild()
184
183
});
185
184
}
186
185
187
- private function removeUnusedFiles ()
188
- {
189
- $ files = [
190
- base_path ('tailwind.config.js ' ),
191
- ];
192
-
193
- foreach ($ files as $ file ) {
194
- File::exists ($ file ) && File::delete ($ file );
195
- }
196
- }
197
-
198
186
private function mainCssIsDefault ($ appCssFilePath ): bool
199
187
{
200
188
return trim (File::get ($ appCssFilePath )) === trim (<<<'CSS'
You can’t perform that action at this time.
0 commit comments