diff --git a/configure.php b/configure.php index e34cb39..70b4ccf 100644 --- a/configure.php +++ b/configure.php @@ -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', ]);