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 a5f6fcc commit f507e43Copy full SHA for f507e43
src/Illuminate/Foundation/Vite.php
@@ -175,6 +175,20 @@ public function withEntryPoints($entryPoints)
175
return $this;
176
}
177
178
+ /**
179
+ * Merge additional Vite entry points with the current set.
180
+ *
181
+ * @param array $entryPoints
182
+ * @return $this
183
+ */
184
+ public function mergeEntryPoints($entryPoints)
185
+ {
186
+ return $this->withEntryPoints(array_unique([
187
+ ...$this->entryPoints,
188
+ ...$entryPoints,
189
+ ]));
190
+ }
191
+
192
/**
193
* Set the filename for the manifest file.
194
*
0 commit comments