Skip to content

Commit

Permalink
line 477 according to english version (#5081)
Browse files Browse the repository at this point in the history
'@vue/babel-preset-env' to '@vue/babel-preset-app'
  • Loading branch information
defead authored and NataliaTepluhina committed Jan 14, 2020
1 parent b5dedc1 commit 5edafc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/zh/guide/browser-compatibility.md
Expand Up @@ -44,7 +44,7 @@

### 构建库或是 Web Component 时的 Polyfills

当使用 Vue CLI 来[构建一个库或是 Web Component](./build-targets.md) 时,推荐给 `@vue/babel-preset-env` 传入 `useBuiltIns: false` 选项。这能够确保你的库或是组件不包含不必要的 polyfills。通常来说,打包 polyfills 应当是最终使用你的库的应用的责任。
当使用 Vue CLI 来[构建一个库或是 Web Component](./build-targets.md) 时,推荐给 `@vue/babel-preset-app` 传入 `useBuiltIns: false` 选项。这能够确保你的库或是组件不包含不必要的 polyfills。通常来说,打包 polyfills 应当是最终使用你的库的应用的责任。

## 现代模式

Expand Down

0 comments on commit 5edafc0

Please sign in to comment.