mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-05-02 18:09:38 -05:00
fix: better error message for missing key entry in pages config
fixes #2816
This commit is contained in:
@@ -11,7 +11,9 @@ const schema = createSchema(joi => joi.object({
|
||||
productionSourceMap: joi.boolean(),
|
||||
parallel: joi.boolean(),
|
||||
devServer: joi.object(),
|
||||
pages: joi.object(),
|
||||
pages: joi.object().pattern(/\w+/, joi.object().keys({
|
||||
entry: joi.string().required()
|
||||
}).unknown(true)),
|
||||
crossorigin: joi.string().valid(['', 'anonymous', 'use-credentials']),
|
||||
integrity: joi.boolean(),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user