From c59bff60a6ad68103d555c49d91b2461c9d682c1 Mon Sep 17 00:00:00 2001 From: qiang Date: Sat, 3 Aug 2019 11:40:24 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BF=AE=E6=94=B9=20optimization=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/collocation/manifest.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/collocation/manifest.md b/docs/collocation/manifest.md index 4db499709..21990486e 100644 --- a/docs/collocation/manifest.md +++ b/docs/collocation/manifest.md @@ -269,7 +269,7 @@ Tips:`uni-app` 中 `manifest.json->h5->devServer` 实际上对应 `webpack` |属性|类型|默认值|说明| |:-|:-|:-|:-| |enable|Boolean|false|是否启用摇树优化| -|modules|Object||需要优化的API模块列表| +|modules|Object||使用到的API模块列表| **示例:** ```json @@ -281,7 +281,7 @@ Tips:`uni-app` 中 `manifest.json->h5->devServer` 实际上对应 `webpack` "name": "network", "title": "网络", "apiList": [ - "uni.request": true,//配置为true,表示将会使用此API,不会被优化 + "uni.request": true,//配置为true,表示将会使用此API,不会被优化(未配置的API默认值为true) "uni.downloadFile": false,//配置为false,经过扫描项目中未使用此API的话,打包的后将不包含此API ... ] -- GitLab