Skip to content

Commit

Permalink
add english docs and chinese docs
Browse files Browse the repository at this point in the history
  • Loading branch information
beautifulBoys committed Oct 24, 2017
1 parent d64acff commit a1b410f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# webpack-replace-loader
> 一个 webpack 打包时用来替换字符串的 webpack-loader 。
[中文文档](https://github.com/beautifulBoys/webpack-replace-loader)   [English document](https://github.com/beautifulBoys/webpack-replace-loader/tree/master/docs)

## 使用场景举例
1 . 在使用 webpack 项目打包的时候,用来将开发环境的请求 URL 替换为 生产环境的 URL 。

Expand Down
4 changes: 3 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# webpack-replace-loader
> A Webpack loader for replacing strings 。
[中文文档](https://github.com/beautifulBoys/webpack-replace-loader)   [English document](https://github.com/beautifulBoys/webpack-replace-loader/tree/master/docs)

## Examples of use scenarios
1 . When the webpack project is packaged, it replaces the request URL of the development environment to the URL of the production environment.

Expand Down Expand Up @@ -156,7 +158,7 @@ replaced:
</div>
```

## 说明
## Last
After 1.2 version, all character escape has been included, but not limited to the following circumstances can be replaced.
```js
search: '<a class__';
Expand Down

0 comments on commit a1b410f

Please sign in to comment.