Skip to content

Commit fd50c09

Browse files
authored
docs: update README (#234)
1 parent 14a5214 commit fd50c09

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README-zh_CN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ dt-sql-parser 是一个基于 [ANTLR4](https://github.com/antlr/antlr4) 开发
4444
## 与 MonacoEditor 集成
4545
我们提供了[monaco-sql-languages](https://github.com/DTStack/monaco-sql-languages),通过它你可以轻易的将`dt-sql-parser``monaco-editor`集成。
4646

47+
>提示:如果想要在浏览器中运行 `dt-sql-parser`,请不要忘记安装 `assert``util` 的 polyfills 包,另外还需要定义全局变量 `process.env`。 在 node 环境中则不需要,因为 node 内置了这些。
48+
4749
<br/>
4850

4951
## 安装

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ Additionally, it provides auxiliary functions such as **SQL splitting** and **co
4747

4848
We have provided [monaco-sql-languages](https://github.com/DTStack/monaco-sql-languages), it is easily to integrate with `monaco-editor`.
4949

50+
>Tips: If you want to run `dt-sql-parser` in browser, don't forget to install the `assert` and `util` polyfills, and define the global variable `process.env`.
51+
None of this is needed in the node environment, because node has them built-in.
52+
5053
<br/>
5154

5255
## Installation

0 commit comments

Comments
 (0)