From 5edafc09fa8afe1ce0bc71f76ee77ad48c750e28 Mon Sep 17 00:00:00 2001 From: defead Date: Wed, 15 Jan 2020 01:08:10 +0800 Subject: [PATCH] line 477 according to english version (#5081) '@vue/babel-preset-env' to '@vue/babel-preset-app' --- docs/zh/guide/browser-compatibility.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/guide/browser-compatibility.md b/docs/zh/guide/browser-compatibility.md index 098297ca53..cf6a77150a 100644 --- a/docs/zh/guide/browser-compatibility.md +++ b/docs/zh/guide/browser-compatibility.md @@ -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 应当是最终使用你的库的应用的责任。 ## 现代模式