Skip to content

Commit

Permalink
docs: 更新 cli-babel 文档
Browse files Browse the repository at this point in the history
  • Loading branch information
MBearo authored and otakustay committed Aug 3, 2023
1 parent 2883bd8 commit b4c85b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions site/docs/cli/babel.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ title: 单独编译JavaScript
## 参数

```
--mode [value] 设置构建的环境模式,可以为development或production,默认为production
--no-polyfill 在编译时不引入core-js的polyfill
--out [directory] 输出的目录,只能指定目录,编译的文件按目录结构输出到目标内
--clean 在编译前删除目标目录中的全部内容
--copy 将非JavaScript和TypeScript的文件原样复制到输出目录中
-h, --help 显示帮助信息
--mode [value] 设置构建的环境模式,可以为development或production,默认为production
--no-polyfill 在编译时不引入core-js的polyfill
--out-dir [directory] 输出的目录,只能指定目录,编译的文件按目录结构输出到目标内
--clean 在编译前删除目标目录中的全部内容
--copy 将非JavaScript和TypeScript的文件原样复制到输出目录中
-h, --help 显示帮助信息
```

## 调试文件编译
Expand Down

1 comment on commit b4c85b8

@vercel
Copy link

@vercel vercel bot commented on b4c85b8 Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

reskript – ./

reskript.vercel.app
reskript-ecomfe.vercel.app
reskript.dev
reskript-git-master-ecomfe.vercel.app

Please sign in to comment.