From 865e7c7839660e6c920504e90cca8f43c1a6752c Mon Sep 17 00:00:00 2001 From: maka Date: Mon, 13 May 2019 16:26:13 +0800 Subject: [PATCH] Update detail on transpileDependencies [transpileDependencies option doesn't work #1552](https://github.com/vuejs/vue-cli/issues/1552#issuecomment-396674224) --- docs/zh/config/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/zh/config/README.md b/docs/zh/config/README.md index 74d500200e..5db4438dfd 100644 --- a/docs/zh/config/README.md +++ b/docs/zh/config/README.md @@ -184,7 +184,7 @@ module.exports = { - Type: `Array` - Default: `[]` - 默认情况下 `babel-loader` 会忽略所有 `node_modules` 中的文件。如果你想要通过 Babel 显式转译一个依赖,可以在这个选项中列出来。 + 默认情况下 `babel-loader` 会忽略所有 `node_modules` 中的文件。如果你想要通过 Babel 显式转译一个依赖,可以在这个选项中列出来。为了确保此选项生效,请使用 `babel.config.js` 替代 `.babelrc` 或者 `package.json` 中的 Babel 配置。参考:[transpileDependencies option doesn't work #1552](https://github.com/vuejs/vue-cli/issues/1552)。 ### productionSourceMap