From 8b678bf9e947d5dd66a979d4eaf2b4c35ae76c29 Mon Sep 17 00:00:00 2001 From: Zeeshan <95434634+Zeshanxviii@users.noreply.github.com> Date: Fri, 13 Sep 2024 18:55:37 +0530 Subject: [PATCH] Update documentation README.md : Supported -browsers script (#8528) * update readme.md * update readme * Update readme --- .gitignore | 2 +- README.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d02d753ca3d..d8e2615c727 100644 --- a/.gitignore +++ b/.gitignore @@ -32,7 +32,7 @@ public/build-meta.json !.vscode/launch.json src/supportedBrowsers.ts -# Reason React +# Reason React /lib/bs/** .merlin *.bs.js diff --git a/README.md b/README.md index fd5328150f2..9fed52b00c0 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,12 @@ ```sh npm install ``` +#### Run the following command to generate the `supportedBrowsers.ts` file: + +```bash +npm run supported-browsers +``` +This script just generates regex expression for matching the list of compatible browsers, so that we can show a warning notification for unsupported browsers. #### 🏃 Run the app in development mode