Skip to content

Commit b23c8dd

Browse files
committed
fix(project-template): paths should be relatively from src
1 parent 625929c commit b23c8dd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lib/commands/new/project-template.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,11 @@ exports.ProjectTemplate = class {
248248

249249
this.model.paths = Object.assign(this.model.paths, {
250250
root: appRoot,
251-
resources: this.resources.calculateRelativePath(this.root),
252-
elements: this.elements.calculateRelativePath(this.root),
253-
attributes: this.attributes.calculateRelativePath(this.root),
254-
valueConverters: this.valueConverters.calculateRelativePath(this.root),
255-
bindingBehaviors: this.bindingBehaviors.calculateRelativePath(this.root)
251+
resources: this.resources.calculateRelativePath(this.src),
252+
elements: this.elements.calculateRelativePath(this.src),
253+
attributes: this.attributes.calculateRelativePath(this.src),
254+
valueConverters: this.valueConverters.calculateRelativePath(this.src),
255+
bindingBehaviors: this.bindingBehaviors.calculateRelativePath(this.src)
256256
});
257257

258258
this.model.transpiler.source = path.posix.join(appRoot, '**/*' + this.model.transpiler.fileExtension);

0 commit comments

Comments
 (0)