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.
pages
1 parent fb99079 commit a7fa191Copy full SHA for a7fa191
packages/@vue/cli-service/lib/options.js
@@ -11,9 +11,15 @@ const schema = createSchema(joi => joi.object({
11
productionSourceMap: joi.boolean(),
12
parallel: joi.boolean(),
13
devServer: joi.object(),
14
- pages: joi.object().pattern(/\w+/, joi.object().keys({
15
- entry: joi.string().required()
16
- }).unknown(true)),
+ pages: joi.object().pattern(
+ /\w+/,
+ joi.alternatives().try([
17
+ joi.string(),
18
+ joi.object().keys({
19
+ entry: joi.string().required()
20
+ }).unknown(true)
21
+ ])
22
+ ),
23
crossorigin: joi.string().valid(['', 'anonymous', 'use-credentials']),
24
integrity: joi.boolean(),
25
0 commit comments