Skip to content

Commit

Permalink
docs: add shorter usage
Browse files Browse the repository at this point in the history
  • Loading branch information
9aoy committed Jul 30, 2024
1 parent 052e8b9 commit ac49a49
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website/docs/en/guide/advanced/environments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ rsbuild dev --environment web

# Build for the web and ssr environments
rsbuild dev --environment web --environment node

# Build multiple environments can be shortened to:
rsbuild dev --environment web,node
```

## Add plugins for specified environment
Expand Down
3 changes: 3 additions & 0 deletions website/docs/zh/guide/advanced/environments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ rsbuild dev --environment web

# 构建 web 和 ssr 环境
rsbuild dev --environment web --environment node

# 构建多个环境可以简写为:
rsbuild dev --environment web,node
```

## 为指定环境添加插件
Expand Down

0 comments on commit ac49a49

Please sign in to comment.