From e45f3250b63e4d73690d71eac870fce9457f9c74 Mon Sep 17 00:00:00 2001 From: Danny Yang Date: Wed, 6 May 2026 22:56:19 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 54c0e16f..656687f1 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,10 @@ and add `@rescript/webapi` to your `rescript.json`: ```json { - "bs-dependencies": [ -+ "@rescript/webapi", + "dependencies": [ ++ "@rescript/webapi" ], - "bsc-flags": [ + "compiler-flags": [ + "-open WebAPI.Global" ] } From 86f38dcfb6adcdf6e6f320464c342368bef41d2f Mon Sep 17 00:00:00 2001 From: Danny Yang Date: Wed, 6 May 2026 22:57:58 -0400 Subject: [PATCH 2/2] Update index.mdx --- docs/content/docs/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/docs/index.mdx b/docs/content/docs/index.mdx index 20b01cf8..ddbbc0c6 100644 --- a/docs/content/docs/index.mdx +++ b/docs/content/docs/index.mdx @@ -38,10 +38,10 @@ and add `@rescript/webapi` to your `rescript.json`: export const rescriptJson = ` { - "bs-dependencies": [ - "@rescript/webapi", + "dependencies": [ + "@rescript/webapi" ], - "bsc-flags": [ + "compiler-flags": [ "-open WebAPI.Global" ] }