Skip to content

Commit d7f0f6f

Browse files
Kent C. Doddsjonathanglasmeyer
authored andcommitted
fix(recordsPath): records paths do not have to currently exist (#107)
1 parent 62c70f9 commit d7f0f6f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import resolveSchemaFn from './properties/resolve'
1111
import outputSchema from './properties/output'
1212
import watchOptionsSchema from './properties/watchOptions'
1313
import devServerSchema from './properties/devServer'
14-
import { absolutePath } from './types'
14+
import { looksLikeAbsolutePath } from './types'
1515
import _merge from 'lodash/merge'
1616
import sh from 'shelljs'
1717

@@ -37,9 +37,9 @@ const makeSchema = (schemaOptions, schemaExtension) => {
3737
output: outputSchema,
3838
plugins: pluginsSchema,
3939
profile: Joi.boolean(),
40-
recordsInputPath: absolutePath,
41-
recordsOutputPath: absolutePath,
42-
recordsPath: absolutePath,
40+
recordsInputPath: looksLikeAbsolutePath,
41+
recordsOutputPath: looksLikeAbsolutePath,
42+
recordsPath: looksLikeAbsolutePath,
4343
resolve: resolveSchema,
4444
resolveLoader: resolveSchema.concat(Joi.object({
4545
moduleTemplates: Joi.array().items(Joi.string()),

0 commit comments

Comments
 (0)