Skip to content

Commit 22b709b

Browse files
author
guchengwei
committed
format md style
1 parent 9ccf662 commit 22b709b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ mpvueSimple.build() // => Promise
3939
## changelog
4040
#### `1.0.18`
4141

42-
- 加入可选配置项 `output.external`,通过在webpack中增加external属性的方式,可以在打包的时候移除公共模块的引入,从而减小包大小。
42+
- 加入可选配置项 `externals`,通过在webpack中增加external属性的方式,可以在打包的时候移除公共模块的引入,从而减小包大小。
4343

4444
在构建脚本中进行如下定义:
4545

4646
```javascript
4747
mpvueSimple.build({
48-
externals: {
48+
externals: {
4949
sdk: 'require("../../../../sdk")', // 公共模块的相对路径
5050
},
5151
})

0 commit comments

Comments
 (0)