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.
2 parents e1963a0 + 026531a commit cabeff1Copy full SHA for cabeff1
src/templates-worker.ts
@@ -38,7 +38,8 @@ export class TemplatesWorker {
38
const originalTemplatesPath = config.modular
39
? modularTemplatesPath
40
: defaultTemplatesPath;
41
- const customTemplatesPath = path.resolve(process.cwd(), config.templates);
+ const customTemplatesPath =
42
+ config.templates && path.resolve(process.cwd(), config.templates);
43
44
return {
45
/** `templates/base` */
0 commit comments