From 6497df8b000a28c40c935f0b62d7272d04136345 Mon Sep 17 00:00:00 2001 From: Nicholas Lee Date: Sat, 25 Mar 2017 15:55:29 +0900 Subject: [PATCH] Update advanced.md refer to https://github.com/vuejs/vue-loader/pull/697 --- docs/zh-cn/configurations/advanced.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/zh-cn/configurations/advanced.md b/docs/zh-cn/configurations/advanced.md index 3484c20e7..0a51ae979 100644 --- a/docs/zh-cn/configurations/advanced.md +++ b/docs/zh-cn/configurations/advanced.md @@ -45,6 +45,11 @@ module.exports = { postLoaders: { html: 'babel-loader' } + +          // `excludedPreLoaders` 的内容是正则表达式 +          // 你可以用来从 Loader chain 上剔除那些你不需要 vue-loader 处理的 preloader +          // 最常用的就是各种 lint +          excludedPreLoaders: /(eslint-loader)/ } } ]