Skip to content

Commit 0d048d8

Browse files
committed
Allow different separators (even if help mention commas)
1 parent 0a9d6d8 commit 0d048d8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

react-native.config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ const generateBootSplash = {
1010
parse: (value) =>
1111
value
1212
.toLowerCase()
13-
.split(",")
14-
.map((platform) => platform.trim()),
13+
.split(/[ ,;|]/)
14+
.map((platform) => platform.trim())
15+
.filter((platform) => platform !== ""),
1516
},
1617
{
1718
name: "--background <string>",

0 commit comments

Comments
 (0)