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 9c91b0b commit 0a84a23Copy full SHA for 0a84a23
src/index.js
@@ -26,12 +26,13 @@ module.exports = function(api, vueConfig) {
26
return finalWebpackConfig;
27
});
28
29
+ // 修改补充一些默认值
30
+ chainConfig(api, vueConfig, _mapi);
31
+
32
// 修改默认配置
33
const newVueConfig = _mapi.applyPluginHooks('modifyVueConfig', vueConfig);
34
Object.assign(vueConfig, newVueConfig || {});
35
- chainConfig(api, vueConfig, _mapi);
-
36
// 覆盖逻辑
37
const _service = api.service;
38
if (_service) {
0 commit comments