mirror of
https://github.com/filamentphp/plugin-skeleton.git
synced 2025-12-06 13:38:53 +08:00
fix replace in file for theme package.json
This commit is contained in:
@@ -322,9 +322,7 @@ function setupPackageJsonForTheme(): void
|
||||
'prettier-plugin-tailwindcss',
|
||||
], 'devDependencies');
|
||||
|
||||
$newData = json_decode(file_get_contents(__DIR__ . '/package.json'), true);
|
||||
|
||||
replaceInFile($newData, [
|
||||
replaceInFile(__DIR__ . '/package.json', [
|
||||
'dev:styles' => 'dev',
|
||||
'build:styles' => 'build',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user