Browse Source

Correct bundle generation command (#214)

Roj 3 năm trước cách đây
mục cha
commit
5ab0f2ad10
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -6,9 +6,9 @@ A Telegram client written in JavaScript for Node.js and browsers, with its core
 ### Obtaining your app ID and hash
 ### Obtaining your app ID and hash
 
 
 1. Follow [this link](https://my.telegram.org), and login with your phone number.
 1. Follow [this link](https://my.telegram.org), and login with your phone number.
-2. Click `API development tools`.
+2. Click "API development tools".
 3. Fill in your application details.
 3. Fill in your application details.
-   There is no need to enter any `URL`, and only the first two fields (app title and short name)
+   There is no need to enter any URL, and only the first two fields (app title and short name)
    can be modified later.
    can be modified later.
 4. Finally, click "Create application".
 4. Finally, click "Create application".
 
 
@@ -21,7 +21,7 @@ In browsers, GramJS will be using the `localStorage` to cache the layers.
 To get a browser bundle of GramJS, use the following command:
 To get a browser bundle of GramJS, use the following command:
 
 
 ```bash
 ```bash
-NODE_ENV=development npx webpack
+NODE_ENV=production npx webpack
 ```
 ```
 
 
 ## Using the raw API
 ## Using the raw API