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)/ } } ]