Skip to content

Commit 2ee285d

Browse files
committed
Tweak the path location
1 parent a9c88e8 commit 2ee285d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/tailwindcss.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
'build' => [
1515
'source_file_path' => resource_path('css/app.css'),
1616
'destination_file_path' => public_path('dist/css/app.css'),
17-
'manifest_file_path' => storage_path('app/tailwindcss-manifest.json'),
17+
'manifest_file_path' => public_path('tailwindcss/manifest.json'),
1818
],
1919

2020
/*

src/Commands/BuildCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function handle()
3434
$generatedFile = config('tailwindcss.build.destination_file_path');
3535
$generatedFileRelativePath = Str::after($generatedFile, rtrim(public_path(), '/'));
3636

37+
File::ensureDirectoryExists(dirname(Manifest::path()));
3738
File::ensureDirectoryExists(dirname($generatedFile));
3839
File::cleanDirectory(dirname($generatedFile));
3940

0 commit comments

Comments
 (0)