Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add shorter usage
Browse files Browse the repository at this point in the history
9aoy committed Jul 30, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 052e8b9 commit ac49a49
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
@@ -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
3 changes: 3 additions & 0 deletions website/docs/zh/guide/advanced/environments.mdx
Original file line number Diff line number Diff line change
@@ -113,6 +113,9 @@ rsbuild dev --environment web

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

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

## 为指定环境添加插件

0 comments on commit ac49a49

Please sign in to comment.