diff --git a/.gitignore b/.gitignore index 3806554..30ef955 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /vendor /.idea composer.lock +.phpcs* +.phpunit* diff --git a/src/Config/WebpackOptions.php b/src/Config/WebpackOptions.php index 0a11774..44a14db 100644 --- a/src/Config/WebpackOptions.php +++ b/src/Config/WebpackOptions.php @@ -104,7 +104,7 @@ public function getScriptListByRoute($routeMatched) } } // No matching route found, check if default is used - if ($this->routeNotFoundUseDefault) return $this->getScriptListByTemplate(); + if ($this->routeNotFoundUseDefault) return $this->getDefaultScriptList(); else return []; }