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 29a449d commit e206ba6Copy full SHA for e206ba6
scripts/sync.ts
@@ -7,4 +7,8 @@ const pkgs = ['base', 'ts', 'vue', 'vue2', 'react'];
7
8
const requestUrls = pkgs.map(item => requestUrl + (item ? `-${item}` : ''));
9
10
-await Promise.all(requestUrls.map(url => fetch(url)));
+async function fetchData() {
11
+ await Promise.all(requestUrls.map(url => fetch(url)));
12
+}
13
+
14
+fetchData();
0 commit comments