We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ccf662 commit 22b709bCopy full SHA for 22b709b
README.md
@@ -39,13 +39,13 @@ mpvueSimple.build() // => Promise
39
## changelog
40
#### `1.0.18`
41
42
-- 加入可选配置项 `output.external`,通过在webpack中增加external属性的方式,可以在打包的时候移除公共模块的引入,从而减小包大小。
+- 加入可选配置项 `externals`,通过在webpack中增加external属性的方式,可以在打包的时候移除公共模块的引入,从而减小包大小。
43
44
在构建脚本中进行如下定义:
45
46
```javascript
47
mpvueSimple.build({
48
- externals: {
+ externals: {
49
sdk: 'require("../../../../sdk")', // 公共模块的相对路径
50
},
51
})
0 commit comments