We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29073cc commit e10af6aCopy full SHA for e10af6a
README.md
@@ -11,6 +11,10 @@
11
12
## Usage
13
14
+Usage: `new WordpressViteAssets(string $manifestPath, string $baseUri)`
15
+
16
+**Example**
17
18
```php
19
use Idleberg\WordpressViteAssets\WordpressViteAssets;
20
src/WordpressViteAssets.php
@@ -95,7 +95,7 @@ public function getScriptTag(string $entry): string
95
*/
96
public function getStyleTags(string $entry): array
97
{
98
- return array_map(function ($url) {
+ return array_map(function($url) {
99
return "<link rel=\"stylesheet\" href=\"{$url['url']}\" crossorigin integrity=\"{$url['hash']}\" />";
100
}, $this->vm->getStyles($entry));
101
}
0 commit comments