Skip to content

Commit 5d49d57

Browse files
committed
fix: assetsDir can be an empty string
fixes #2511
1 parent bd06cd4 commit 5d49d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-service/lib/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { createSchema, validate } = require('@vue/cli-shared-utils')
33
const schema = createSchema(joi => joi.object({
44
baseUrl: joi.string().allow(''),
55
outputDir: joi.string(),
6-
assetsDir: joi.string(),
6+
assetsDir: joi.string().allow(''),
77
indexPath: joi.string(),
88
filenameHashing: joi.boolean(),
99
runtimeCompiler: joi.boolean(),

0 commit comments

Comments
 (0)