@@ -32,7 +32,7 @@ |
||
| 32 | 32 | 'errorEntry' => '', |
| 33 | 33 | // String to be appended to the cache key |
| 34 | 34 | 'cacheKeySuffix' => '', |
| 35 | - // Manifest file names |
|
| 35 | + // Manifest file names |
|
| 36 | 36 | 'manifest' => [ |
| 37 | 37 | 'legacy' => 'manifest-legacy.json', |
| 38 | 38 | 'modern' => 'manifest.json', |
@@ -106,7 +106,9 @@ |
||
| 106 | 106 | if (!empty($settings->errorEntry) && $settings->useDevServer) { |
| 107 | 107 | try { |
| 108 | 108 | $errorEntry = $settings->errorEntry; |
| 109 | - if (is_string($errorEntry)) $errorEntry = [$errorEntry]; |
|
| 109 | + if (is_string($errorEntry)) { |
|
| 110 | + $errorEntry = [$errorEntry]; |
|
| 111 | + } |
|
| 110 | 112 | foreach ($errorEntry as $entry) { |
| 111 | 113 | $tag = self::$plugin->manifest->getJsModuleTags($entry, false); |
| 112 | 114 | if ($tag !== null) { |