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 66047b2 commit 82eb49dCopy full SHA for 82eb49d
scripts/sync-playground-bundles.mjs
@@ -7,6 +7,8 @@ import * as stream from "node:stream/promises";
7
const bucketUrl = new URL("https://cdn.rescript-lang.org");
8
9
const bundlesDir = path.join(import.meta.dirname, "../public/playground-bundles");
10
+fs.mkdirSync(bundlesDir, { recursive: true });
11
+
12
const versions = await fetch(new URL("/playground-bundles/versions.json", bucketUrl))
13
.then(res => res.json());
14
0 commit comments