Skip to content

Commit

Permalink
fix(cli): doctor 增加 h5.esnextModules 字段检测,close #4029
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Aug 1, 2019
1 parent 8a99dd4 commit 95a22d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/taro-cli/src/doctor/configSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ const schema = Joi.object().keys({
'chunkDirectory': Joi.string(),
'webpackChain': Joi.func(),

'esnextModules': Joi.array().items(Joi.string()),

// DEPRECATED: https://nervjs.github.io/taro/docs/config-detail.html#deprecated-h5webpack
'webpack': Joi.forbidden(),

Expand Down

0 comments on commit 95a22d4

Please sign in to comment.