Skip to content

Commit c046350

Browse files
committed
:fix: fix logic
1 parent 22270a3 commit c046350

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@
3838
},
3939
"license": "MIT",
4040
"peerDependencies": {
41-
"@micro-app/cli": ">=0.3.5",
41+
"@micro-app/cli": ">=0.3.6",
4242
"@micro-app/plugin-webpack": ">=0.0.6"
4343
},
4444
"devDependencies": {
45-
"@micro-app/plugin-deploy": "^0.0.5",
45+
"@micro-app/plugin-deploy": "^0.0.6",
4646
"@types/jest": "^24.9.1",
4747
"eslint-config-2o3t": "^2.0.1",
4848
"jest": "^24.9.0",
4949
"webpack": "^4.42.0"
5050
},
5151
"dependencies": {
52-
"@micro-app/cli": "^0.3.5",
52+
"@micro-app/cli": "^0.3.6",
5353
"@micro-app/plugin-webpack": "^0.0.6"
5454
}
5555
}

src/service/chainConfig.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
const { _, tryRequire } = require('@micro-app/shared-utils');
44

5+
// 以 vue-cli 配置为主
56
module.exports = function chainDefault(api, vueConfig, options, webpackConfig) {
6-
const webpackConfigAlias = webpackConfig.module.alias || {};
7+
const webpackConfigAlias = webpackConfig.resolve.alias || {};
78

89
[ // string
910
'publicPath',

0 commit comments

Comments
 (0)