Skip to content

Commit

Permalink
docs: 更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Jan 7, 2020
1 parent 0687e78 commit 08a34d3
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions docs/config-detail.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,26 +274,6 @@ copy: {

专属于小程序的配置。

### mini.compile

小程序编译过程的相关配置。

#### mini.compile.compressTemplate

决定小程序打包时是否需要压缩 wxml

#### mini.compile.exclude

配置小程序编译过程中排除不需要经过 Taro 编译的文件,数组类型,写文件路径,文件路径必须以源码所在 `src` 目录开头:

```jsx
mini: {
compile: {
exclude: ['src/components/ec-canvas/echarts.js']
}
}
```

### mini.webpackChain

自定义 Webpack 配置,接受函数形式的配置。
Expand Down

0 comments on commit 08a34d3

Please sign in to comment.