diff --git a/src/Assets/ViteCompiler.php b/src/Assets/ViteCompiler.php index 9d4b934..dae030d 100644 --- a/src/Assets/ViteCompiler.php +++ b/src/Assets/ViteCompiler.php @@ -151,11 +151,14 @@ public function enqueueAssets(): void } add_filter('script_loader_tag', function ($tag, $handle) { - if (in_array($handle, ['vite-client', $this->handle], true)) { - $tag = str_replace('