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 b09cf83 commit f3d5db4Copy full SHA for f3d5db4
lib/Vite.php
@@ -165,7 +165,7 @@ public function css($entry = null, array $options = null): ?string {
165
*/
166
public function js($entry = null, $options = []): ?string {
167
$file = $this->isDev()
168
- ? $this->assetDev($entry)
+ ? $this->assetDev($entry ?? option('arnoson.kirby-vite.entry'))
169
: $this->assetProd($this->getManifestProperty($entry, 'file'));
170
171
if ( $this->isDev() || option('arnoson.kirby-vite.module')) {
0 commit comments